| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "additionalProperties": false, |
| "definitions": { |
| "manifest": { |
| "additionalProperties": false, |
| "description": "A named list of partitions and OEM files necessary to flash a device.", |
| "properties": { |
| "hw_revision": { |
| "description": "A board name used to verify whether the device can be flashed using this manifest.", |
| "type": "string" |
| }, |
| "products": { |
| "description": "A list of product specifications that can be flashed onto the device.", |
| "items": { |
| "$ref": "#/definitions/product" |
| }, |
| "minItems": 1, |
| "type": "array" |
| } |
| }, |
| "required": [ |
| "hw_revision", |
| "products" |
| ], |
| "type": "object" |
| }, |
| "product": { |
| "additionalProperties": false, |
| "description": "A named product specification.", |
| "properties": { |
| "bootloader_partitions": { |
| "$ref": "common.json#/definitions/key_value_list", |
| "description": "A list of partition names and file names corresponding to the partitions." |
| }, |
| "name": { |
| "description": "A unique name of this manifest.", |
| "type": "string" |
| }, |
| "oem_files": { |
| "$ref": "common.json#/definitions/key_value_list", |
| "description": "A list of OEM command and file names corresponding to the command." |
| }, |
| "partitions": { |
| "$ref": "common.json#/definitions/key_value_list", |
| "description": "A list of partition names and file names corresponding to the partitions." |
| } |
| }, |
| "required": [ |
| "name", |
| "partitions" |
| ], |
| "type": "object" |
| } |
| }, |
| "description": "A manifest that describes how to flash a device.", |
| "id": "http://fuchsia.com/schemas/sdk/flash_manifest-02.json", |
| "properties": { |
| "manifest": { |
| "$ref": "#/definitions/manifest" |
| }, |
| "version": { |
| "$ref": "common.json#/definitions/version" |
| } |
| }, |
| "required": [ |
| "version", |
| "manifest" |
| ], |
| "type": "object" |
| } |