{
  "module": {
    "name": "home",
    "type": "entry",
    "description": "$string:module_desc",
    "mainElement": "HomeAbility",
    "deviceTypes": [
      "default",
      "tablet",
      "2in1",
//      "wearable"
    ],
    "querySchemes": [
      "weixin",
      "wxopensdk"
    ],
    "deliveryWithInstall": true,
    "installationFree": false,
    "pages": "$profile:main_pages",
    "abilities": [
      {
        "name": "HomeAbility",
        "srcEntry": "./ets/homeability/HomeAbility.ets",
        "description": "$string:HomeAbility_desc",
        "icon": "$media:startIcon",
        "label": "$string:HomeAbility_label",
        "startWindowIcon": "$media:startIcon",
        "startWindowBackground": "$color:start_window_background",
        "exported": true,
        "orientation": "auto_rotation_restricted",
        "continuable": true,
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home",
              "wxentity.action.open"
            ],
            "uris": [
              {
                "type": "general.hyperlink",
              }
            ]
          },
          {
            "entities": [
              "entity.system.browsable"
            ],
            "actions": [
              "ohos.want.action.viewData"
            ],
            "uris": [
              {
                "scheme": "file",
                "type": "text/html",
                // Accept html
                "linkFeature": "FileOpen"
              },
              {
                "scheme": "https"
              },
              {
                "scheme": "http"
              }
            ]
          }
        ],
        "minWindowHeight": 260,
        "minWindowWidth": 360
      }
    ],
    "extensionAbilities": [
      {
        "name": "HomeBackupAbility",
        "srcEntry": "./ets/homebackupability/HomeBackupAbility.ets",
        "type": "backup",
        "exported": false,
        "metadata": [
          {
            "name": "ohos.extension.backup",
            "resource": "$profile:backup_config"
          }
        ]
      }
    ],
    "requestPermissions": [
      {
        "name": "ohos.permission.INTERNET",
        "reason": "$string:permission_reason_INTERNET",
        "usedScene": {
          "when": "inuse",
          "abilities": [
            "HomeAbility"
          ]
        }
      },
      {
        "name": "ohos.permission.PRINT",
        "reason": "$string:permission_reason_PRINT",
        "usedScene": {
          "when": "inuse",
          "abilities": [
            "HomeAbility"
          ]
        }
      },
      {
        "name": "ohos.permission.MICROPHONE",
        "reason": "$string:permission_reason_MICROPHONE",
        "usedScene": {
          "when": "inuse",
          "abilities": [
            "HomeAbility"
          ]
        }
      },
      {
        "name": "ohos.permission.CAMERA",
        "reason": "$string:permission_reason_CAMERA",
        "usedScene": {
          "when": "inuse",
          "abilities": [
            "HomeAbility"
          ]
        }
      },
    ],

  }
}