blob: d2b533a75aa002d94e4095f9c41d8ab8a4311308 [file]
{
"$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/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"
]
}
]
},
"stable": {
"description": "If true, the atom is subject to API compatibility policy. If false, it its experimental and may change without warning.",
"type": "boolean"
}
},
"required": [
"deps",
"root",
"sources",
"name",
"type",
"stable"
]
}
],
"description": "A FIDL library",
"$id": "http://fuchsia.com/schemas/sdk/fidl_library.json",
"type": "object"
}