You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.7 KiB
73 lines
1.7 KiB
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"id": "http://fuchsia.com/schemas/sdk/host_tool.json",
|
|
"description": "A host tool",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"$ref": "common.json#/definitions/sdk_element"
|
|
},
|
|
{
|
|
"properties": {
|
|
"type": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "common.json#/definitions/type"
|
|
},
|
|
{
|
|
"enum": [
|
|
"host_tool"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Name of the tool",
|
|
"type": "string"
|
|
},
|
|
"root": {
|
|
"description": "The root of the element in the SDK",
|
|
"type": "string"
|
|
},
|
|
"files": {
|
|
"description": "The list of files pertaining to the element",
|
|
"$ref": "#/definitions/fileGroup"
|
|
},
|
|
"target_files": {
|
|
"description": "The target-specific files, per architecture",
|
|
"type": "object",
|
|
"properties": {
|
|
"x64": {
|
|
"description": "Files for the x64 architecture",
|
|
"$ref": "#/definitions/fileGroup"
|
|
},
|
|
"arm64": {
|
|
"description": "Files for the arm64 architecture",
|
|
"$ref": "#/definitions/fileGroup"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"minProperties": 1,
|
|
"maxProperties": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"root",
|
|
|
|
"name",
|
|
"type"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
],
|
|
"definitions": {
|
|
"fileGroup": {
|
|
"description": "A collection of files",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.json#/definitions/file"
|
|
}
|
|
}
|
|
}
|
|
}
|