blob: 8644ed66957963a2ddb09072a4c88e14d103135f [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"allOf": [
{
"$ref": "common.json#/definitions/sdk_element"
},
{
"additionalProperties": false,
"properties": {
"files": {
"$ref": "#/definitions/fileGroup",
"description": "The list of files pertaining to the element"
},
"name": {
"description": "Name of the tool",
"type": "string"
},
"root": {
"description": "The root of the element in the SDK",
"type": "string"
},
"target_files": {
"additionalProperties": false,
"description": "The target-specific files, per architecture",
"maxProperties": 2,
"minProperties": 1,
"properties": {
"arm64": {
"$ref": "#/definitions/fileGroup",
"description": "Files for the arm64 architecture"
},
"x64": {
"$ref": "#/definitions/fileGroup",
"description": "Files for the x64 architecture"
}
},
"type": "object"
},
"type": {
"allOf": [
{
"$ref": "common.json#/definitions/kind"
},
{
"enum": [
"host_tool"
]
}
]
}
},
"required": [
"root",
"name",
"type"
]
}
],
"definitions": {
"fileGroup": {
"description": "A collection of files",
"items": {
"$ref": "common.json#/definitions/file"
},
"type": "array"
}
},
"description": "A host tool",
"id": "http://fuchsia.com/schemas/sdk/host_tool.json",
"type": "object"
}