| { |
| "description": "A FIDL library", |
| "type": "object", |
| "allOf": [ |
| { |
| "$ref": "common.json#/definitions/sdk_element" |
| }, |
| { |
| "properties": { |
| "type": { |
| "description": "Marker for this type of element", |
| "type": "string", |
| "enum": [ |
| "fidl_library" |
| ] |
| }, |
| "name": { |
| "description": "Name of the library", |
| "$ref": "common.json#/definitions/fidl_library_name" |
| }, |
| "sources": { |
| "description": "List of library sources", |
| "type": "array", |
| "items": { |
| "$ref": "common.json#/definitions/file" |
| } |
| } |
| }, |
| "required": [ |
| "name", |
| "sources", |
| "type" |
| ] |
| } |
| ] |
| } |