blob: 5c3be8039057b0e252696a3a629c91cf52416a03 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://fuchsia.com/schemas/sdk/manifest.json",
"description": "The manifest describing the contents of the SDK",
"type": "object",
"properties": {
"arch": {
"description": "The various architectures encountered in the SDK",
"type": "object",
"properties": {
"host": {
"description": "The host architecture",
"type": "string"
},
"target": {
"description": "The target architectures",
"type": "array",
"items": {
"$ref": "common.json#/definitions/target_arch"
}
}
},
"additionalProperties": false,
"required": [
"host",
"target"
]
},
"id": {
"description": "An opaque identifier for this SDK",
"type": "string"
},
"parts": {
"description": "The elements in this SDK",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"type": {
"description": "The type of the element",
"$ref": "common.json#/definitions/type"
},
"meta": {
"description": "The metadata file for the element",
"$ref": "common.json#/definitions/file"
}
},
"required": [
"meta",
"type"
],
"additionalProperties": false
}
},
"schema_version": {
"description": "An opaque identifier for metadata schemas in the SDK",
"type": "string"
}
},
"required": [
"arch",
"id",
"parts",
"schema_version"
],
"additionalProperties": false
}