Application format
Contents of the application git repository, manifest, icon, locales, limits and paths.
An application is a git repository. On a push to the test branch the server checks the commit tree: files, manifest, icon, locales, limits and the release signature. For how a version reaches the catalog, see the vendor API.
Contents
| File | Purpose |
|---|---|
manifest.yml | The application manifest without texts. |
icon.svg | The application icon. |
locale/<code>.json | The application texts per language. |
sig/ | The file hash list and the release signature, see release signature. |
| Other files | The code and resources of the application. |
Manifest
namespace,code: the namespace and code of the application; they must match the repository you push to.version:MAJOR.MINOR.PATCHwithout pre-releases, each number at most 9 digits. The server sets the version tag from this field.min_product_version: required, from the list of product versions.types: from 1 to 8 application types from the closed server list, without repeats.host_api,scopes,egress: the core API version and the declared permissions.
Icon
The file icon.svg in the repository root is required, up to 64 KiB. The icon is square (the root svg has a viewBox with equal width and height) and safe: no script, foreignObject, image, style, on* attributes, DOCTYPE or entities.
Locales
- The file
locale/<code>.json, a language code such asru,en,pt-br; a flat JSON object of the form key: non-empty string, in UTF-8, up to 64 KiB. ruandenare required and contain the same set of keys; other languages contain no keys that are absent fromen.app.name(up to 100 characters, one line) andapp.description(up to 1000 characters) are required.- There must be no other files in
locale/.
Limits
| What | Limit |
|---|---|
| File size | 4 MiB |
| Size of all files of a version | 16 MiB |
Number of files (without sig/) | 2000 |
| Icon size | 64 KiB |
| Size of one push | 64 MiB |
Paths and files
- Paths contain no
.., are not absolute and have no duplicates that differ only in letter case. - Only regular files: symbolic links and submodules are not allowed.
- Binary files are forbidden; images must be SVG.