UNPKG

hdw2

Version:

鸿蒙前端hdc调试工具

935 lines 159 kB
{ "title": "JSON schema for HarmonyProfile.json", "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": true, "required": [ "app", "deviceConfig", "module" ], "propertyNames": { "enum": [ "app", "deviceConfig", "module" ] }, "properties": { "app": { "description": "Indicates the global configuration of an application. Different .hap files of the same application must use the same app configuration.", "type": "object", "required": [ "bundleName", "version" ], "propertyNames": { "enum": [ "bundleName", "vendor", "version", "apiVersion", "type", "relatedBundleName", "smartWindowSize", "smartWindowDeviceType", "targetBundleList", "singleton", "removable", "userDataClearable", "asanEnabled" ] }, "properties": { "bundleName": { "description": "Indicates the bundle name of the application. It uniquely identifies the application. The value is a string with 7 to 128 bytes of a reverse domain name, for example, com.huawei.himusic. It is recommended that the first label of this attribute is the top-level domain com, the second label is the vendor or individual name, and the third label is the application name. This label is a string type and cannot be defaulted.", "type": "string", "maxLength": 128, "minLength": 7, "pattern": "^(([a-zA-Z]|[a-zA-Z][0-9a-zA-Z_]+)[.]([0-9a-zA-Z_.]+))|([{]([a-zA-Z]|[a-zA-Z][0-9a-zA-Z_]+)[}](.huawei.com))|[{](bundleName)[}]$" }, "vendor": { "description": "Describes the application vendor. The value is a string with a maximum of 255 bytes. This label is a string type and can be defaulted.", "type": "string", "maxLength": 255 }, "removable": { "description": "Describes the application can remove or not. This attribute takes effect only when the system application or privilege application is used.@deprecated", "type": "boolean" }, "version": { "description": "Indicates the version information of the application.Includes two sub-labels:”code” and ”name”.This label cannot be left blank.", "type": "object", "required": [ "code", "name" ], "propertyNames": { "enum": [ "code", "name", "minCompatibleVersionCode" ] }, "properties": { "code": { "description": "Indicates the version number of the application. The value is an integer greater than 0. A larger value generally represents a later version.The system determines the application version based on the tag value.This label cannot be left blank.", "type": "integer", "minimum": 0, "maximum": 2147483647 }, "name": { "description": "Indicates the text description of the application version.Used for displaying to users.A string can contain a maximum of 127 bytes.This label cannot be left blank.", "type": "string", "maxLength": 127, "pattern": "^[0-9.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$" }, "minCompatibleVersionCode": { "description": "This label identifies the earliest historical version compatible with the app pack, which is used for cross-device compatibility determination.This label is an integer and can be defaulted.", "type": "integer", "minimum": 0, "maximum": 2147483647 } } }, "apiVersion": { "description": "This tag identifies the Harmony API version on which the application depends.", "type": "object", "propertyNames": { "enum": [ "compatible", "target", "releaseType" ] }, "properties": { "compatible": { "description": "Indicates the minimum API version required for running an application. This label is an integer and can be defaulted.", "type": "integer", "minimum": 0 }, "target": { "description": "This tag identifies the target API version required for application running. The value is an integer.", "type": "integer", "minimum": 0 }, "releaseType": { "description": "This tag identifies the type of the target API version required for application running. The tag is a string.", "type": "string", "pattern": "^(Canary[1-9][0-9]+|Canary[1-9]|Beta[1-9][0-9]+|Beta[1-9]|Release)$" } } }, "type": { "description": "Describes the application type. The value is a string with 'normal' or 'shareLib'. If the value of label is 'normal', This label can be left blank by default.", "type": "string", "enum": [ "normal", "shareLib" ] }, "relatedBundleName": { "description": "Indicates the name of the package associated with the Harmony application in the independent packaging scenario. The value is a character string. This tag is valid only for system applications.", "type": "string" }, "smartWindowSize": { "description": "Indicates the size of the simulation window. The value is a character string.", "type": "string", "pattern": "^([2-9][0-9]{2}|[1][0-9]{3}|2000)\\*([2-9][0-9]{2}|[1][0-9]{3}|2000)$" }, "smartWindowDeviceType": { "description": "This label indicates the device on which the application is opened using the simulation window, a string array.", "type": "array", "items": { "type": "string", "enum": [ "default", "car", "tablet", "tv", "wearable", "2in1" ] } }, "targetBundleList": { "description": "This tag specifies the list of Harmony services that can be installed without the application. The list contains the bundle name of each Harmony service. A maximum of five bundle names can be configured. This label is a string array type and can be defaulted.", "type": "array", "maxItems": 5, "items": { "type": "string" } }, "singleton": { "description": "Specifies whether the application is multi-instance according to the memory situation. If this attribute is set to true, the application is system application.@deprecated", "type": "boolean" }, "userDataClearable": { "description": "Specifies whether to allow clear data. only for system application.@deprecated", "type": "boolean" }, "asanEnabled": { "description": "Indicates whether to support asan.", "type": "boolean", "default": false } } }, "deviceConfig": { "description": "Indicates the application configuration applied to a specific type of devices. When compiling and generating the HAP package, copy the device type configuration supported by the HAP package to the generated config file. The compilation is not required for the devices that are not supported by the HAP package.", "type": "object", "propertyNames": { "enum": [ "car", "default", "tablet", "tv", "wearable", "2in1" ] }, "properties": { "default": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", "propertyNames": { "enum": [ "keepAlive", "jointUserId", "process", "ark", "directLaunch", "network", "supportBackup", "compressNativeLibs", "allowComponentsProxy" ] }, "properties": { "keepAlive": { "description": "Specifies whether the application will keep alive.If this attribute is set to true, the application will start during the OS startup. If the application process exits, the OS will restart it. This attribute applies only to system applications.This attribute is not supported by basic watches.This label can be left blank by default.@deprecated", "type": "boolean" }, "jointUserId": { "description": "Indicates the user ID shared by applications.Generally, applications run in different processes, and resources used by the applications are isolated. However, in some cases, you may develop multiple applications that need to share resources with each other. This resource sharing is implemented based on the same jointUserId value on the premise that the applications have the same signature.This attribute is not supported by devices running the OHOS.", "type": "string" }, "process": { "description": "Indicates the name of the process running the application or ability.If a process is configured in the deviceConfig tag, all abilities of the application run in this process. You can also set the process attribute for a specific ability, so that the ability can run in this process. If this attribute is set to the same process name as other applications, all these applications can run in the same process on the premise that they have the same jointUserId and the same signature.This attribute is not supported by devices running the OHOS.", "type": "string", "maxLength": 31 }, "ark": { "description": "This tag identifies maple configuration information.", "type": "object", "propertyNames": { "enum": [ "reqVersion", "flag" ] }, "properties": { "reqVersion": { "description": "Maple version number that supports the application.", "type": "object", "propertyNames": { "enum": [ "compatible", "target" ] }, "properties": { "compatible": { "description": "Indicates the minimum maple version that supports the application. This label is an integer.", "type": "integer", "minimum": 0 }, "target": { "description": "Specifies the target maple version of the application. This label is an integer.", "type": "integer", "minimum": 0 } } }, "flag": { "description": "Specifies the type of the maple application.", "type": "string", "enum": [ "m", "mo", "z" ] } } }, "directLaunch": { "description": "Specifies whether the application can be started when the device is locked. Set this attribute to true if you want to start the application without unlocking the device.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "network": { "description": "Indicates the network security configuration. You can customize the network security settings of the application in a security statement configuration file without modifying the application code.", "type": "object", "propertyNames": { "enum": [ "cleartextTraffic", "securityConfig" ] }, "properties": { "cleartextTraffic": { "description": "Specifies whether an application can use plaintext network transmission. The value is of the Boolean type. The value true indicates that plaintext network transmission is enabled.", "type": "boolean" }, "securityConfig": { "description": "Indicates the network security configuration of the application.", "type": "object", "propertyNames": { "enum": [ "domainSettings" ] }, "properties": { "domainSettings": { "description": "Indicates the security settings of the custom network domain. This attribute allows nested domains. To be more specific, the domainSettings object of a large domain can be nested with the domainSettings objects of small network domains.", "type": "object", "propertyNames": { "enum": [ "cleartextPermitted", "domains" ] }, "properties": { "cleartextPermitted": { "description": "Specifies whether plaintext traffic can be transmitted in the custom network domain. If both cleartextTraffic and securityConfig are declared, whether plaintext traffic can be transmitted in the custom network domain is determined by the cleartextPermitted attribute.", "type": "boolean" }, "domains": { "description": "Indicates the domain name configuration. This attribute consists of the subDomains and name sub-attributes.", "type": "array", "items": { "type": "object", "propertyNames": { "enum": [ "subdomains", "name" ] }, "properties": { "subdomains": { "description": "Subdomain name", "type": "boolean" }, "name": { "description": "Domain name", "type": "string" } } } } } } } } } }, "supportBackup": { "description": "Specifies whether the application supports backup and restoration. If this attribute is set to false, backup or restoration will never be performed for the application.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "compressNativeLibs": { "description": "Specifies whether the libs libraries of the .hap file are compressed for storage. If this attribute is set to false, the libs libraries are stored without being compressed and will be directly loaded during the installation of the .hap file.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "allowComponentsProxy": { "description": "Indicates whether the application supports the ability proxy.If this property is set to true, the ability component can be hooked.", "type": "boolean" } } }, "tv": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", "propertyNames": { "enum": [ "keepAlive", "jointUserId", "process", "ark", "directLaunch", "network", "supportBackup", "compressNativeLibs", "allowComponentsProxy" ] }, "properties": { "keepAlive": { "description": "Specifies whether the application will keep alive.If this attribute is set to true, the application will start during the OS startup. If the application process exits, the OS will restart it. This attribute applies only to system applications.This attribute is not supported by basic watches.This label can be left blank by default.", "type": "boolean" }, "jointUserId": { "description": "Indicates the user ID shared by applications.Generally, applications run in different processes, and resources used by the applications are isolated. However, in some cases, you may develop multiple applications that need to share resources with each other. This resource sharing is implemented based on the same jointUserId value on the premise that the applications have the same signature.This attribute is not supported by devices running the OHOS.", "type": "string" }, "process": { "description": "Indicates the name of the process running the application or ability.If a process is configured in the deviceConfig tag, all abilities of the application run in this process. You can also set the process attribute for a specific ability, so that the ability can run in this process. If this attribute is set to the same process name as other applications, all these applications can run in the same process on the premise that they have the same jointUserId and the same signature.This attribute is not supported by devices running the OHOS.", "type": "string", "maxLength": 31 }, "ark": { "description": "This tag identifies maple configuration information.", "type": "object", "propertyNames": { "enum": [ "reqVersion", "flag" ] }, "properties": { "reqVersion": { "description": "Maple version number that supports the application.", "type": "object", "propertyNames": { "enum": [ "compatible", "target" ] }, "properties": { "compatible": { "description": "Indicates the minimum maple version that supports the application. This label is an integer.", "type": "integer", "minimum": 0 }, "target": { "description": "Specifies the target maple version of the application. This label is an integer.", "type": "integer", "minimum": 0 } } }, "flag": { "description": "Specifies the type of the maple application.", "type": "string", "enum": [ "m", "mo", "z" ] } } }, "directLaunch": { "description": "Specifies whether the application can be started when the device is locked. Set this attribute to true if you want to start the application without unlocking the device.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "network": { "description": "Indicates the network security configuration. You can customize the network security settings of the application in a security statement configuration file without modifying the application code.", "type": "object", "propertyNames": { "enum": [ "cleartextTraffic", "securityConfig" ] }, "properties": { "cleartextTraffic": { "description": "Specifies whether an application can use plaintext network transmission. The value is of the Boolean type. The value true indicates that plaintext network transmission is enabled.", "type": "boolean" }, "securityConfig": { "description": "Indicates the network security configuration of the application.", "type": "object", "propertyNames": { "enum": [ "domainSettings" ] }, "properties": { "domainSettings": { "description": "Indicates the security settings of the custom network domain. This attribute allows nested domains. To be more specific, the domainSettings object of a large domain can be nested with the domainSettings objects of small network domains.", "type": "object", "propertyNames": { "enum": [ "cleartextPermitted", "domains" ] }, "properties": { "cleartextPermitted": { "description": "Specifies whether plaintext traffic can be transmitted in the custom network domain. If both cleartextTraffic and securityConfig are declared, whether plaintext traffic can be transmitted in the custom network domain is determined by the cleartextPermitted attribute.", "type": "boolean" }, "domains": { "description": "Indicates the domain name configuration. This attribute consists of the subDomains and name sub-attributes.", "type": "array", "items": { "type": "object", "propertyNames": { "enum": [ "subdomains", "name" ] }, "properties": { "subdomains": { "description": "Subdomain name", "type": "boolean" }, "name": { "description": "Domain name", "type": "string" } } } } } } } } } }, "supportBackup": { "description": "Specifies whether the application supports backup and restoration. If this attribute is set to false, backup or restoration will never be performed for the application.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "compressNativeLibs": { "description": "Specifies whether the libs libraries of the .hap file are compressed for storage. If this attribute is set to false, the libs libraries are stored without being compressed and will be directly loaded during the installation of the .hap file.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "allowComponentsProxy": { "description": "Indicates whether the application supports the ability proxy.If this property is set to true, the ability component can be hooked.", "type": "boolean" } } }, "wearable": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", "propertyNames": { "enum": [ "keepAlive", "jointUserId", "process", "ark", "directLaunch", "network", "supportBackup", "compressNativeLibs", "allowComponentsProxy" ] }, "properties": { "keepAlive": { "description": "Specifies whether the application will keep alive.If this attribute is set to true, the application will start during the OS startup. If the application process exits, the OS will restart it. This attribute applies only to system applications.This attribute is not supported by basic watches.This label can be left blank by default.", "type": "boolean" }, "jointUserId": { "description": "Indicates the user ID shared by applications.Generally, applications run in different processes, and resources used by the applications are isolated. However, in some cases, you may develop multiple applications that need to share resources with each other. This resource sharing is implemented based on the same jointUserId value on the premise that the applications have the same signature.This attribute is not supported by devices running the OHOS.", "type": "string" }, "process": { "description": "Indicates the name of the process running the application or ability.If a process is configured in the deviceConfig tag, all abilities of the application run in this process. You can also set the process attribute for a specific ability, so that the ability can run in this process. If this attribute is set to the same process name as other applications, all these applications can run in the same process on the premise that they have the same jointUserId and the same signature.This attribute is not supported by devices running the OHOS.", "type": "string", "maxLength": 31 }, "ark": { "description": "This tag identifies maple configuration information.", "type": "object", "propertyNames": { "enum": [ "reqVersion", "flag" ] }, "properties": { "reqVersion": { "description": "Maple version number that supports the application.", "type": "object", "propertyNames": { "enum": [ "compatible", "target" ] }, "properties": { "compatible": { "description": "Indicates the minimum maple version that supports the application. This label is an integer.", "type": "integer", "minimum": 0 }, "target": { "description": "Specifies the target maple version of the application. This label is an integer.", "type": "integer", "minimum": 0 } } }, "flag": { "description": "Specifies the type of the maple application.", "type": "string", "enum": [ "m", "mo", "z" ] } } }, "directLaunch": { "description": "Specifies whether the application can be started when the device is locked. Set this attribute to true if you want to start the application without unlocking the device.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "network": { "description": "Indicates the network security configuration. You can customize the network security settings of the application in a security statement configuration file without modifying the application code.", "type": "object", "propertyNames": { "enum": [ "cleartextTraffic", "securityConfig" ] }, "properties": { "cleartextTraffic": { "description": "Specifies whether an application can use plaintext network transmission. The value is of the Boolean type. The value true indicates that plaintext network transmission is enabled.", "type": "boolean" }, "securityConfig": { "description": "Indicates the network security configuration of the application.", "type": "object", "propertyNames": { "enum": [ "domainSettings" ] }, "properties": { "domainSettings": { "description": "Indicates the security settings of the custom network domain. This attribute allows nested domains. To be more specific, the domainSettings object of a large domain can be nested with the domainSettings objects of small network domains.", "type": "object", "propertyNames": { "enum": [ "cleartextPermitted", "domains" ] }, "properties": { "cleartextPermitted": { "description": "Specifies whether plaintext traffic can be transmitted in the custom network domain. If both cleartextTraffic and securityConfig are declared, whether plaintext traffic can be transmitted in the custom network domain is determined by the cleartextPermitted attribute.", "type": "boolean" }, "domains": { "description": "Indicates the domain name configuration. This attribute consists of the subDomains and name sub-attributes.", "type": "array", "items": { "type": "object", "propertyNames": { "enum": [ "subdomains", "name" ] }, "properties": { "subdomains": { "description": "Subdomain name", "type": "boolean" }, "name": { "description": "Domain name", "type": "string" } } } } } } } } } }, "supportBackup": { "description": "Specifies whether the application supports backup and restoration. If this attribute is set to false, backup or restoration will never be performed for the application.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "compressNativeLibs": { "description": "Specifies whether the libs libraries of the .hap file are compressed for storage. If this attribute is set to false, the libs libraries are stored without being compressed and will be directly loaded during the installation of the .hap file.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "allowComponentsProxy": { "description": "Indicates whether the application supports the ability proxy.If this property is set to true, the ability component can be hooked.", "type": "boolean" } } }, "tablet": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", "propertyNames": { "enum": [ "keepAlive", "jointUserId", "process", "ark", "directLaunch", "network", "supportBackup", "compressNativeLibs", "allowComponentsProxy" ] }, "properties": { "keepAlive": { "description": "Specifies whether the application will keep alive.If this attribute is set to true, the application will start during the OS startup. If the application process exits, the OS will restart it. This attribute applies only to system applications.This attribute is not supported by basic watches.This label can be left blank by default.", "type": "boolean" }, "jointUserId": { "description": "Indicates the user ID shared by applications.Generally, applications run in different processes, and resources used by the applications are isolated. However, in some cases, you may develop multiple applications that need to share resources with each other. This resource sharing is implemented based on the same jointUserId value on the premise that the applications have the same signature.This attribute is not supported by devices running the OHOS.", "type": "string" }, "process": { "description": "Indicates the name of the process running the application or ability.If a process is configured in the deviceConfig tag, all abilities of the application run in this process. You can also set the process attribute for a specific ability, so that the ability can run in this process. If this attribute is set to the same process name as other applications, all these applications can run in the same process on the premise that they have the same jointUserId and the same signature.This attribute is not supported by devices running the OHOS.", "type": "string", "maxLength": 31 }, "ark": { "description": "This tag identifies maple configuration information.", "type": "object", "propertyNames": { "enum": [ "reqVersion", "flag" ] }, "properties": { "reqVersion": { "description": "Maple version number that supports the application.", "type": "object", "propertyNames": { "enum": [ "compatible", "target" ] }, "properties": { "compatible": { "description": "Indicates the minimum maple version that supports the application. This label is an integer.", "type": "integer", "minimum": 0 }, "target": { "description": "Specifies the target maple version of the application. This label is an integer.", "type": "integer", "minimum": 0 } } }, "flag": { "description": "Specifies the type of the maple application.", "type": "string", "enum": [ "m", "mo", "z" ] } } }, "directLaunch": { "description": "Specifies whether the application can be started when the device is locked. Set this attribute to true if you want to start the application without unlocking the device.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "network": { "description": "Indicates the network security configuration. You can customize the network security settings of the application in a security statement configuration file without modifying the application code.", "type": "object", "propertyNames": { "enum": [ "cleartextTraffic", "securityConfig" ] }, "properties": { "cleartextTraffic": { "description": "Specifies whether an application can use plaintext network transmission. The value is of the Boolean type. The value true indicates that plaintext network transmission is enabled.", "type": "boolean" }, "securityConfig": { "description": "Indicates the network security configuration of the application.", "type": "object", "propertyNames": { "enum": [ "domainSettings" ] }, "properties": { "domainSettings": { "description": "Indicates the security settings of the custom network domain. This attribute allows nested domains. To be more specific, the domainSettings object of a large domain can be nested with the domainSettings objects of small network domains.", "type": "object", "propertyNames": { "enum": [ "cleartextPermitted", "domains" ] }, "properties": { "cleartextPermitted": { "description": "Specifies whether plaintext traffic can be transmitted in the custom network domain. If both cleartextTraffic and securityConfig are declared, whether plaintext traffic can be transmitted in the custom network domain is determined by the cleartextPermitted attribute.", "type": "boolean" }, "domains": { "description": "Indicates the domain name configuration. This attribute consists of the subDomains and name sub-attributes.", "type": "array", "items": { "type": "object", "propertyNames": { "enum": [ "subdomains", "name" ] }, "properties": { "subdomains": { "description": "Indicates whether a subdomain name is available.This label is a boolean type.", "type": "boolean" }, "name": { "description": "Indicates the domain name.This label is a string type", "type": "string" } } } } } } } } } }, "supportBackup": { "description": "Specifies whether the application supports backup and restoration. If this attribute is set to false, backup or restoration will never be performed for the application.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "compressNativeLibs": { "description": "Specifies whether the libs libraries of the .hap file are compressed for storage. If this attribute is set to false, the libs libraries are stored without being compressed and will be directly loaded during the installation of the .hap file.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "allowComponentsProxy": { "description": "Indicates whether the application supports the ability proxy.If this property is set to true, the ability component can be hooked.", "type": "boolean" } } }, "car": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", "propertyNames": { "enum": [ "keepAlive", "jointUserId", "process", "ark", "directLaunch", "network", "supportBackup", "compressNativeLibs", "allowComponentsProxy" ] }, "properties": { "keepAlive": { "description": "Specifies whether the application will keep alive.If this attribute is set to true, the application will start during the OS startup. If the application process exits, the OS will restart it. This attribute applies only to system applications.This attribute is not supported by basic watches.This label can be left blank by default.", "type": "boolean" }, "jointUserId": { "description": "Indicates the user ID shared by applications.Generally, applications run in different processes, and resources used by the applications are isolated. However, in some cases, you may develop multiple applications that need to share resources with each other. This resource sharing is implemented based on the same jointUserId value on the premise that the applications have the same signature.This attribute is not supported by devices running the OHOS.", "type": "string" }, "process": { "description": "Indicates the name of the process running the application or ability.If a process is configured in the deviceConfig tag, all abilities of the application run in this process. You can also set the process attribute for a specific ability, so that the ability can run in this process. If this attribute is set to the same process name as other applications, all these applications can run in the same process on the premise that they have the same jointUserId and the same signature.This attribute is not supported by devices running the OHOS.", "type": "string", "maxLength": 31 }, "ark": { "description": "This tag identifies maple configuration information.", "type": "object", "propertyNames": { "enum": [ "reqVersion", "flag" ] }, "properties": { "reqVersion": { "description": "Maple version number that supports the application.", "type": "object", "propertyNames": { "enum": [ "compatible", "target" ] }, "properties": { "compatible": { "description": "Indicates the minimum maple version that supports the application. This label is an integer.", "type": "integer", "minimum": 0 }, "target": { "description": "Specifies the target maple version of the application. This label is an integer.", "type": "integer", "minimum": 0 } } }, "flag": { "description": "Specifies the type of the maple application.", "type": "string", "enum": [ "m", "mo", "z" ] } } }, "directLaunch": { "description": "Specifies whether the application can be started when the device is locked. Set this attribute to true if you want to start the application without unlocking the device.This attribute is not supported by devices running the OHOS.", "type": "boolean" }, "network": { "description": "Indicates the network security configuration. You can customize the network security settings of the application in a security statement configuration file without modifying the application code.", "type": "object", "propertyNames": { "enum": [ "cleartextTraffic", "securityConfig" ] }, "properties": { "cleartextTraffic": { "description": "Specifies whether an application can use plaintext network transmission. The value is of the Boolean type. The value true indicates that plaintext network transmission is enabled.", "type": "boolean" }, "securityConfig": { "description": "Indicates the network security configuration of the application.", "type": "object", "propertyNames": { "enum": [ "domainSettings" ] }, "properties": { "domainSettings": { "description": "Indicates the security settings of the custom network domain. This attribute allows nested domains. To be more specific, the domainSettings object of a large domain can be nested with the domainSettings objects of small network domains.", "type": "object", "propertyNames": { "enum": [ "cleartextPermitted", "domains" ] }, "properties": { "cleartextPermitted": { "description": "Specifies whether plaintext traffic can be transmitted in the custom network domain. If both cleartextTraffic and securityConfig are declared, whether plaintext traffic can be transmitted in the custom network domain is determined by the cleartextPermitted attribute.", "type": "boolean" }, "domains": { "description": "Indicates the domain name configuration. This