{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "name": "steedos-schema_object",
  "type": "object",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "type": {
          "enum": ["library"]
        }
      },
      "required": ["type", "name", "description"]
    },
    {
      "properties": {
        "type": {
          "not": {
            "enum": ["library"]
          }
        }
      }
    }
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "对象名称",
      "pattern": "^[_a-zA-Z][_a-zA-Z0-9]*$"
    },
    "isMetadata": {
      "type": "boolean",
      "description": "元数据对象"
    },
    "internal": {
      "type": "boolean",
      "description": "内置"
    },
    "table_name": {
      "type": "string",
      "description": "数据库表名称"
    },
    "extend": {
      "type": "string",
      "description": "要继承的对象标识"
    },
    "label": {
      "type": "string",
      "description": "对象显示名称"
    },
    "icon": {
      "type": "string",
      "description": "对象图标，对应https://www.lightningdesignsystem.com/icons/#standard"
    },
    "enable_search": {
      "type": "boolean",
      "description": "允许搜索"
    },
    "enable_dataloader": {
      "type": "boolean",
      "description": "graphql api中启用dataloader缓存"
    },
    "is_enable": {
      "type": "boolean",
      "description": "是否启用，如果为false，则对象不可见"
    },
    "enable_files": {
      "type": "boolean",
      "description": "允许上传附件"
    },
    "enable_tasks": {
      "type": "boolean",
      "description": "允许创建任务"
    },
    "enable_notes": {
      "type": "boolean",
      "description": "允许创建备忘"
    },
    "enable_form_tabs": {
      "type": "boolean",
      "description": "表单启用选项卡模式"
    },
    "enable_events": {
      "type": "boolean",
      "description": "允许创建事件"
    },
    "enable_api": {
      "type": "boolean",
      "description": "TODO..."
    },
    "enable_share": {
      "type": "boolean",
      "description": "允许分享"
    },
    "enable_instances": {
      "type": "boolean",
      "description": "显示审批单子表"
    },
    "enable_chatter": {
      "type": "boolean",
      "description": "允许留言"
    },
    "enable_audit": {
      "type": "boolean",
      "description": "启用后，系统会记录用户对当前对象的增删改的操作记录。"
    },
    "enable_trash": {
      "type": "boolean",
      "description": "允许假删除。如果为true,则开启回收站功能，此对象数据删除后，会进入回收站。如果为false，则直接删除"
    },
    "enable_space_global": {
      "type": "boolean",
      "description": "允许数据夸工作区使用"
    },
    "enable_tree": {
      "type": "boolean",
      "description": "列表树结构显示"
    },
    "enable_enhanced_lookup": {
      "type": "boolean",
      "description": "启用增强lookup模式，当开启时，指向该对象的lookup字段会弹出窗口显示可选项！"
    },
    "parent_field": {
      "type": "string",
      "description": "树状结构父字段，默认为parent"
    },
    "children_field": {
      "type": "string",
      "description": "树状结构子节点字段，默认为children"
    },
    "tree_expand": {
      "type": "string",
      "enum": ["first", "all", "none"],
      "description": "树状结构列表默认展开行为：first 默认展开第一个节点（默认值），all 默认展开全部节点，none 默认全部收起"
    },
    "enable_approvals": {
      "type": "boolean",
      "description": "历史步骤"
    },
    "enable_follow": {
      "type": "boolean",
      "description": "允许关注"
    },
    "enable_workflow": {
      "type": "boolean",
      "description": "允许对象流程同步"
    },
    "enable_open_workflow": {
      "type": "boolean",
      "description": "允许配置对象开放流程"
    },
    "enable_web_forms": {
      "type": "boolean",
      "description": "允许在线表单"
    },
    "enable_inline_edit": {
      "type": "boolean",
      "description": "允许单个字段编辑"
    },
    "enable_lock_detail": {
      "type": "boolean",
      "description": "当主记录被锁定（Locked属性为true）时，同时锁定相关子表记录，不允许对子表记录进行修改，保持数据一致性。"
    },
    "is_view": {
      "type": "boolean",
      "description": "此对象是否对应数据库中的视图"
    },
    "hidden": {
      "type": "boolean",
      "description": "是否隐藏对象"
    },
    "description": {
      "type": "string",
      "description": "对象描述"
    },
    "sidebar": {
      "type": "object",
      "description": "TODO"
    },
    "custom": {
      "type": "boolean",
      "description": "创建的实体表是否加默认的前缀，默认前缀为：c_${spaceId}_"
    },
    "owner": {
      "type": "string",
      "description": "对象拥有者"
    },
    "objects_group": {
      "type": "string",
      "description": "对象分组"
    },
    "process_state": {
      "type": "string",
      "description": "审批状态"
    },
    "is_system": {
      "type": "boolean",
      "description": "是否系统对象"
    },
    "methods": {
      "type": "object",
      "description": "对象可执行的方法，用于odata接口",
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9].*$": {
          "$ref": "#/definitions/method"
        }
      }
    },
    "fields": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9].*$": {
          "$ref": "#/definitions/field"
        }
      }
    },
    "list_views": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/list_view"
        }
      }
    },
    "paging": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "启用分页"
        },
        "page_size": {
          "type": "number",
          "description": "每页显示记录数量"
        },
        "mode": {
          "type": "string",
          "description": "指定滚动模式",
          "enum": ["infinite", "standard", "virtual"]
        }
      }
    },
    "actions": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/action"
        }
      }
    },
    "permission_set": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/permission"
        }
      }
    },
    "triggers": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/trigger"
        }
      }
    },
    "calendar": {
      "type": "object"
    },
    "listeners": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/listener"
        }
      }
    },
    "form": {
      "type": "object",
      "properties": {
        "initialValues": {
          "type": "string",
          "description": "表单初始化数据时执行, 函数的返回值作为新建数据的默认值"
        },
        "onSubmit": {
          "type": "string",
          "description": "表单提交时执行, 参数为表单中的字段值，如果成功返回undefined，如果失败返回错误数组"
        },
        "validate": {
          "type": "string",
          "description": "表单字段修改时执行, 传入表单中的字段值，如果成功返回undefined，如果失败返回错误数组"
        },
        "onRendered": {
          "type": "string",
          "description": "表单加载完成后执行"
        },
        "onDestroy": {
          "type": "string",
          "description": "表单销毁时执行"
        },
        "onValuesChange": {
          "type": "string",
          "description": "表单字段修改时执行"
        }
      }
    },
    "relatedList": {
      "type": "array",
      "description": "主表想在详细页显示的相关子表"
    },
    "version": {
      "type": "number",
      "description": "对象版本, 默认1.0"
    },
    "pages": {
      "type": "object",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z_]\\w*(\\.\\$\\.\\w+)?[a-zA-Z0-9]*$": {
          "$ref": "#/definitions/page"
        }
      }
    },
    "compactLayouts": {
      "type": "array",
      "description": "高亮字段"
    },
    "enable_split": {
      "type": "boolean",
      "description": "是否配置默认分屏"
    },
    "field_groups": {
      "type": "array",
      "description": "字段分组"
    }
  },
  "definitions": {
    "field": {
      "type": "object",
      "description": "对象字段",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "description": "字段名称"
        },
        "label": {
          "type": "string",
          "description": "字段显示名称"
        },
        "is_name": {
          "type": "boolean",
          "description": "将当前字段叫标记为name字段，用于选择数据时的显示名称"
        },
        "column_name": {
          "type": "string",
          "description": "数据库字段名"
        },
        "object": {
          "type": "string",
          "description": "字段所属对象"
        },
        "type": {
          "type": "string",
          "description": "字段类型",
          "anyOf": [
            {
              "enum": [
                "text",
                "textarea",
                "html",
                "select",
                "color",
                "boolean",
                "toggle",
                "date",
                "datetime",
                "time",
                "number",
                "currency",
                "percent",
                "password",
                "lookup",
                "master_detail",
                "grid",
                "table",
                "url",
                "email",
                "avatar",
                "location",
                "image",
                "object",
                "[object]",
                "[Object]",
                "[grid]",
                "[text]",
                "selectCity",
                "audio",
                "filesize",
                "file",
                "code",
                "autonumber",
                "markdown",
                "formula",
                "summary"
              ]
            }
          ]
        },
        "sort_no": {
          "type": "integer",
          "description": "排序号, 默认值100"
        },
        "group": {
          "type": "string",
          "description": "分组名称"
        },
        "defaultValue": {
          "type": ["string", "boolean", "array", "integer"],
          "description": "默认值"
        },
        "allowedValues": {
          "type": ["string", "boolean", "array"],
          "description": "允许的值"
        },
        "multiple": {
          "type": "boolean",
          "description": "支持多选"
        },
        "required": {
          "type": ["boolean", "string"],
          "description": "是否必填"
        },
        "enable_encryption": {
          "type": ["boolean"],
          "description": "是否加密"
        },
        "is_wide": {
          "type": "boolean",
          "description": "是否宽字段，如果为true，则在详细页面，一个字段占一行"
        },
        "readonly": {
          "type": "boolean",
          "description": "是否只读"
        },
        "static": {
          "type": "boolean",
          "description": "静态模式，显示为只读，但是可以通过默认值，自动填充或自定义脚本设置该字段值"
        },
        "hidden": {
          "type": "boolean",
          "description": "是否隐藏"
        },
        "omit": {
          "type": "boolean",
          "description": "忽略此字段"
        },
        "index": {
          "type": "boolean",
          "description": "创建索引"
        },
        "searchable": {
          "type": "boolean",
          "description": "允许搜索"
        },
        "sortable": {
          "type": "boolean",
          "description": "允许排序"
        },
        "precision": {
          "type": "integer",
          "description": "数值类型字段的最大长度，默认值18"
        },
        "scale": {
          "type": "integer",
          "description": "数值类型的小数位数，默认值2"
        },
        "reference_to": {
          "type": ["string", "array"],
          "description": "引用的对象"
        },
        "reference_to_field": {
          "type": "string",
          "description": "引用的对象的字段，按照此字段去查找相关记录"
        },
        "modal_mode": {
          "type": "string",
          "description": "lookup字段弹出框模式: 'dialog' | 'drawer' ",
          "enum": ["dialog", "drawer"]
        },
        "show_as_qr": {
          "type": "boolean",
          "description": "显示为二维码"
        },
        "table_schema": {
          "type": ["string", "object"],
          "description": "lookup字段弹出框表格定义，可以定义为列表视图名称或列表属性"
        },
        "rows": {
          "type": "integer",
          "description": "多行文本默认行数"
        },
        "firstOption": {
          "type": "boolean"
        },
        "options": {
          "anyOf": [
            {
              "items": {
                "type": "string",
                "pattern": "^[^:]+(:[^:]+)?(:[0-9a-fA-F]{6})?$"
              },
              "type": "array",
              "title": "One option per line. Three definition formats are supported. value, label:value, label:value:FFFFFF, the third format can set the color of each option, if supply as a string array."
            },
            {
              "items": {
                "type": "object",
                "required": ["label", "value"],
                "additionalProperties": false,
                "properties": {
                  "label": {
                    "type": "string",
                    "title": "Options display name"
                  },
                  "value": {
                    "type": ["string", "number", "boolean"],
                    "title": "Options value saved as"
                  },
                  "color": {
                    "title": "Options color showed as background",
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{6}$"
                      }
                    ]
                  },
                  "description": {
                    "type": "string",
                    "title": "Options description "
                  },
                  "icon": {
                    "type": "string",
                    "title": "Options icon name"
                  }
                }
              },
              "type": "array",
              "title": "The label and value propertie is required if supply as a object array."
            },
            {
              "type": "string",
              "title": "Only support a function string if supply as a string."
            }
          ],
          "description": "字段选项"
        },
        "auto_fill_mapping": {
          "anyOf": [
            {
              "items": {
                "type": "object",
                "required": ["from", "to"],
                "additionalProperties": false,
                "properties": {
                  "from": {
                    "type": "string",
                    "title": "从：引用对象中的字段"
                  },
                  "to": {
                    "type": "string",
                    "title": "填充到：当前表单字段"
                  }
                }
              },
              "type": "array",
              "title": "自动填充规则，选择数据后，将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
            }
          ],
          "description": "自动填充规则，选择数据后，将按此规则中的映射关系把引用对象中的字段值自动填充到当前表单字段中。"
        },
        "description": {
          "type": "string",
          "description": "字段描述"
        },
        "filterable": {
          "type": "boolean",
          "description": "过滤器默认字段"
        },
        "inlineHelpText": {
          "type": "string",
          "description": "提示文本"
        },
        "unique": {
          "type": "boolean",
          "description": "重复"
        },
        "optionsFunction": {
          "type": "string",
          "description": "字段选项函数名称"
        },
        "min": {
          "type": ["integer", "string"],
          "description": "最小长度。支持字符串，数字，金额，日期类型字段"
        },
        "max": {
          "type": ["integer", "string"],
          "description": "最大长度。支持字符串，数字，金额，日期类型字段"
        },
        "blackbox": {
          "type": "boolean",
          "description": "不校验字段类型"
        },
        "disabled": {
          "type": "boolean",
          "description": "禁用"
        },
        "reference_sort": {
          "type": "object",
          "description": "排序方式"
        },
        "reference_limit": {
          "type": "number",
          "description": "一次最多显示数据"
        },
        "is_company_only": {
          "type": "boolean",
          "description": "本公司"
        },
        "is_company_limited": {
          "type": ["boolean", "string"],
          "description": "本公司"
        },
        "system": {
          "type": "string"
        },
        "depend_on": {
          "type": "array"
        },
        "defaultIcon": {
          "type": "string"
        },
        "showIcon": {
          "type": "boolean"
        },
        "primary": {
          "type": "boolean",
          "description": "主键"
        },
        "generated": {
          "type": "boolean",
          "description": "自增"
        },
        "fieldDBType": {
          "type": "string",
          "description": "字段数据库类型"
        },
        "collection": {
          "type": "string",
          "description": "对应对象名"
        },
        "language": {
          "type": "string",
          "description": "模板名"
        },
        "create": {
          "type": "boolean",
          "description": "关联时是否允许创建"
        },
        "regEx": {
          "type": "object",
          "description": "正则表达式"
        },
        "formula": {
          "type": "string",
          "description": "公式"
        },
        "data_type": {
          "type": "string",
          "description": "数据类型",
          "anyOf": [
            {
              "enum": [
                "text",
                "boolean",
                "date",
                "datetime",
                "number",
                "currency",
                "percent"
              ]
            }
          ]
        },
        "summary_object": {
          "type": "string",
          "description": "要汇总的对象"
        },
        "summary_type": {
          "type": "string",
          "description": "汇总类型",
          "anyOf": [
            {
              "enum": ["count", "sum", "min", "max", "avg"]
            }
          ]
        },
        "summary_field": {
          "type": "string",
          "description": "要聚合的字段"
        },
        "summary_filters": {
          "type": ["array", "string"],
          "description": "要汇总的子表记录的过滤条件"
        },
        "formula_blank_value": {
          "type": "string",
          "description": "空白字段处理，zeroes表示将空白字段视为零，blanks表示将空白字段视为空白，默认为zeroes",
          "anyOf": [
            {
              "enum": ["zeroes", "blanks"]
            }
          ]
        },
        "filters": {
          "type": ["array", "string"],
          "description": "过滤条件"
        },
        "filtersFunction": {
          "type": "string",
          "description": "过滤条件函数名称"
        },
        "searchable_default": {
          "type": ["object"],
          "description": "搜索表单默认值"
        },
        "relatedList": {
          "type": "boolean",
          "description": "用于表示是否在相关表的详细页面中作为子表显示"
        },
        "write_requires_master_read": {
          "type": "boolean",
          "description": "设置主记录上创建、编辑或删除子记录所需的最低访问级别。此字段仅适用于master_detail字段类型。true--允许具有'读取'访问权限的用户创建、编辑或删除子记录。false = 允许具有'读取/写入'访问权限的用户创建、编辑或删除子记录的权限。此设置比 true 更严格，并且是默认值。"
        },
        "picklist": {
          "type": "string",
          "description": "指定字段的选项列表值集"
        },
        "modal_mode": {
          "type": "string"
        },
        "visible_on": {
          "type": "string"
        },
        "amis": {
          "type": "object",
          "description": "amis属性"
        },
        "editorDidMount": {
          "type": "string",
          "description": "编辑器渲染完成后执行"
        },
        "enable_enhanced_lookup": {
          "type": "boolean",
          "description": "启用增强lookup模式，当开启时，该字段会弹出窗口显示可选项！"
        },
        "enable_thousands": {
          "type": "boolean",
          "description": "显示千分符"
        }
      }
    },
    "list_view": {
      "type": "object",
      "description": "列表视图",
      "additionalProperties": false,
      "properties": {
        "label": {
          "type": "string",
          "description": "视图显示名称"
        },
        "type": {
          "type": "string",
          "description": "列表显示类型，默认为list",
          "enum": ["calendar"]
        },
        "filter_scope": {
          "type": "string",
          "description": "范围",
          "enum": ["space", "mine", "all"]
        },
        "columns": {
          "type": "array",
          "description": "列表显示的字段"
        },
        "mobile_columns": {
          "type": "array",
          "description": "手机模式下列表显示的字段"
        },
        "extra_columns": {
          "type": "array",
          "description": "额外在列表显示的字段"
        },
        "order": {
          "type": "array",
          "description": "排序"
        },
        "filters": {
          "type": ["array", "string"],
          "description": "过滤条件"
        },
        "filter_fields": {
          "type": "array",
          "description": "过滤的字段"
        },
        "searchable_default": {
          "type": ["object"],
          "description": "搜索表单默认值"
        },
        "sort": {
          "type": "array",
          "description": "排序"
        },
        "options": {
          "type": "object",
          "description": "额外选项"
        },
        "show_count": {
          "type": "boolean",
          "description": "显示条目数"
        }
      }
    },
    "action": {
      "type": "object",
      "description": "操作按钮",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "description": "按钮名称"
        },
        "label": {
          "type": "string",
          "description": "按钮显示名称"
        },
        "is_enable": {
          "type": "boolean",
          "description": "是否启用"
        },
        "visible": {
          "type": ["string", "boolean"],
          "description": "是否有效"
        },
        "on": {
          "type": "string",
          "description": "显示位置, list: 只显示在列表右上角; record: 显示在记录查看页右上角，以及列表视图中每项的下拉菜单中; record_more: 显示在记录查看页右上角的“更多”下拉菜单中，以及列表视图中每项的下拉菜单中; list_item: 只显示在列表视图中每项的下拉菜单中; record_only: 只显示在记录查看页右上角;record_only_more: 只显示在记录查看页右上角的“更多”下拉菜单中",
          "enum": [
            "list",
            "record",
            "record_more",
            "list_item",
            "record_only",
            "record_only_more"
          ]
        },
        "todo": {
          "type": "string",
          "description": "执行的脚本"
        },
        "sort": {
          "type": "number",
          "description": "显示顺序"
        },
        "is_file": {
          "type": "boolean",
          "description": "是否是附件"
        },
        "type": {
          "type": "string",
          "description": "按钮类型",
          "anyOf": [
            {
              "enum": ["script", "amis_button"]
            }
          ]
        },
        "amis_schema": {
          "type": ["string", "object"],
          "description": ""
        }
      }
    },
    "permission": {
      "type": "object",
      "description": "对象权限",
      "additionalProperties": false,
      "properties": {
        "allowRead": {
          "type": "boolean",
          "description": "允许查看"
        },
        "allowCreate": {
          "type": "boolean",
          "description": "允许创建"
        },
        "allowEdit": {
          "type": "boolean",
          "description": "允许修改"
        },
        "allowDelete": {
          "type": "boolean",
          "description": "允许删除"
        },
        "viewAllRecords": {
          "type": "boolean",
          "description": "查看所有记录"
        },
        "modifyAllRecords": {
          "type": "boolean",
          "description": "修改所有记录"
        },
        "viewCompanyRecords": {
          "type": "boolean",
          "description": "查看本分部"
        },
        "modifyCompanyRecords": {
          "type": "boolean",
          "description": "修改本分部"
        },
        "allowReadFiles": {
          "type": "boolean",
          "description": "允许查看附件"
        },
        "allowCreateFiles": {
          "type": "boolean",
          "description": "允许创建附件"
        },
        "allowEditFiles": {
          "type": "boolean",
          "description": "允许修改附件"
        },
        "allowDeleteFiles": {
          "type": "boolean",
          "description": "允许删除附件"
        },
        "viewAllFiles": {
          "type": "boolean",
          "description": "查看所有附件"
        },
        "modifyAllFiles": {
          "type": "boolean",
          "description": "修改所有附件"
        },
        "disabled_list_views": {
          "type": "array",
          "description": "禁用对象列表视图"
        },
        "disabled_actions": {
          "type": "array",
          "description": "禁用操作按钮"
        },
        "unreadable_fields": {
          "type": "array",
          "description": "不可见字段"
        },
        "uneditable_fields": {
          "type": "array",
          "description": "不可编辑字段"
        },
        "unrelated_objects": {
          "type": "array",
          "description": "禁用关联对象"
        },
        "uneditable_related_list": {
          "type": "array",
          "description": "关联对象只读"
        }
      }
    },
    "trigger": {
      "type": "object",
      "description": "触发器",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "description": "操作名称"
        },
        "label": {
          "type": "string",
          "description": "操作显示名称"
        },
        "is_enable": {
          "type": "boolean",
          "description": "是否启用"
        },
        "on": {
          "type": "string",
          "description": "显示位置, client: 在客户端执行; server: 在服务端执行",
          "enum": ["client", "server"]
        },
        "when": {
          "type": "string",
          "description": "在什么时候触发：before.insert： 新增记录之前；after.insert：新增记录之后；before.update：修改记录之前；after.update：修改记录之后；after.remove：删除记录之前；after.remove：删除记录之后；",
          "enum": [
            "before.insert",
            "after.insert",
            "before.update",
            "after.update",
            "before.remove",
            "after.remove"
          ]
        },
        "todo": {
          "type": "string",
          "description": "执行的脚本"
        }
      }
    },
    "method": {
      "type": "string"
    },
    "listener": {
      "type": "object",
      "description": "触发器",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "description": "监听器名称"
        },
        "listenTo": {
          "type": "string",
          "description": "监听对象名"
        },
        "beforeInsert": {
          "type": "string",
          "description": "新增前事件"
        },
        "beforeUpdate": {
          "type": "string",
          "description": "修改前事件"
        },
        "beforeDelete": {
          "type": "string",
          "description": "删除前事件"
        },
        "afterInsert": {
          "type": "string",
          "description": "新增后事件"
        },
        "afterUpdate": {
          "type": "string",
          "description": "修改后事件"
        },
        "afterDelete": {
          "type": "string",
          "description": "删除后事件"
        }
      }
    },
    "page": {
      "type": "object",
      "description": "微页面",
      "additionalProperties": false,
      "properties": {
        "lookup": {
          "type": "object",
          "additionalProperties": false,
          "description": "lookup类型微页面",
          "properties": {
            "is_enable": {
              "type": "boolean",
              "description": "是否启用"
            },
            "amis_schema": {
              "type": "object",
              "description": "amis schema"
            }
          }
        }
      }
    }
  }
}
