A template package ships saved presentation or catalogue data for a host application. Today Acruz One supports one template shape: a saved catalog collection. Templates are data-only — no executable code, no external scripts, no URLs inside the title and no secrets. The manifest kind is extension, the container extension is .acx and the manifest template is templates/extension.yml.
Payload contract
The entrypoint declared by templates/extension.yml is the collection JSON inside a templates folder of the staging directory, i.e. staging/templates/collection.json. That folder is a staging path, not a repository path. The JSON contains exactly schema_version: 1, template_type: "catalog-collection", title and packages. The title is trimmed non-empty plain text of at most 80 UTF-16 units without control characters or markup/URL punctuation. packages holds 1 to 64 distinct reverse-domain identifiers, each at most 150 bytes. Importing a collection never installs, purchases or launches an application.
Each package declares no permissions and exactly one .json entrypoint of at most 64 KiB; website envelopes are at most 256 KiB compressed and expanded. projects/acruz-one/docs/DATA_PACKAGES.md is the authoritative contract and sdk/core/rust/fixtures/data-v1.json carries the shared acceptance and rejection cases. Other hosts must define their own versioned template schemas before their templates are accepted.
Canonicalize the payload
Create a templates folder inside the staging directory so it mirrors the manifest entrypoint.
New-Item -ItemType Directory -Force staging/templates
cargo run --manifest-path sdk/core/rust/Cargo.toml --example build-data -- extension sdk/core/examples/data/extension.json staging/templates/collection.json
Use sdk/core/examples/data/extension.json as the source. The canonicalizer enforces the schema and never overwrites an existing output.
Build and verify
New-Item -ItemType Directory -Force .keys
npm run sdk -- keygen .keys/developer
npm run sdk -- build templates/extension.yml staging .keys/developer.private.pem example.acx
npm run sdk -- verify example.acx .keys/developer.public.pem
npm run sdk -- <subcommand> runs node sdk/core/src/cli.ts <subcommand> from the repository root. validate and compatible check the manifest alone: npm run sdk -- validate templates/extension.yml.
Upload and review
Upload the .acx through the developer portal, wait for verification, complete the listing and privacy data, submit explicitly, then let an administrator approve and publish. In One, a collection appears after an explicit preview and import, and its package links resolve through the store.
What was executed here
cargo run --manifest-path sdk/core/rust/Cargo.toml --example build-data -- extension sdk/core/examples/data/extension.json staging/templates/collection.json, npm run sdk -- keygen, npm run sdk -- build templates/extension.yml staging .keys/developer.private.pem example.acx and npm run sdk -- verify example.acx .keys/developer.public.pem completed successfully in this working copy, along with npm run sdk -- validate templates/extension.yml. Collection links inside One's store UI have not been exercised here.