{
  "title": "navigator",
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "description": "在哪个目标上发生跳转，默认当前小程序，有效值 self/miniProgram",
      "defaultValue": "self",
      "enum": [
        "self",
        "miniProgram"
      ]
    },
    "url": {
      "type": "string",
      "description": "应用内的跳转链接"
    },
    "open-type": {
      "type": "string",
      "description": "跳转方式",
      "defaultValue": "navigate",
      "enum": [
        "navigate",
        "redirect",
        "switchTab",
        "navigateBack",
        "reLaunch",
        "exit"
      ]
    },
    "delta": {
      "type": "number",
      "description": "当 open-type 为navigateBack时有效，表示回退的层数"
    },
    "app-id": {
      "type": "string",
      "description": "当target=\"miniProgram\"时有效，要打开的小程序 App Key (小程序后台设置-开发设置中)"
    },
    "path": {
      "type": "string",
      "description": "当target=\"miniProgram\"时有效，打开的页面路径，如果为空则打开首页"
    },
    "extra-data": {
      "type": "object",
      "description": "当target=\"miniProgram\"时有效，需要传递给目标小程序的数据，目标小程序可在 App.onLaunch、App.onShow 中获取到这份数据"
    },
    "version": {
      "type": "string",
      "description": "当target=\"miniProgram\"时有效，要打开的小程序版本，有效值 develop（开发版），trial（体验版），release（正式版），仅在当前小程序为开发版或体验版时此参数有效；如果当前小程序是正式版，则打开的小程序必定是正式版",
      "defaultValue": "release",
      "enum": [
        "develop",
        "trial",
        "release"
      ]
    },
    "hover-class": {
      "type": "string",
      "description": "指定点击时的样式类，当hover-class=\"none\"时，没有点击态效果",
      "defaultValue": "navigator-hover"
    },
    "hover-stop-propagation": {
      "type": "boolean",
      "description": "指定是否阻止本节点的祖先节点出现点击态",
      "defaultValue": false
    },
    "hover-start-time": {
      "type": "number",
      "description": "按住后多久出现点击态（单位：毫秒）",
      "defaultValue": 50
    },
    "hover-stay-time": {
      "type": "number",
      "description": "手指松开后点击态保留时间（单位：毫秒）",
      "defaultValue": 600
    },
    "bindSuccess": {
      "tsType": "() => void",
      "description": "当target=\"miniProgram\"时有效，跳转小程序成功时触发 success 事件,event.detail = {errMsg: errMsg}"
    },
    "bindFail": {
      "tsType": "() => void",
      "description": "当target=\"miniProgram\"时有效，跳转小程序失败时触发 fail 事件，event.detail 同上"
    },
    "bindComplete": {
      "tsType": "() => void",
      "description": "当target=\"miniProgram\"时有效，跳转小程序完成时触发 complete 事件，event.detail 同上"
    }
  },
  "additionalProperties": false
}