blob: 05b069c19a0e9a64c559b4ca84ec4ede482f3281 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://fuchsia.com/schemas/sdk/banjo_library.json",
"description": "A BANJO library",
"type": "object",
"allOf": [
{
"$ref": "common.json#/definitions/sdk_element"
},
{
"properties": {
"type": {
"allOf": [
{
"$ref": "common.json#/definitions/type"
},
{
"enum": [
"banjo_library"
]
}
]
},
"name": {
"description": "Name of the library",
"$ref": "common.json#/definitions/banjo_library_name"
},
"root": {
"description": "The root of the element in the SDK",
"type": "string"
},
"sources": {
"description": "List of library sources",
"type": "array",
"items": {
"$ref": "common.json#/definitions/file"
}
},
"deps": {
"description": "List of libraries this library depends on",
"type": "array",
"items": {
"$ref": "common.json#/definitions/banjo_library_name"
}
}
},
"required": [
"deps",
"root",
"sources",
"name",
"type"
],
"additionalProperties": false
}
]
}