You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
4 months ago
|
{
|
||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
|
"id": "http://fuchsia.com/schemas/sdk/fidl_library.json",
|
||
|
"description": "A FIDL library",
|
||
|
"type": "object",
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "common.json#/definitions/sdk_element"
|
||
|
},
|
||
|
{
|
||
|
"properties": {
|
||
|
"type": {
|
||
|
"allOf": [
|
||
|
{
|
||
|
"$ref": "common.json#/definitions/type"
|
||
|
},
|
||
|
{
|
||
|
"enum": [
|
||
|
"fidl_library"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"name": {
|
||
|
"description": "Name of the library",
|
||
|
"$ref": "common.json#/definitions/fidl_library_name"
|
||
|
},
|
||
|
"root": {
|
||
|
"description": "The root of the element in the SDK",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"sources": {
|
||
|
"description": "List of library sources",
|
||
|
"type": "array",
|
||
|
"minItems": 1,
|
||
|
"items": {
|
||
|
"$ref": "common.json#/definitions/file"
|
||
|
}
|
||
|
},
|
||
|
"deps": {
|
||
|
"description": "List of libraries this library depends on",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"$ref": "common.json#/definitions/fidl_library_name"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"deps",
|
||
|
"root",
|
||
|
"sources",
|
||
|
|
||
|
"name",
|
||
|
"type"
|
||
|
],
|
||
|
"additionalProperties": false
|
||
|
}
|
||
|
]
|
||
|
}
|