{
  "openapi": "3.1.0",
  "info": {
    "title": "onto2",
    "version": "registry 21",
    "description": "由注册表中的声明生成。读接口只读；一切写入经由动作。"
  },
  "servers": [
    {
      "url": "http://162-251-94-49.sslip.io"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/api/objects/ActiveAssignment": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "ActiveAssignment 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ActiveAssignment",
                "EndedAssignment"
              ]
            }
          },
          {
            "name": "task",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Task 的 TypeID"
            }
          },
          {
            "name": "assignee",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Person 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Assignment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ActiveAssignment/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "ActiveAssignment 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Assignment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Appointment": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "约定 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "day",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "AppointmentScheduled",
                "AppointmentCancelled"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Appointment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Appointment/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "约定 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Appointment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/AppointmentCancelled": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "取消了 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "day",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "AppointmentScheduled",
                "AppointmentCancelled"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Appointment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/AppointmentCancelled/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "取消了 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Appointment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/AppointmentScheduled": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "约着 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "day",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "AppointmentScheduled",
                "AppointmentCancelled"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Appointment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/AppointmentScheduled/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "约着 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Appointment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Assignee": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Assignee 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：email。role 视图，只读。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[^@]+@[^@]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Person"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Assignee/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Assignee 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Person"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Assignment": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Assignment 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ActiveAssignment",
                "EndedAssignment"
              ]
            }
          },
          {
            "name": "task",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Task 的 TypeID"
            }
          },
          {
            "name": "assignee",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Person 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Assignment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Assignment/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Assignment 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Assignment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CancelledTask": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "CancelledTask 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "due",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "normal",
                "low"
              ]
            }
          },
          {
            "name": "lifecycle",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "OpenTask",
                "DoneTask",
                "CancelledTask"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Task"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CancelledTask/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "CancelledTask 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Task"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Card": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "需求卡 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utterance",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "need",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reflectEveryDays",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reflectEveryCompletions",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "stage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardDraft",
                "CardFrozen",
                "CardDone",
                "CardSuperseded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Card"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Card/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "需求卡 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Card"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardDone": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已完成 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utterance",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "need",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reflectEveryDays",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reflectEveryCompletions",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "stage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardDraft",
                "CardFrozen",
                "CardDone",
                "CardSuperseded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Card"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardDone/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已完成 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Card"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardDraft": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等你确认 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utterance",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "need",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reflectEveryDays",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reflectEveryCompletions",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "stage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardDraft",
                "CardFrozen",
                "CardDone",
                "CardSuperseded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Card"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardDraft/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等你确认 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Card"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardFrozen": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已冻结 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utterance",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "need",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reflectEveryDays",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reflectEveryCompletions",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "stage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardDraft",
                "CardFrozen",
                "CardDone",
                "CardSuperseded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Card"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardFrozen/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已冻结 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Card"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLink": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "卡之间的关系 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "buildsOn",
                "dependsOn",
                "conflictsWith",
                "relatedTo"
              ]
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "linkState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardLinkActive",
                "CardLinkRemoved"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "other",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardLink"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLink/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "卡之间的关系 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardLink"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLinkActive": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "有效 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "buildsOn",
                "dependsOn",
                "conflictsWith",
                "relatedTo"
              ]
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "linkState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardLinkActive",
                "CardLinkRemoved"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "other",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardLink"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLinkActive/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "有效 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardLink"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLinkRemoved": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已撤销 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "buildsOn",
                "dependsOn",
                "conflictsWith",
                "relatedTo"
              ]
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "linkState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardLinkActive",
                "CardLinkRemoved"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "other",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardLink"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardLinkRemoved/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已撤销 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardLink"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardScope": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "涉及范围 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "plugin",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "element",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "note",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardScope"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardScope/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "涉及范围 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardScope"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardSuperseded": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已被替代 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utterance",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "need",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reflectEveryDays",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reflectEveryCompletions",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "stage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardDraft",
                "CardFrozen",
                "CardDone",
                "CardSuperseded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Card"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardSuperseded/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已被替代 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Card"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTask": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "卡上的任务 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mustSay",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "taste",
                "direction",
                "money",
                "irreversible"
              ]
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardTaskOpen",
                "CardTaskSubmitted",
                "CardTaskPassed",
                "CardTaskDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTask"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTask/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "卡上的任务 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardTask"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskDropped": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已作废 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mustSay",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "taste",
                "direction",
                "money",
                "irreversible"
              ]
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardTaskOpen",
                "CardTaskSubmitted",
                "CardTaskPassed",
                "CardTaskDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTask"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskDropped/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已作废 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardTask"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskOpen": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在做 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mustSay",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "taste",
                "direction",
                "money",
                "irreversible"
              ]
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardTaskOpen",
                "CardTaskSubmitted",
                "CardTaskPassed",
                "CardTaskDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTask"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskOpen/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在做 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardTask"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskPassed": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已通过 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mustSay",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "taste",
                "direction",
                "money",
                "irreversible"
              ]
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardTaskOpen",
                "CardTaskSubmitted",
                "CardTaskPassed",
                "CardTaskDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTask"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskPassed/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已通过 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardTask"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskSubmitted": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等你验收 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mustSay",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "taste",
                "direction",
                "money",
                "irreversible"
              ]
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "CardTaskOpen",
                "CardTaskSubmitted",
                "CardTaskPassed",
                "CardTaskDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTask"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/CardTaskSubmitted/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等你验收 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/CardTask"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatFailed": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "失败 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thread",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "ChatThread 的 TypeID"
            }
          },
          {
            "name": "text",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "opus",
                "sonnet",
                "haiku",
                "fable"
              ]
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          {
            "name": "reply",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claudeSession",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "replyState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ChatWaiting",
                "ChatReplying",
                "ChatReplied",
                "ChatFailed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatMessage"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatFailed/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "失败 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatMessage"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatMessage": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "消息 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thread",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "ChatThread 的 TypeID"
            }
          },
          {
            "name": "text",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "opus",
                "sonnet",
                "haiku",
                "fable"
              ]
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          {
            "name": "reply",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claudeSession",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "replyState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ChatWaiting",
                "ChatReplying",
                "ChatReplied",
                "ChatFailed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatMessage"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatMessage/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "消息 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatMessage"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatReplied": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "回完 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thread",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "ChatThread 的 TypeID"
            }
          },
          {
            "name": "text",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "opus",
                "sonnet",
                "haiku",
                "fable"
              ]
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          {
            "name": "reply",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claudeSession",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "replyState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ChatWaiting",
                "ChatReplying",
                "ChatReplied",
                "ChatFailed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatMessage"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatReplied/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "回完 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatMessage"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatReplying": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在回 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thread",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "ChatThread 的 TypeID"
            }
          },
          {
            "name": "text",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "opus",
                "sonnet",
                "haiku",
                "fable"
              ]
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          {
            "name": "reply",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claudeSession",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "replyState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ChatWaiting",
                "ChatReplying",
                "ChatReplied",
                "ChatFailed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatMessage"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatReplying/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在回 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatMessage"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatThread": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "对话 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatThread"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatThread/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "对话 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatThread"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatWaiting": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等回 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "thread",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "ChatThread 的 TypeID"
            }
          },
          {
            "name": "text",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "opus",
                "sonnet",
                "haiku",
                "fable"
              ]
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max"
              ]
            }
          },
          {
            "name": "reply",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claudeSession",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "replyState",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ChatWaiting",
                "ChatReplying",
                "ChatReplied",
                "ChatFailed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatMessage"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/ChatWaiting/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "等回 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/ChatMessage"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Dispatch": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "派活 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskKind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficulty",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "easy",
                "medium",
                "hard"
              ]
            }
          },
          {
            "name": "worker",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Subscription 的 TypeID"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "DispatchRunning",
                "DispatchReturned",
                "DispatchAccepted",
                "DispatchAbandoned"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Dispatch"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Dispatch/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "派活 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Dispatch"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchAbandoned": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "放弃 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskKind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficulty",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "easy",
                "medium",
                "hard"
              ]
            }
          },
          {
            "name": "worker",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Subscription 的 TypeID"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "DispatchRunning",
                "DispatchReturned",
                "DispatchAccepted",
                "DispatchAbandoned"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Dispatch"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchAbandoned/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "放弃 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Dispatch"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchAccepted": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "通过 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskKind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficulty",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "easy",
                "medium",
                "hard"
              ]
            }
          },
          {
            "name": "worker",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Subscription 的 TypeID"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "DispatchRunning",
                "DispatchReturned",
                "DispatchAccepted",
                "DispatchAbandoned"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Dispatch"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchAccepted/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "通过 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Dispatch"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchReturned": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "交回待查 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskKind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficulty",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "easy",
                "medium",
                "hard"
              ]
            }
          },
          {
            "name": "worker",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Subscription 的 TypeID"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "DispatchRunning",
                "DispatchReturned",
                "DispatchAccepted",
                "DispatchAbandoned"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Dispatch"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchReturned/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "交回待查 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Dispatch"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchRunning": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在干 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskKind",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficulty",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "easy",
                "medium",
                "hard"
              ]
            }
          },
          {
            "name": "worker",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batch",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Subscription 的 TypeID"
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "progress",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "DispatchRunning",
                "DispatchReturned",
                "DispatchAccepted",
                "DispatchAbandoned"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Dispatch"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DispatchRunning/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在干 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Dispatch"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DoneTask": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "DoneTask 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "due",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "normal",
                "low"
              ]
            }
          },
          {
            "name": "lifecycle",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "OpenTask",
                "DoneTask",
                "CancelledTask"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Task"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/DoneTask/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "DoneTask 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Task"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/EndedAssignment": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "EndedAssignment 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ActiveAssignment",
                "EndedAssignment"
              ]
            }
          },
          {
            "name": "task",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Task 的 TypeID"
            }
          },
          {
            "name": "assignee",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Person 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Assignment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/EndedAssignment/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "EndedAssignment 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Assignment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Fault": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "出错 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + fingerprint。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workbench",
                "keeper",
                "dispatch",
                "hook",
                "other"
              ]
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastSeenAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fix",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FaultOpen",
                "FaultFixed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Fault"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Fault/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "出错 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Fault"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FaultFixed": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "修好 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + fingerprint。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workbench",
                "keeper",
                "dispatch",
                "hook",
                "other"
              ]
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastSeenAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fix",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FaultOpen",
                "FaultFixed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Fault"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FaultFixed/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "修好 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Fault"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FaultOpen": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "没修 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + fingerprint。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workbench",
                "keeper",
                "dispatch",
                "hook",
                "other"
              ]
            }
          },
          {
            "name": "fingerprint",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "detail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastSeenAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "fix",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FaultOpen",
                "FaultFixed"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Fault"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FaultOpen/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "没修 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Fault"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Finding": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "新发现 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Finding/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "新发现 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingAdopted": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "用上了 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingAdopted/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "用上了 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingDropped": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "不要 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingDropped/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "不要 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingKept": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "攒着 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingKept/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "攒着 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingTold": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "说过 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingTold/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "说过 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingUnscreened": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "待筛 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：source + externalId。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "summary",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "link",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "originalLink",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publishedAt",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "worth",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "screening",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "FindingUnscreened",
                "FindingKept",
                "FindingTold",
                "FindingAdopted",
                "FindingDropped"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Finding"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/FindingUnscreened/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "待筛 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Finding"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/GithubIssue": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "GithubIssue 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalSource",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalUri",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentHash",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/GithubIssue"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/GithubIssue/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "GithubIssue 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/GithubIssue"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Habit": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "习惯 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "aspect",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "values",
                "workStyle",
                "communication",
                "taste",
                "expertise",
                "goals"
              ]
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "HabitGuessed",
                "HabitHeld",
                "HabitRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Habit"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Habit/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "习惯 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Habit"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitGuessed": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "猜的 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "aspect",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "values",
                "workStyle",
                "communication",
                "taste",
                "expertise",
                "goals"
              ]
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "HabitGuessed",
                "HabitHeld",
                "HabitRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Habit"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitGuessed/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "猜的 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Habit"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitHeld": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "算数 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "aspect",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "values",
                "workStyle",
                "communication",
                "taste",
                "expertise",
                "goals"
              ]
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "HabitGuessed",
                "HabitHeld",
                "HabitRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Habit"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitHeld/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "算数 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Habit"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitRetired": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已撤销 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "statement",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "aspect",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "values",
                "workStyle",
                "communication",
                "taste",
                "expertise",
                "goals"
              ]
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "HabitGuessed",
                "HabitHeld",
                "HabitRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Habit"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/HabitRetired/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已撤销 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Habit"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/IssueLink": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "IssueLink 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issue",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "GithubIssue 的 TypeID"
            }
          },
          {
            "name": "task",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Task 的 TypeID"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/IssueLink"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/IssueLink/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "IssueLink 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/IssueLink"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Judgment": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "判断 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claim",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confidence",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "weight",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "minor",
                "major"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "verdict",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "JudgmentOpen",
                "JudgmentRight",
                "JudgmentWrong",
                "JudgmentWithdrawn"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Judgment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Judgment/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "判断 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Judgment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentOpen": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "待对照 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claim",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confidence",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "weight",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "minor",
                "major"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "verdict",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "JudgmentOpen",
                "JudgmentRight",
                "JudgmentWrong",
                "JudgmentWithdrawn"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Judgment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentOpen/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "待对照 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Judgment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentRight": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "对了 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claim",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confidence",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "weight",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "minor",
                "major"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "verdict",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "JudgmentOpen",
                "JudgmentRight",
                "JudgmentWrong",
                "JudgmentWithdrawn"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Judgment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentRight/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "对了 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Judgment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentWithdrawn": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "作废 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claim",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confidence",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "weight",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "minor",
                "major"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "verdict",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "JudgmentOpen",
                "JudgmentRight",
                "JudgmentWrong",
                "JudgmentWithdrawn"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Judgment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentWithdrawn/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "作废 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Judgment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentWrong": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "错了 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "claim",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confidence",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkAfter",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "weight",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "minor",
                "major"
              ]
            }
          },
          {
            "name": "card",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "Card 的 TypeID"
            }
          },
          {
            "name": "verdict",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "JudgmentOpen",
                "JudgmentRight",
                "JudgmentWrong",
                "JudgmentWithdrawn"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Judgment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/JudgmentWrong/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "错了 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Judgment"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/OpenTask": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "OpenTask 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "due",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "normal",
                "low"
              ]
            }
          },
          {
            "name": "lifecycle",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "OpenTask",
                "DoneTask",
                "CancelledTask"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Task"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/OpenTask/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "OpenTask 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Task"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Person": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Person 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：email。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[^@]+@[^@]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Person"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Person/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Person 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Person"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Practice": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "做法 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "approach",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentHash",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "PracticeInForce",
                "PracticeRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Practice"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Practice/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "做法 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Practice"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/PracticeInForce": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在用 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "approach",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentHash",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "PracticeInForce",
                "PracticeRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Practice"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/PracticeInForce/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在用 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Practice"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/PracticeRetired": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "不再用 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "approach",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentHash",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "standing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "PracticeInForce",
                "PracticeRetired"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Practice"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/PracticeRetired/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "不再用 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Practice"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Subscription": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "订阅 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：key。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "billing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "subscription",
                "payAsYouGo",
                "free"
              ]
            }
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "notes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "SubscriptionInUse",
                "SubscriptionPaused",
                "SubscriptionEnded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Subscription"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Subscription/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "订阅 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Subscription"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionEnded": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已停 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：key。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "billing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "subscription",
                "payAsYouGo",
                "free"
              ]
            }
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "notes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "SubscriptionInUse",
                "SubscriptionPaused",
                "SubscriptionEnded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Subscription"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionEnded/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "已停 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Subscription"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionInUse": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在用 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：key。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "billing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "subscription",
                "payAsYouGo",
                "free"
              ]
            }
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "notes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "SubscriptionInUse",
                "SubscriptionPaused",
                "SubscriptionEnded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Subscription"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionInUse/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "在用 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Subscription"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionPaused": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "暂不用 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：key。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "billing",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "subscription",
                "payAsYouGo",
                "free"
              ]
            }
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "notes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usage",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "SubscriptionInUse",
                "SubscriptionPaused",
                "SubscriptionEnded"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Subscription"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/SubscriptionPaused/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "暂不用 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Subscription"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Task": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Task 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "title",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "due",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "normal",
                "low"
              ]
            }
          },
          {
            "name": "lifecycle",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "OpenTask",
                "DoneTask",
                "CancelledTask"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Task"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/Task/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "Task 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Task"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/TaskCompleter": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "TaskCompleter 列表",
        "description": "按字段等值过滤，可组合；划分按成员 apiName 过滤。业务键：email。historicalRole 视图，只读。",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "email",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[^@]+@[^@]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Person"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "过滤参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/objects/TaskCompleter/{id}": {
      "get": {
        "tags": [
          "objects"
        ],
        "summary": "TaskCompleter 详情",
        "description": "含当前相位、扮演的角色、可用动作、关联的 relator 和事件时间线",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "详情",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "$ref": "#/components/schemas/Person"
                    },
                    "meta": {
                      "type": "object"
                    },
                    "phases": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "relators": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "timeline": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "actions": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在，或不属于该类型",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "全部事件",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "事件类型（含特化）",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentCancellation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "取消 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AppointmentCancellation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentCancellation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "取消 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/AppointmentCancellation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentMaking": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下约定 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AppointmentMaking"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentMaking/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下约定 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/AppointmentMaking"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentReschedule": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改期 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AppointmentReschedule"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/AppointmentReschedule/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改期 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/AppointmentReschedule"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardClarification": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "问清 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardClarification"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardClarification/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "问清 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardClarification"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardCompletion": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "卡完成 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardCompletion"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardCompletion/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "卡完成 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardCompletion"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardConfirmation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "确认冻结 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardConfirmation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardConfirmation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "确认冻结 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardConfirmation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardKeptOngoing": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "标为长期 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardKeptOngoing"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardKeptOngoing/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "标为长期 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardKeptOngoing"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardReflection": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "反思 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardReflection"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardReflection/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "反思 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardReflection"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardReplacement": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "替代旧卡 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardReplacement"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardReplacement/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "替代旧卡 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardReplacement"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardRestatement": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "复述 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardRestatement"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardRestatement/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "复述 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardRestatement"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskPass": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "验收通过 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTaskPass"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskPass/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "验收通过 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardTaskPass"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskRejection": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "验收没过 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTaskRejection"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskRejection/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "验收没过 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardTaskRejection"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskSubmission": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "交付验收 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardTaskSubmission"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardTaskSubmission/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "交付验收 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardTaskSubmission"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardUnlinking": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "撤销关系 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CardUnlinking"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/CardUnlinking/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "撤销关系 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/CardUnlinking"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatClaim": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "开始回复 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatClaim"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatClaim/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "开始回复 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/ChatClaim"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatFailure": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "回复失败 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatFailure"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatFailure/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "回复失败 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/ChatFailure"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatReply": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "回复 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChatReply"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/ChatReply/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "回复 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/ChatReply"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchAbandonment": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "放弃 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DispatchAbandonment"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchAbandonment/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "放弃 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/DispatchAbandonment"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchAcceptance": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "通过 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DispatchAcceptance"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchAcceptance/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "通过 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/DispatchAcceptance"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchReturn": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "交回 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DispatchReturn"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchReturn/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "交回 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/DispatchReturn"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchRework": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "打回返工 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DispatchRework"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/DispatchRework/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "打回返工 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/DispatchRework"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultFix": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "修好 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FaultFix"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultFix/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "修好 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FaultFix"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultRecurrence": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "再犯 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FaultRecurrence"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultRecurrence/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "再犯 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FaultRecurrence"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultReopening": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "修好后又出现 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FaultReopening"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultReopening/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "修好后又出现 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FaultReopening"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultReport": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "报错 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FaultReport"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FaultReport/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "报错 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FaultReport"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingAdoption": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用上了 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FindingAdoption"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingAdoption/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用上了 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FindingAdoption"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingDrop": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "不要 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FindingDrop"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingDrop/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "不要 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FindingDrop"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingKeep": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "留下 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FindingKeep"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingKeep/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "留下 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FindingKeep"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingTell": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "跟用户说了 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FindingTell"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/FindingTell/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "跟用户说了 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/FindingTell"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitAffirmation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用户认可 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HabitAffirmation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitAffirmation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用户认可 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/HabitAffirmation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitClassification": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "归类 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HabitClassification"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitClassification/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "归类 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/HabitClassification"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitNoting": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下习惯 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HabitNoting"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitNoting/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下习惯 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/HabitNoting"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitRetirement": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "撤销习惯 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HabitRetirement"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitRetirement/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "撤销习惯 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/HabitRetirement"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitRevision": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改说法 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HabitRevision"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/HabitRevision/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改说法 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/HabitRevision"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentConfirmation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断对了 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/JudgmentConfirmation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentConfirmation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断对了 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/JudgmentConfirmation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentRefutation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断错了 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/JudgmentRefutation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentRefutation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断错了 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/JudgmentRefutation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentWithdrawal": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断作废 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/JudgmentWithdrawal"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/JudgmentWithdrawal/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "判断作废 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/JudgmentWithdrawal"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeNoting": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下做法 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PracticeNoting"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeNoting/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "记下做法 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/PracticeNoting"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeRetirement": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "不再用这条做法 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PracticeRetirement"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeRetirement/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "不再用这条做法 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/PracticeRetirement"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeRevision": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改做法 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PracticeRevision"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/PracticeRevision/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "改做法 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/PracticeRevision"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionEnd": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "停用 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SubscriptionEnd"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionEnd/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "停用 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/SubscriptionEnd"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionPause": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "暂不用 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SubscriptionPause"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionPause/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "暂不用 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/SubscriptionPause"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionResume": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "恢复使用 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SubscriptionResume"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/SubscriptionResume/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "恢复使用 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/SubscriptionResume"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/TaskCancellation": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "TaskCancellation 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TaskCancellation"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/TaskCancellation/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "TaskCancellation 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/TaskCancellation"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/TaskCompletion": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "TaskCompletion 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TaskCompletion"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/TaskCompletion/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "TaskCompletion 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/TaskCompletion"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/events/UsageReading": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用量读数 事件列表",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 50
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "description": "上一页的 nextCursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "participant",
            "in": "query",
            "description": "参与者的 TypeID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "一页，按记录顺序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/UsageReading"
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "nextCursor"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/api/events/UsageReading/{id}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "用量读数 事件详情",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "事件、产生它的动作执行与历史依赖",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "event": {
                      "$ref": "#/components/schemas/UsageReading"
                    },
                    "actionExecutionId": {
                      "type": "string"
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "dependedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "不存在",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/search": {
      "get": {
        "tags": [
          "search"
        ],
        "summary": "按文字检索",
        "description": "在声明了 search 的类型里按一段文字检索。配了向量化时可以带上文改写、再带出相邻对象。",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "检索文字",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "只检索该类型，可重复给出",
              "enum": [
                "Card",
                "Fault",
                "Finding",
                "Habit",
                "Judgment",
                "Practice"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 10
            }
          },
          {
            "name": "context",
            "in": "query",
            "description": "对话里紧挨着的上文。配了改写模型时先把查询补成完整的话",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "description": "传 1 时，对每条结果再带出经同一对象相连的可检索对象",
            "schema": {
              "type": "string",
              "enum": [
                "1"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "命中",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  },
                  "required": [
                    "items"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/abandonDispatch": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "放弃",
        "description": "条件：这件活已经结束了\n\n产生事件：DispatchAbandonment\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dispatch": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Dispatch 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "dispatch",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/acceptDispatch": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "通过",
        "description": "条件：只有交回待查的活能通过\n\n产生事件：DispatchAcceptance\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dispatch": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Dispatch 的 TypeID"
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "required": [
                  "dispatch"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/addAppointment": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下约定",
        "description": "产生事件：AppointmentMaking\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "day": {
                    "type": "string",
                    "format": "date",
                    "description": "哪一天，如 2026-11-08"
                  },
                  "title": {
                    "type": "string",
                    "description": "做什么，一句话"
                  },
                  "note": {
                    "type": "string",
                    "description": "要提前备什么、跟谁约的这类补充"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "day",
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/addCardScope": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下涉及范围",
        "description": "卡涉及的插件，或插件里的某个元素\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "plugin": {
                    "type": "string",
                    "description": "插件名"
                  },
                  "element": {
                    "type": "string",
                    "description": "元素的 apiName；整个插件时不填"
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "required": [
                  "card",
                  "plugin"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/addCardTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "拆出任务",
        "description": "条件：只有冻结的卡可以拆任务\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "title": {
                    "type": "string"
                  },
                  "detail": {
                    "type": "string"
                  }
                },
                "required": [
                  "card",
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/addSubscription": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下订阅",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "billing": {
                    "type": "string",
                    "enum": [
                      "subscription",
                      "payAsYouGo",
                      "free"
                    ]
                  },
                  "plan": {
                    "type": "string"
                  },
                  "notes": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "name",
                  "billing",
                  "plan"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/adoptFinding": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "用上了",
        "description": "条件：只有跟用户说过的新发现可以用上\n\n产生事件：FindingAdoption\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "finding": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Finding 的 TypeID"
                  },
                  "note": {
                    "type": "string",
                    "description": "装了什么、记进了哪个订阅"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户点头的原话"
                  }
                },
                "required": [
                  "finding",
                  "note"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/affirmHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "用户认可猜到的习惯",
        "description": "条件：只有猜的习惯需要认可\n\n产生事件：HabitAffirmation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "habit": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Habit 的 TypeID"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "habit",
                  "quote"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/cancelAppointment": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "取消约定",
        "description": "条件：这个约定已经取消了\n\n产生事件：AppointmentCancellation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "appointment": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Appointment 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  }
                },
                "required": [
                  "appointment",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/cancelTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "cancelTask",
        "description": "条件：只有未完成的任务可以取消\n\n产生事件：TaskCancellation\n\n可调用者：owner、member",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Task 的 TypeID"
                  }
                },
                "required": [
                  "task"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/claimChatMessage": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "领取一句话开始回复",
        "description": "条件：只有等回的消息可以领取\n\n产生事件：ChatClaim\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "ChatMessage 的 TypeID"
                  }
                },
                "required": [
                  "message"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/clarifyCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "问清",
        "description": "复述之后追问用户，记下问了什么、用户怎么答、用户真正要的是什么；可以问多次，卡上记最近一次弄清的\n\n条件：只有等确认的卡可以追问\n\n产生事件：CardClarification\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "asked": {
                    "type": "string",
                    "description": "追问了什么"
                  },
                  "answer": {
                    "type": "string",
                    "description": "用户回答的原话"
                  },
                  "need": {
                    "type": "string",
                    "description": "用户真正要的是什么、背后的原因"
                  }
                },
                "required": [
                  "card",
                  "asked",
                  "answer",
                  "need"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/classifyHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "给习惯归类",
        "description": "条件：已撤销的习惯不用归类\n\n产生事件：HabitClassification\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "habit": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Habit 的 TypeID"
                  },
                  "aspect": {
                    "type": "string",
                    "enum": [
                      "values",
                      "workStyle",
                      "communication",
                      "taste",
                      "expertise",
                      "goals"
                    ]
                  }
                },
                "required": [
                  "habit",
                  "aspect"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/completeCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "卡完成",
        "description": "卡上没作废的任务全部通过（至少有一项）后调用；长期在做的卡不设完成\n\n条件：只有冻结的卡可以完成\n\n条件：长期在做的卡不设完成，到时机反思即可\n\n条件：卡上还有没通过的任务\n\n条件：卡上还没有通过的任务\n\n产生事件：CardCompletion\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "card"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/completeTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "completeTask",
        "description": "条件：只有未完成的任务可以标记完成\n\n产生事件：TaskCompletion\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Task 的 TypeID"
                  },
                  "completedBy": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Person 的 TypeID"
                  },
                  "occurredAt": {
                    "type": "string",
                    "format": "date-time",
                    "default": "调用时刻"
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "required": [
                  "task",
                  "completedBy"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/confirmCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "确认冻结",
        "description": "问清之后用户说\"对\"，卡冻结\n\n条件：只有等确认的卡可以冻结\n\n条件：还没问清用户真正要的是什么，先追问并用 clarifyCard 记下\n\n产生事件：CardConfirmation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "card"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/createTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "createTask",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "due": {
                    "type": "string",
                    "format": "date"
                  },
                  "priority": {
                    "type": "string",
                    "enum": [
                      "high",
                      "normal",
                      "low"
                    ],
                    "default": "normal"
                  }
                },
                "required": [
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/dropFinding": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "不要",
        "description": "条件：这条新发现已经有了结果\n\n产生事件：FindingDrop\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "finding": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Finding 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  }
                },
                "required": [
                  "finding",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/endSubscription": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "停用",
        "description": "条件：这个订阅已经停了\n\n产生事件：SubscriptionEnd\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Subscription 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "subscription",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/failCardTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "验收没过",
        "description": "条件：只有等验收的任务可以判为没过\n\n产生事件：CardTaskRejection\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "CardTask 的 TypeID"
                  },
                  "feedback": {
                    "type": "string",
                    "description": "用户的原话"
                  }
                },
                "required": [
                  "task",
                  "feedback"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/failChatMessage": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "回复失败",
        "description": "条件：已经回完或失败的消息不能再记失败\n\n产生事件：ChatFailure\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "ChatMessage 的 TypeID"
                  },
                  "error": {
                    "type": "string"
                  }
                },
                "required": [
                  "message",
                  "error"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/fixFault": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "修好了",
        "description": "条件：这处错已经修好了\n\n产生事件：FaultFix\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fault": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Fault 的 TypeID"
                  },
                  "fix": {
                    "type": "string",
                    "description": "怎么修的、改了哪里"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "修它属于哪张需求卡"
                  }
                },
                "required": [
                  "fault",
                  "fix"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/guessHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下猜到的习惯",
        "description": "智能体从合作中猜到的习惯，用到时先问用户\n\n产生事件：HabitNoting\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "statement": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "依据：看到的情形或用户的原话"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "statement",
                  "quote"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/judgmentRight": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "判断对了",
        "description": "条件：只有待对照的判断可以记结果\n\n产生事件：JudgmentConfirmation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "judgment": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Judgment 的 TypeID"
                  },
                  "evidence": {
                    "type": "string",
                    "description": "怎么看出来的"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户评价时的原话"
                  }
                },
                "required": [
                  "judgment",
                  "evidence"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/judgmentWrong": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "判断错了",
        "description": "条件：只有待对照的判断可以记结果\n\n产生事件：JudgmentRefutation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "judgment": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Judgment 的 TypeID"
                  },
                  "evidence": {
                    "type": "string",
                    "description": "实际怎样、错在哪"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户评价时的原话"
                  }
                },
                "required": [
                  "judgment",
                  "evidence"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/keepCardOngoing": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "标为长期",
        "description": "冻结的卡是长期在做、不设完成的事时调用，记下多久回头反思一次；再调用一次可以改时机\n\n条件：只有冻结的卡可以标为长期\n\n产生事件：CardKeptOngoing\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "everyDays": {
                    "type": "integer",
                    "description": "距上次反思满几天就回头反思"
                  },
                  "everyCompletions": {
                    "type": "integer",
                    "description": "距上次反思又完成几件需求就回头反思"
                  },
                  "reason": {
                    "type": "string",
                    "description": "为什么不设完成"
                  }
                },
                "required": [
                  "card",
                  "everyDays",
                  "everyCompletions",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/keepFinding": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "留下",
        "description": "条件：只有待筛的新发现可以留下\n\n产生事件：FindingKeep\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "finding": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Finding 的 TypeID"
                  },
                  "worth": {
                    "type": "string",
                    "description": "为什么值得说、能省多少、有什么限制"
                  }
                },
                "required": [
                  "finding",
                  "worth"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/linkCards": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下卡之间的关系",
        "description": "方向从 card 看：card 建立在 other 之上、card 要等 other 先做完、两者冲突或相关\n\n条件：卡不能和自己有关系\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "other": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "relation": {
                    "type": "string",
                    "enum": [
                      "buildsOn",
                      "dependsOn",
                      "conflictsWith",
                      "relatedTo"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "description": "为什么这样判断"
                  }
                },
                "required": [
                  "card",
                  "other",
                  "relation",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/linkIssue": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "linkIssue",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Task 的 TypeID"
                  },
                  "issueKey": {
                    "type": "string",
                    "description": "形如 owner/repo#12"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "required": [
                  "task",
                  "issueKey",
                  "url",
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/makeJudgment": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下判断",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "claim": {
                    "type": "string",
                    "description": "判断本身，要能事后看出对错"
                  },
                  "category": {
                    "type": "string",
                    "description": "类别，同类事用同一个说法，例如 工作量预估、方案选择、用户会不会满意"
                  },
                  "confidence": {
                    "type": "integer",
                    "description": "几成把握，0 到 100"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "checkBy": {
                    "type": "string",
                    "description": "什么时候、看什么能知道对错"
                  },
                  "checkAfter": {
                    "type": "string",
                    "format": "date",
                    "description": "哪天起能看对错"
                  },
                  "weight": {
                    "type": "string",
                    "enum": [
                      "minor",
                      "major"
                    ]
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "claim",
                  "category",
                  "confidence",
                  "reason",
                  "checkBy",
                  "weight"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/noteChatProgress": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "写回复进度",
        "description": "条件：只有在回的消息可以写进度\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "ChatMessage 的 TypeID"
                  },
                  "progress": {
                    "type": "string",
                    "description": "正在做什么"
                  }
                },
                "required": [
                  "message",
                  "progress"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/noteFinding": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下新发现",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "description": "从哪取的，如 aihot、grok-bot"
                  },
                  "externalId": {
                    "type": "string",
                    "description": "在那边的编号"
                  },
                  "title": {
                    "type": "string"
                  },
                  "summary": {
                    "type": "string"
                  },
                  "category": {
                    "type": "string"
                  },
                  "link": {
                    "type": "string"
                  },
                  "originalLink": {
                    "type": "string"
                  },
                  "publishedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "source",
                  "externalId",
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/openCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "开卡",
        "description": "把用户的一句需求复述成一张新卡，等用户确认\n\n产生事件：CardRestatement\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "utterance": {
                    "type": "string",
                    "description": "用户的原话"
                  },
                  "title": {
                    "type": "string",
                    "description": "一句话标题"
                  },
                  "statement": {
                    "type": "string",
                    "description": "用自己的话复述的需求"
                  }
                },
                "required": [
                  "utterance",
                  "title",
                  "statement"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/openDispatch": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "派活",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "taskKind": {
                    "type": "string",
                    "description": "活的类型，同类活用同一个说法，例如 编码、写测试、查资料、整理、审查"
                  },
                  "difficulty": {
                    "type": "string",
                    "enum": [
                      "easy",
                      "medium",
                      "hard"
                    ]
                  },
                  "worker": {
                    "type": "string",
                    "description": "去处：cursor-cli、cursor-cloud、dsh、opencode、claude-subagent、grok-bot"
                  },
                  "model": {
                    "type": "string"
                  },
                  "effort": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "batch": {
                    "type": "string",
                    "description": "成组比较时的批次名"
                  },
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "花谁的额度"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "title",
                  "taskKind",
                  "difficulty",
                  "worker",
                  "model"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/passCardTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "验收通过",
        "description": "用户明说行，或交出后用户没提意见、接着聊别的（basis 为 tacit）时调用\n\n条件：只有等验收的任务可以通过\n\n条件：这件交出时标了要等用户明说，不能默认通过\n\n产生事件：CardTaskPass\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "CardTask 的 TypeID"
                  },
                  "comment": {
                    "type": "string",
                    "description": "明说时的原话；默认通过时写用户接着聊了什么"
                  },
                  "basis": {
                    "type": "string",
                    "enum": [
                      "said",
                      "tacit"
                    ],
                    "description": "said 是用户明说行，tacit 是没意见默认通过",
                    "default": "said"
                  }
                },
                "required": [
                  "task"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/pauseSubscription": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "暂不用",
        "description": "条件：只有在用的订阅能暂停\n\n产生事件：SubscriptionPause\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Subscription 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "subscription",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/recordHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下用户明说的习惯",
        "description": "产生事件：HabitNoting、HabitAffirmation\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "statement": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "statement",
                  "quote"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/recordPractice": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记下做法",
        "description": "定下一条做法或解决了一个问题后记下，之后碰到相关的事会被检索找回\n\n产生事件：PracticeNoting\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "description": "出处：决定文件路径（docs/decisions/0014-mcp-compact-reads.md）、提交、或\"对话 2026-10-22\""
                  },
                  "title": {
                    "type": "string",
                    "description": "一句话说是什么做法"
                  },
                  "situation": {
                    "type": "string",
                    "description": "什么时候用得上：碰到什么事、做什么之前"
                  },
                  "approach": {
                    "type": "string",
                    "description": "怎么做"
                  },
                  "reason": {
                    "type": "string",
                    "description": "为什么这样做"
                  },
                  "contentHash": {
                    "type": "string",
                    "description": "出处文件内容的摘要，同步工具用"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "出自哪张需求卡"
                  }
                },
                "required": [
                  "source",
                  "title",
                  "situation",
                  "approach"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/recordUsage": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "记用量读数",
        "description": "条件：这个订阅已经停了\n\n产生事件：UsageReading\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Subscription 的 TypeID"
                  },
                  "window": {
                    "type": "string"
                  },
                  "usedPercent": {
                    "type": "number"
                  },
                  "remaining": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "resetsAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "source": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "required": [
                  "subscription",
                  "window",
                  "source"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/recurFault": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "又出现一次",
        "description": "条件：这处错已经修好，再出现用 reopenFault\n\n产生事件：FaultRecurrence\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fault": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Fault 的 TypeID"
                  },
                  "detail": {
                    "type": "string"
                  }
                },
                "required": [
                  "fault"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reflectCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "反思",
        "description": "到了反思的时机，翻合作留下的记录后记下看到了什么、根因、改了什么\n\n条件：只有冻结的卡可以反思\n\n条件：只有长期在做的卡要反思\n\n产生事件：CardReflection\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "observed": {
                    "type": "string",
                    "description": "翻记录看到了什么"
                  },
                  "rootCause": {
                    "type": "string",
                    "description": "根因"
                  },
                  "changed": {
                    "type": "string",
                    "description": "改了什么；没改写为什么不改"
                  }
                },
                "required": [
                  "card",
                  "observed",
                  "rootCause",
                  "changed"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reopenFault": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "修好后又出现",
        "description": "条件：这处错还没修，再出现用 recurFault\n\n产生事件：FaultReopening\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fault": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Fault 的 TypeID"
                  },
                  "detail": {
                    "type": "string"
                  }
                },
                "required": [
                  "fault"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/replaceCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "开新卡替代旧卡",
        "description": "用户对旧需求改了主意；新卡等确认，旧卡保留并标为已被替代，旧卡上尚未通过的任务一并作废\n\n条件：已经被替代的卡不能再被替代\n\n产生事件：CardRestatement、CardReplacement\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "old": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "utterance": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "statement": {
                    "type": "string"
                  },
                  "droppedTasks": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                      "description": "CardTask 的 TypeID"
                    },
                    "description": "已弃用：引擎自己找出旧卡上在做和等验收的任务一并作废，传入的值不再使用"
                  }
                },
                "required": [
                  "old",
                  "utterance",
                  "title",
                  "statement"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/replyChatMessage": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "写回复",
        "description": "条件：只有在回的消息可以写回复\n\n产生事件：ChatReply\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "ChatMessage 的 TypeID"
                  },
                  "reply": {
                    "type": "string"
                  },
                  "claudeSession": {
                    "type": "string"
                  }
                },
                "required": [
                  "message",
                  "reply",
                  "claudeSession"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reportFault": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "报错",
        "description": "某处第一次出这个错时调用；同一来源、同一指纹已有记录时改用 recurFault（没修）或 reopenFault（修好过）\n\n产生事件：FaultReport\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "enum": [
                      "workbench",
                      "keeper",
                      "dispatch",
                      "hook",
                      "other"
                    ]
                  },
                  "fingerprint": {
                    "type": "string",
                    "description": "区分不同的错，同一处错每次相同，例如 query:rate_limited、job:quota、run:cursor-cli"
                  },
                  "summary": {
                    "type": "string",
                    "description": "一句话说哪里出了什么错"
                  },
                  "detail": {
                    "type": "string",
                    "description": "错误信息、时间、日志位置"
                  }
                },
                "required": [
                  "source",
                  "fingerprint",
                  "summary"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/rescheduleAppointment": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "改期",
        "description": "条件：取消了的约定不能改期\n\n产生事件：AppointmentReschedule\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "appointment": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Appointment 的 TypeID"
                  },
                  "day": {
                    "type": "string",
                    "format": "date",
                    "description": "新的日子"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  }
                },
                "required": [
                  "appointment",
                  "day",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/restateCard": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "重新复述",
        "description": "用户说\"不对，是…\"之后，按用户的更正重新复述\n\n条件：只有等确认的卡可以重新复述\n\n产生事件：CardRestatement\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  },
                  "correction": {
                    "type": "string",
                    "description": "用户的更正原话"
                  },
                  "title": {
                    "type": "string"
                  },
                  "statement": {
                    "type": "string"
                  }
                },
                "required": [
                  "card",
                  "correction",
                  "title",
                  "statement"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/resumeSubscription": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "恢复使用",
        "description": "条件：只有暂不用的订阅能恢复\n\n产生事件：SubscriptionResume\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Subscription 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "subscription",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/retireHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "撤销习惯",
        "description": "条件：这条习惯已经撤销了\n\n产生事件：HabitRetirement\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "habit": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Habit 的 TypeID"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户的原话"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "habit",
                  "quote"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/retirePractice": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "不再用这条做法",
        "description": "条件：这条做法已经不再用了\n\n产生事件：PracticeRetirement\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "practice": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Practice 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "practice",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/returnDispatch": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "交回",
        "description": "条件：只有在干的活能交回\n\n产生事件：DispatchReturn\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dispatch": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Dispatch 的 TypeID"
                  },
                  "durationSeconds": {
                    "type": "number"
                  },
                  "inputTokens": {
                    "type": "integer"
                  },
                  "outputTokens": {
                    "type": "integer"
                  },
                  "cacheTokens": {
                    "type": "integer"
                  },
                  "cost": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "runRef": {
                    "type": "string"
                  },
                  "summary": {
                    "type": "string"
                  }
                },
                "required": [
                  "dispatch"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reviseHabit": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "按用户的话改习惯",
        "description": "条件：已撤销的习惯不能再改\n\n产生事件：HabitRevision\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "habit": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Habit 的 TypeID"
                  },
                  "statement": {
                    "type": "string"
                  },
                  "quote": {
                    "type": "string",
                    "description": "用户纠正的原话"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "habit",
                  "statement",
                  "quote"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/revisePractice": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "改做法",
        "description": "条件：不再用的做法不能再改\n\n产生事件：PracticeRevision\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "practice": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Practice 的 TypeID"
                  },
                  "title": {
                    "type": "string"
                  },
                  "situation": {
                    "type": "string"
                  },
                  "approach": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "contentHash": {
                    "type": "string"
                  },
                  "card": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Card 的 TypeID"
                  }
                },
                "required": [
                  "practice",
                  "title",
                  "situation",
                  "approach"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reviseSubscription": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "改档位或规则要点",
        "description": "条件：这个订阅已经停了\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subscription": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Subscription 的 TypeID"
                  },
                  "plan": {
                    "type": "string"
                  },
                  "notes": {
                    "type": "string"
                  }
                },
                "required": [
                  "subscription",
                  "plan",
                  "notes"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/reworkDispatch": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "打回返工",
        "description": "条件：只有交回待查的活能打回\n\n产生事件：DispatchRework\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dispatch": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Dispatch 的 TypeID"
                  },
                  "feedback": {
                    "type": "string"
                  }
                },
                "required": [
                  "dispatch",
                  "feedback"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/sendChatMessage": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "发一句话",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "thread": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "ChatThread 的 TypeID"
                  },
                  "text": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string",
                    "enum": [
                      "opus",
                      "sonnet",
                      "haiku",
                      "fable"
                    ]
                  },
                  "effort": {
                    "type": "string",
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh",
                      "max"
                    ]
                  }
                },
                "required": [
                  "thread",
                  "text",
                  "model",
                  "effort"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/startChat": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "开始一段对话",
        "description": "可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "取自第一句话"
                  }
                },
                "required": [
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/submitCardTask": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "交付验收",
        "description": "条件：只有在做的任务可以交付验收\n\n条件：只有冻结的卡上的任务可以交付验收\n\n产生事件：CardTaskSubmission\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "CardTask 的 TypeID"
                  },
                  "report": {
                    "type": "string",
                    "description": "做了什么、怎么看结果"
                  },
                  "mustSay": {
                    "type": "string",
                    "enum": [
                      "taste",
                      "direction",
                      "money",
                      "irreversible"
                    ],
                    "description": "喜不喜欢、方向要不要、要花钱或难回头时填，要等用户明说；不填则用户没意见就默认通过"
                  }
                },
                "required": [
                  "task",
                  "report"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/tellFinding": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "跟用户说了",
        "description": "条件：只有攒着的新发现可以记成说过\n\n产生事件：FindingTell\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "finding": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Finding 的 TypeID"
                  }
                },
                "required": [
                  "finding"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/unlinkCards": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "撤销卡之间的关系",
        "description": "条件：只有有效的关系可以撤销\n\n产生事件：CardUnlinking\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "link": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "CardLink 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "link",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/actions/withdrawJudgment": {
      "post": {
        "tags": [
          "actions"
        ],
        "summary": "判断作废",
        "description": "条件：只有待对照的判断可以作废\n\n产生事件：JudgmentWithdrawal\n\n可调用者：owner、member、agent",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "judgment": {
                    "type": "string",
                    "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                    "description": "Judgment 的 TypeID"
                  },
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "judgment",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "执行成功",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActionResult"
                }
              }
            }
          },
          "400": {
            "description": "参数不合法",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "调用者类型不在 callers 中",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "条件不满足，message 为声明中的说明",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "执行中违反运行时规则或业务错误",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "rejected",
              "failed"
            ]
          },
          "code": {
            "type": "string"
          },
          "ruleId": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "executionId": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ]
      },
      "ActionResult": {
        "type": "object",
        "properties": {
          "status": {
            "const": "succeeded"
          },
          "executionId": {
            "type": "string"
          },
          "replayed": {
            "type": "boolean",
            "description": "幂等键命中时为 true，返回首次执行的结果"
          },
          "result": {
            "type": "object",
            "properties": {
              "created": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "modified": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "closed": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "references": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "Appointment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Appointment"
          },
          "day": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "AppointmentScheduled",
                  "AppointmentCancelled"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "day",
          "title",
          "note",
          "card",
          "status"
        ],
        "description": "约好在某一天做的一件事。day 是当前的日子，只随记下与改期变化；title 是做什么，card 是出自哪张需求卡"
      },
      "Assignment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Assignment"
          },
          "state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "ActiveAssignment",
                  "EndedAssignment"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Task 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "assignee": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Person 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "state",
          "task",
          "assignee"
        ]
      },
      "Card": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Card"
          },
          "utterance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "need": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reflectEveryDays": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "reflectEveryCompletions": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "stage": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "CardDraft",
                  "CardFrozen",
                  "CardDone",
                  "CardSuperseded"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "utterance",
          "title",
          "statement",
          "need",
          "reflectEveryDays",
          "reflectEveryCompletions",
          "stage"
        ],
        "description": "用户的一个需求。title、statement 是最近一次复述，只随复述事件变化；need 是最近一次问清时记下的用户真正要的是什么；utterance 是用户的原话； reflectEveryDays、reflectEveryCompletions 有值表示长期在做、不设完成，距上次反思满这么多天或又完成这么多件需求时回头反思"
      },
      "CardLink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardLink"
          },
          "relation": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "buildsOn",
                  "dependsOn",
                  "conflictsWith",
                  "relatedTo"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkState": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "CardLinkActive",
                  "CardLinkRemoved"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "other": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "relation",
          "reason",
          "linkState",
          "card",
          "other"
        ],
        "description": "card 与 other 之间的一条关系，方向从 card 看：card 建立在 other 之上、card 要等 other 先做完、两者冲突或相关；reason 写为什么这样判断"
      },
      "CardScope": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardScope"
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "plugin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "element": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "card",
          "plugin",
          "element",
          "note"
        ],
        "description": "卡涉及的一个插件或插件里的一个元素（类型、关系、事件、动作的 apiName）；element 为空表示整个插件"
      },
      "CardTask": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardTask"
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mustSay": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "taste",
                  "direction",
                  "money",
                  "irreversible"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "progress": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "CardTaskOpen",
                  "CardTaskSubmitted",
                  "CardTaskPassed",
                  "CardTaskDropped"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "card",
          "title",
          "detail",
          "mustSay",
          "progress"
        ],
        "description": "冻结的卡拆出的一项任务，做完后交给用户验收；mustSay 是最近一次交出时标的要等用户明说的原因，为空表示没意见就默认通过"
      },
      "ChatMessage": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "ChatMessage"
          },
          "thread": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "ChatThread 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "opus",
                  "sonnet",
                  "haiku",
                  "fable"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high",
                  "xhigh",
                  "max"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "reply": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "claudeSession": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "progress": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "replyState": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "ChatWaiting",
                  "ChatReplying",
                  "ChatReplied",
                  "ChatFailed"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "thread",
          "text",
          "model",
          "effort",
          "reply",
          "claudeSession",
          "error",
          "progress",
          "replyState"
        ],
        "description": "用户说的一句话和智能体的回复。claudeSession 是回复所在的后台会话号，下一句据此续接；progress 是回复途中在做什么"
      },
      "ChatThread": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "ChatThread"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "title"
        ],
        "description": "工作台上的一段对话；title 取自第一句话"
      },
      "Dispatch": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Dispatch"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "taskKind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "difficulty": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "easy",
                  "medium",
                  "hard"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "worker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "batch": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Subscription 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "progress": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "DispatchRunning",
                  "DispatchReturned",
                  "DispatchAccepted",
                  "DispatchAbandoned"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "title",
          "taskKind",
          "difficulty",
          "worker",
          "model",
          "effort",
          "prompt",
          "batch",
          "subscription",
          "card",
          "progress"
        ],
        "description": "一次派活。worker 是去处的短名（cursor-cli、cursor-cloud、dsh、opencode、claude-subagent、grok-bot），model 与 effort 是派活时选的模型和思考度，batch 把成组比较的派活归在一起"
      },
      "Fault": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Fault"
          },
          "source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "workbench",
                  "keeper",
                  "dispatch",
                  "hook",
                  "other"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "fingerprint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastSeenAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "fix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "FaultOpen",
                  "FaultFixed"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "source",
          "fingerprint",
          "summary",
          "detail",
          "lastSeenAt",
          "fix",
          "state"
        ],
        "description": "一处错。fingerprint 区分同一来源里的不同错（例如 query:rate_limited、job:quota）；detail 与 lastSeenAt 是最近一次的情形，历次都在事件里；fix 是最近一次怎么修的"
      },
      "Finding": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Finding"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "externalId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "originalLink": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "publishedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "worth": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "screening": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "FindingUnscreened",
                  "FindingKept",
                  "FindingTold",
                  "FindingAdopted",
                  "FindingDropped"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "source",
          "externalId",
          "title",
          "summary",
          "category",
          "link",
          "originalLink",
          "publishedAt",
          "worth",
          "screening"
        ],
        "description": "一条外面来的新消息。worth 在留下时写：为什么值得说、能省多少、有什么限制"
      },
      "GithubIssue": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "GithubIssue"
          },
          "externalSource": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "externalId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "externalUri": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contentHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "lastSyncedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "type",
          "externalSource",
          "externalId",
          "externalUri",
          "title",
          "contentHash"
        ]
      },
      "Habit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Habit"
          },
          "statement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "aspect": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "values",
                  "workStyle",
                  "communication",
                  "taste",
                  "expertise",
                  "goals"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "standing": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "HabitGuessed",
                  "HabitHeld",
                  "HabitRetired"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "statement",
          "aspect",
          "standing"
        ],
        "description": "用户的一条习惯或偏好。statement 是当前的说法，只随记下与修改事件变化；历次说法与原话都在事件里"
      },
      "IssueLink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "IssueLink"
          },
          "issue": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "GithubIssue 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Task 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "issue",
          "task"
        ]
      },
      "Judgment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Judgment"
          },
          "claim": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "confidence": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 100,
                "x-unit": "%"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "checkBy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "checkAfter": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ]
          },
          "weight": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "minor",
                  "major"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID"
              },
              {
                "type": "null"
              }
            ]
          },
          "verdict": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "JudgmentOpen",
                  "JudgmentRight",
                  "JudgmentWrong",
                  "JudgmentWithdrawn"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "claim",
          "category",
          "confidence",
          "reason",
          "checkBy",
          "checkAfter",
          "weight",
          "card",
          "verdict"
        ],
        "description": "智能体的一条判断：claim 是判断本身，confidence 是几成把握（0 到 100），checkBy 写什么时候、看什么能知道对错"
      },
      "Person": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Person"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[^@]+@[^@]+$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "name",
          "email"
        ]
      },
      "Practice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Practice"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "situation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "approach": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contentHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "standing": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "PracticeInForce",
                  "PracticeRetired"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "source",
          "title",
          "situation",
          "approach",
          "reason",
          "contentHash",
          "standing"
        ],
        "description": "一条定下的做法或解决过的问题。source 是出处（决定文件路径、提交、对话日期）；title、situation、approach、reason 只随记下与修改事件变化，历次内容都在事件里"
      },
      "Subscription": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Subscription"
          },
          "key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "billing": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "subscription",
                  "payAsYouGo",
                  "free"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "plan": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "usage": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "SubscriptionInUse",
                  "SubscriptionPaused",
                  "SubscriptionEnded"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "key",
          "name",
          "billing",
          "plan",
          "notes",
          "usage"
        ],
        "description": "一个能用来干活的模型渠道。key 是脚本和派活时用的短名（如 cursor、claude），plan 是档位，notes 记额度规则要点"
      },
      "Task": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "Task"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "due": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ]
          },
          "priority": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "high",
                  "normal",
                  "low"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "lifecycle": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "OpenTask",
                  "DoneTask",
                  "CancelledTask"
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "title",
          "due",
          "priority",
          "lifecycle"
        ]
      },
      "AppointmentCancellation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "AppointmentCancellation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "appointment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Appointment 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "quote",
          "appointment"
        ]
      },
      "AppointmentMaking": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "AppointmentMaking"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "day": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ]
          },
          "appointment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Appointment 的 TypeID（creation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "day",
          "appointment"
        ]
      },
      "AppointmentReschedule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "AppointmentReschedule"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "day": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "appointment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Appointment 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "day",
          "reason",
          "quote",
          "appointment"
        ]
      },
      "CardClarification": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardClarification"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "asked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "answer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "need": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "asked",
          "answer",
          "need",
          "card"
        ]
      },
      "CardCompletion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardCompletion"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "card"
        ]
      },
      "CardConfirmation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardConfirmation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "card"
        ]
      },
      "CardKeptOngoing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardKeptOngoing"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "everyDays": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "everyCompletions": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "everyDays",
          "everyCompletions",
          "reason",
          "card"
        ]
      },
      "CardReflection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardReflection"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "observed": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "rootCause": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "changed": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "observed",
          "rootCause",
          "changed",
          "card"
        ]
      },
      "CardReplacement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardReplacement"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "replaced": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          },
          "replacement": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "droppedTasks": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
              "description": "CardTask 的 TypeID（termination）"
            }
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "replaced",
          "replacement",
          "droppedTasks"
        ]
      },
      "CardRestatement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardRestatement"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "correction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "title",
          "statement",
          "correction",
          "card"
        ]
      },
      "CardTaskPass": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardTaskPass"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "basis": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "said",
                  "tacit"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "CardTask 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "comment",
          "basis",
          "task"
        ]
      },
      "CardTaskRejection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardTaskRejection"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "feedback": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "CardTask 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "feedback",
          "task"
        ]
      },
      "CardTaskSubmission": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardTaskSubmission"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "report": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mustSay": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "taste",
                  "direction",
                  "money",
                  "irreversible"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "CardTask 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "report",
          "mustSay",
          "task"
        ]
      },
      "CardUnlinking": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "CardUnlinking"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "link": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "CardLink 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "link"
        ]
      },
      "ChatClaim": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "ChatClaim"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "ChatMessage 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "message"
        ]
      },
      "ChatFailure": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "ChatFailure"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "ChatMessage 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "error",
          "message"
        ]
      },
      "ChatReply": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "ChatReply"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reply": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "claudeSession": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "ChatMessage 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reply",
          "claudeSession",
          "message"
        ]
      },
      "DispatchAbandonment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "DispatchAbandonment"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dispatch": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Dispatch 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "dispatch"
        ]
      },
      "DispatchAcceptance": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "DispatchAcceptance"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dispatch": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Dispatch 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "note",
          "dispatch"
        ]
      },
      "DispatchReturn": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "DispatchReturn"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "durationSeconds": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "inputTokens": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "outputTokens": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "cacheTokens": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "cost": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "unit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "runRef": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dispatch": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Dispatch 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "durationSeconds",
          "inputTokens",
          "outputTokens",
          "cacheTokens",
          "cost",
          "unit",
          "runRef",
          "summary",
          "dispatch"
        ]
      },
      "DispatchRework": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "DispatchRework"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "feedback": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "dispatch": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Dispatch 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "feedback",
          "dispatch"
        ]
      },
      "FaultFix": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FaultFix"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "fix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "fault": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Fault 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "fix",
          "fault",
          "card"
        ]
      },
      "FaultRecurrence": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FaultRecurrence"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "fault": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Fault 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "detail",
          "fault"
        ]
      },
      "FaultReopening": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FaultReopening"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "fault": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Fault 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "detail",
          "fault"
        ]
      },
      "FaultReport": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FaultReport"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "fault": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Fault 的 TypeID（creation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "detail",
          "fault"
        ]
      },
      "FindingAdoption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FindingAdoption"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finding": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Finding 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "note",
          "quote",
          "finding"
        ]
      },
      "FindingDrop": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FindingDrop"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finding": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Finding 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "quote",
          "finding"
        ]
      },
      "FindingKeep": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FindingKeep"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "worth": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "finding": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Finding 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "worth",
          "finding"
        ]
      },
      "FindingTell": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "FindingTell"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "finding": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Finding 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "finding"
        ]
      },
      "HabitAffirmation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "HabitAffirmation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "habit": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Habit 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "quote",
          "habit",
          "card"
        ]
      },
      "HabitClassification": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "HabitClassification"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "aspect": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "values",
                  "workStyle",
                  "communication",
                  "taste",
                  "expertise",
                  "goals"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "habit": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Habit 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "aspect",
          "habit"
        ]
      },
      "HabitNoting": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "HabitNoting"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "habit": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Habit 的 TypeID（creation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "statement",
          "quote",
          "habit",
          "card"
        ]
      },
      "HabitRetirement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "HabitRetirement"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "habit": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Habit 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "quote",
          "habit",
          "card"
        ]
      },
      "HabitRevision": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "HabitRevision"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "habit": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Habit 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "statement",
          "quote",
          "habit",
          "card"
        ]
      },
      "JudgmentConfirmation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "JudgmentConfirmation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "evidence": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "judgment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Judgment 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "evidence",
          "quote",
          "judgment"
        ]
      },
      "JudgmentRefutation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "JudgmentRefutation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "evidence": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "judgment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Judgment 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "evidence",
          "quote",
          "judgment"
        ]
      },
      "JudgmentWithdrawal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "JudgmentWithdrawal"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "judgment": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Judgment 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "judgment"
        ]
      },
      "PracticeNoting": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "PracticeNoting"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "situation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "approach": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contentHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "practice": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Practice 的 TypeID（creation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "title",
          "situation",
          "approach",
          "reason",
          "contentHash",
          "practice",
          "card"
        ]
      },
      "PracticeRetirement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "PracticeRetirement"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "practice": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Practice 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "practice"
        ]
      },
      "PracticeRevision": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "PracticeRevision"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "situation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "approach": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contentHash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "practice": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Practice 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "card": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Card 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "title",
          "situation",
          "approach",
          "reason",
          "contentHash",
          "practice",
          "card"
        ]
      },
      "SubscriptionEnd": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "SubscriptionEnd"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Subscription 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "subscription"
        ]
      },
      "SubscriptionPause": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "SubscriptionPause"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Subscription 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "subscription"
        ]
      },
      "SubscriptionResume": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "SubscriptionResume"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Subscription 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "reason",
          "subscription"
        ]
      },
      "TaskCancellation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "TaskCancellation"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Task 的 TypeID（termination）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "task"
        ]
      },
      "TaskCompletion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "TaskCompletion"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "task": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Task 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          },
          "completedBy": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Person 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "note",
          "task",
          "completedBy"
        ]
      },
      "UsageReading": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$"
          },
          "type": {
            "type": "string",
            "const": "UsageReading"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "window": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "usedPercent": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "remaining": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "unit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "resetsAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subscription": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z]{2,6}_[0-7][0-9a-hjkmnp-tv-z]{25}$",
                "description": "Subscription 的 TypeID（participation）"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "type",
          "recordedAt",
          "occurredAt",
          "window",
          "usedPercent",
          "remaining",
          "unit",
          "resetsAt",
          "source",
          "note",
          "subscription"
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "onto2 token issue 签发的令牌"
      }
    }
  }
}