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