{
"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"
]
},
"properties": {
"bundleName": {
"description": "Indicates the bundle name of the application. It uniquely identifies the application. The value is a string with 7 to 127 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": 127,
"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",
"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 Android 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": [
"phone",
"tablet",
"tv"
]
}
},
"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.",
"type": "boolean"
},
"userDataClearable": {
"description": "Specifies whether to allow clear data. only for system application",
"type": "boolean"
}
}
},
"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",
"liteWearable",
"phone",
"tablet",
"tv",
"wearable"
]
},
"properties": {
"default": {
"description": "The configuration
没有合适的资源?快使用搜索试试~ 我知道了~
openharmony toolchains
共18个文件
json:7个
exe:5个
jar:3个
需积分: 1 0 下载量 25 浏览量
2023-12-08
21:51:23
上传
评论
收藏 11.31MB ZIP 举报
温馨提示
openharmony toolchains
资源推荐
资源详情
资源评论
收起资源包目录
toolchains.zip (18个子文件)
toolchains
lib
OpenHarmony.p12 8KB
OpenHarmonyProfileRelease.pem 3KB
app_packing_tool.jar 40KB
app_unpacking_tool.jar 62KB
UnsgnedDebugProfileTemplate.json 2KB
UnsgnedReleasedProfileTemplate.json 2KB
OpenHarmonyProfileDebug.pem 3KB
hap-sign-tool.jar 8.3MB
syscap_tool.exe 57KB
oh-uni-package.json 174B
ark_asm.exe 2.1MB
ark_disasm.exe 1.42MB
syscapcheck
sysCapSchema.json 3KB
hdc_std.exe 3.27MB
restool.exe 4.65MB
id_defined.json 95KB
configcheck
configSchema_rich.json 152KB
configSchema_lite.json 32KB
共 18 条
- 1
资源评论
九流下半
- 粉丝: 141
- 资源: 39
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功