Protocol Reference Overview
This section is the canonical reference for the v2 store protocol.
Use the start and migration guides for task flow. Use this section when you need exact file requirements, field meanings, or build output behavior.
Required source files
A v2 source repository is built from:
store-config.json: store identity and store-level localized fields.supported-languages.json: candidate locale list.Apps/<App>/docker-compose.yml: app runtime configuration and top-levelx-casaosmetadata.- app assets referenced by each app, commonly
icon,thumbnail, andscreenshot-{n}files.
Generated files
The build produces static protocol output under dist/:
store.jsonand optionalstore.{locale}.jsonindex.jsonand optionalindex.{locale}.jsonapps/<app-id>/docker-compose.yml- optional architecture-specific compose files
apps/<app-id>/meta.jsonand optionalmeta.{locale}.jsonapps/<app-id>/assets/*
<app-id> is the normalized value of the source top-level x-casaos.id.
Reading order
- Store Config: root store identity file and fields.
- Compose and x-casaos: app source compose and every top-level
x-casaosfield. - Build Output: generated files, listing fields, metadata split, paths, and
content_hash. - Assets and Localization: asset handling, locale keys, and localized text output rules.