blob: 26de25fb823fcb741a9dbadef2688e6d404245ba [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/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/fidl_library_name"
},
"type": "array"
},
"name": {
"$ref": "common.json#/definitions/fidl_library_name",
"description": "Name of the library"
},
"root": {
"description": "The root of the element in the SDK",
"type": "string"
},
"sources": {
"description": "List of library sources",
"items": {
"$ref": "common.json#/definitions/file"
},
"minItems": 1,
"type": "array"
},
"type": {
"allOf": [
{
"$ref": "common.json#/definitions/kind"
},
{
"enum": [
"fidl_library"
]
}
]
}
},
"required": [
"deps",
"root",
"sources",
"name",
"type"
]
}
],
"description": "A FIDL library",
"id": "http://fuchsia.com/schemas/sdk/fidl_library.json",
"type": "object"
}