{
  "openapi": "3.0.0",
  "info": {
    "title": "n8n 公共 API",
    "version": "1.1.1"
  },
  "components": {
    "schemas": {
      "securityPolicyPublicDto.generated": {
        "type": "object",
        "properties": {
          "personalSpacePublishing": {
            "type": "boolean",
            "description": "成员是否可以从个人空间发布工作流和智能体。"
          },
          "personalSpaceSharing": {
            "type": "boolean",
            "description": "成员是否可以从个人空间共享工作流和凭据。"
          },
          "publishedPersonalWorkflowsCount": {
            "type": "integer",
            "description": "当前已发布的个人工作流数量，用于收紧策略前了解影响。",
            "readOnly": true
          },
          "sharedPersonalWorkflowsCount": {
            "type": "integer",
            "description": "当前与其他用户共享的个人工作流数量。",
            "readOnly": true
          },
          "sharedPersonalCredentialsCount": {
            "type": "integer",
            "description": "当前与其他用户共享的个人凭据数量。",
            "readOnly": true
          },
          "redactionEnforcement": {
            "type": "object",
            "properties": {
              "floor": {
                "type": "string",
                "enum": [
                  "off",
                  "production",
                  "all"
                ],
                "description": "在整个实例上强制执行的最低执行数据遮蔽级别。"
              }
            },
            "required": [
              "floor"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "personalSpacePublishing",
          "personalSpaceSharing",
          "publishedPersonalWorkflowsCount",
          "sharedPersonalWorkflowsCount",
          "sharedPersonalCredentialsCount",
          "redactionEnforcement"
        ],
        "additionalProperties": false
      }
    }
  }
}
