"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":[
"minAPIVersion",
"distributedNotificationEnabled",
"keepAlive",
"removable",
"singleton",
"userDataClearable",
"accessible"
]
},
"properties":{
"minAPIVersion":{
"description":"Indicates the minimum API version required for running an application. This label is an integer and can be defaulted.",
"type":"integer",
"minimum":0,
"maximum":2147483647
},
"distributedNotificationEnabled":{
"description":"Describes whether the application has distributed notifications.",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"keepAlive":{
"description":"Specifies whether the application will keep alive. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"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",
"deprecationMessage":"Deprecated since api 9.",
"default":true
},
"singleton":{
"description":"Describes whether the application is singleton mode. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"userDataClearable":{
"description":"Describes whether to allow the application to clear user data. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":true
},
"accessible":{
"description":"Describes whether to visit the application install catalogue. This attribute takes effect only when the system application or privilege application is used. And the aplpication must be a stage module",
"type":"boolean",
"default":false
}
}
}
},
"required":[
"app"
],
"propertyNames":{
"enum":[
"app"
]
},
"properties":{
"app":{
"description":"Indicates the global configuration of an application. Different .hap files of the same application must use the same app configuration.",
"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.",
"description":"Indicates the index to the application icon file, in the format of \"$media:application_icon\".This label can be left blank by default.",
"description":"Describes the application vendor.",
"type":"string",
"maxLength":255
},
"versionCode":{
"description":"Indicates the versionCode 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
},
"versionName":{
"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.",
"description":"Describes whether the application has distributed notifications.",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"entityType":{
"description":"Describes the application type.",
"type":"string",
"deprecationMessage":"Deprecated since api 9.",
"enum":[
"game",
"media",
"communication",
"news",
"travel",
"utility",
"shopping",
"education",
"kids",
"business",
"photography",
"unspecified"
],
"default":"unspecified"
},
"keepAlive":{
"description":"Specifies whether the application will keep alive. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"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",
"deprecationMessage":"Deprecated since api 9.",
"default":true
},
"singleton":{
"description":"Describes whether the application is singleton mode. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":false
},
"userDataClearable":{
"description":"Describes whether to allow the application to clear user data. This attribute takes effect only when the system application or privilege application is used.@deprecated",
"type":"boolean",
"deprecationMessage":"Deprecated since api 9.",
"default":true
},
"accessible":{
"description":"Describes whether to visit the application install catalogue. This attribute takes effect only when the system application or privilege application is used. And the aplpication must be a stage module",
"type":"boolean",
"default":false
},
"multiProjects":{
"description":"Indicates whether current project supports multiple project.",
"type":"boolean",
"default":false
},
"asanEnabled":{
"description":"Indicates whether to support asan.",
"type":"boolean",
"default":false
},
"default":{
"$ref":"#/definitions/default"
},
"tablet":{
"$ref":"#/definitions/default"
},
"tv":{
"$ref":"#/definitions/default"
},
"wearable":{
"$ref":"#/definitions/default"
},
"car":{
"$ref":"#/definitions/default"
},
"2in1":{
"$ref":"#/definitions/default"
},
"targetBundleName":{
"description":"Indicates the target bundle name of an overlay 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.",
"description":"Indicates whether the application enables cloud file sync.",
"type":"boolean",
"default":false
},
"configuration":{
"description":"Indicates the configuration of the application, in the format of \"$profile:configuration\".This configuration can be left blank by default.",