Manifest reference
Every field of the draft manifest.
Fields
| Field | Type | Required | Meaning |
|---|---|---|---|
schema_version | integer | Yes | Version of the manifest format. Currently 1. |
app_id | string | Yes | A stable reverse-domain identifier such as za.co.example.Hello. Bound to a verified publisher by trusted registry data; the display name is never used as identity. |
publisher_id | string | Yes | The publisher this app belongs to. |
display_name | string | Yes | The name people see. |
version | string | Yes | Version text for display and compatibility. It does not authorise downgrades. |
release_sequence | integer | Yes | A positive number that only ever increases for this app. Used to refuse older releases. |
target | object | Yes | The platform and architecture the package was built for. |
platform_api | object | Yes | A range of Binary platform API numbers the app supports: { min, max }. |
runtime | object | Yes | The platform-maintained runtime the app runs on, pinned by SHA-256 digest. |
entrypoint | array of strings | Yes | The command that starts the app, as an argument list. Never a shell string. The first item is a path inside the package. |
permissions | array | Yes | Capabilities the app asks for, taken from the permissions registry. Empty when none are needed. |
dependencies | array | Yes | Components the app needs. Draft 0.1 allows only the primary runtime and exact-digest components approved by policy. |
files | array of objects | Yes | Every file in the payload with its path, size, SHA-256 digest and mode (0644 or 0755). |
presentation | object | Yes | Icon path and a one-sentence summary for the Store. |
licence | string | Yes | An SPDX identifier or a documented licence reference. |
Example
hello-bap.json (placeholder digests)
{
"schema_version": 1,
"app_id": "za.co.example.Hello",
"publisher_id": "example-publisher",
"display_name": "Hello Binary",
"version": "0.1.0",
"release_sequence": 1,
"target": { "platform": "binary-os", "architecture": "generic" },
"platform_api": { "min": 1, "max": 1 },
"runtime": {
"id": "binary.native",
"version": "1",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000"
},
"entrypoint": ["bin/hello"],
"permissions": [],
"dependencies": [],
"files": [
{ "path": "bin/hello", "size": 1234, "sha256": "0000000000000000000000000000000000000000000000000000000000000000", "mode": "0755" },
{ "path": "share/icon.png", "size": 5678, "sha256": "0000000000000000000000000000000000000000000000000000000000000000", "mode": "0644" }
],
"presentation": { "icon": "share/icon.png", "summary": "A minimal example application." },
"licence": "LicenseRef-Example"
}Download the example Download the JSON Schema
Rules the verifier will apply
- Duplicate JSON keys and unknown fields are rejected.
- Every payload file must be in
files, and the entrypoint must be one of them and executable. - Unknown mandatory permissions fail verification.
release_sequencemust be higher than any release already accepted.
