{
  // 这是一个关于 JSSlot 的 schema 示例
  version: '1.0.0',
  componentsMap: [
    {
      componentName: 'Page',
      package: 'rax-view',
      version: '^1.0.0',
      destructuring: false,
      exportName: 'Page',
    },
    {
      componentName: 'Text',
      package: 'rax-text',
      version: '^1.0.0',
      destructuring: false,
      exportName: 'Text',
    },
    {
      componentName: 'Table',
      package: 'rax-table',
      version: '^1.0.0',
      destructuring: false,
      exportName: 'Table',
    },
  ],
  componentsTree: [
    {
      componentName: 'Page',
      props: {},
      lifeCycles: {},
      fileName: 'home',
      meta: {
        router: '/',
      },
      dataSource: {
        list: [],
      },
      children: [
        {
          componentName: 'Table',
          props: {
            renderCell: {
              type: 'JSSlot',
              params: ['cellData', 'rowData', 'rowIndex'],
              value: [
                {
                  componentName: 'Text',
                  props: {
                    content: 'Hello world',
                  },
                },
                {
                  componentName: 'Text',
                  condition: {
                    type: 'JSExpression',
                    value: 'this.state.isNameVisible',
                  },
                  props: {
                    content: {
                      type: 'JSExpression',
                      value: 'this.rowData.name',
                    },
                  },
                },
              ],
            },
          },
        },
      ],
    },
  ],
  i18n: {
    'zh-CN': {
      'hello-world': '你好，世界！',
    },
    'en-US': {
      'hello-world': 'Hello world!',
    },
  },
  config: {
    sdkVersion: '1.0.3',
    historyMode: 'hash',
    targetRootID: 'root',
  },
  meta: {
    name: 'Rax App Demo',
    git_group: 'demo-group',
    project_name: 'demo-project',
    description: '这是一个示例应用',
    spma: 'spmademo',
    creator: '张三',
  },
}
