Service package (.altar)
A .altar file carries one service, with the themes, breakers, camera settings and media it needs, from one computer to another. It's a ZIP file with a fixed layout. See Move a service to another computer for the steps.
Layout
manifest.json Format, checksums and requirements
service.json The service: name, date, notes and schedule
resources.json Library items the service refers to
assets.json Media records (optional)
assets/<sha256>.<ext> Media files, named by their SHA-256 hashJSON files are compressed. Media files are stored uncompressed, with ZIP64 for files of 4 GB or more.
What's included
| Content | Included as |
|---|---|
| Songs, scripture, prayers, The Word, slides, decks, media items | Snapshots inside each schedule item in service.json. These aren't separate library items. |
| Themes | Every theme used by an item, plus the workspace's default themes |
| Breakers | Breakers used by timed transitions on items and groups, plus the default transition breaker and the logo breaker |
| Camera feeds | Feeds used by camera items and split layouts, without device IDs or addresses |
| Media | Every file referred to by the service or the included items |
| Scripture | The verses as prepared, including their text |
What's not included
- Lower thirds. Move them with a lower-third pack (.altarlt).
- The church profile and other workspace settings
- Library items the service doesn't use
- Camera device IDs, network camera addresses and passwords
- Media files missing on the exporting computer. They're listed in
manifest.jsonundermissingAssets, and importing warns about them.
manifest.json
| Field | Description |
|---|---|
format | altar-package/1 |
schemaVersion | 1 |
minReaderVersion | 0.1.0 |
packageId | Random UUID |
createdAt | When the package was made |
app | Altar Studio |
serviceName | The service's name |
requirements.bibles | Translation IDs used by scripture items |
requirements.feeds | [{id, label, type}] for camera feeds |
requirements.fonts | Font families used by the workspace's themes |
checksumsAlgorithm | sha256 |
entries | [{path, size, sha256}] for every file except the manifest |
missingAssets | Hashes of media that couldn't be included |
Validation on import
Altar Studio checks the whole package before it changes anything. Any of these stops the import:
| Rule | Limit |
|---|---|
| Must be a ZIP file | "This file is not a valid Altar service package" |
| Number of entries | 10 000 |
| Total uncompressed size | 20 GB |
| Each JSON file | 256 MB |
| Compression ratio | No more than 100:1 for any entry, or the whole package, over 1 MB |
| File names | No empty names, absolute paths, leading / or \, :, .. or NUL characters, and no duplicates |
| Allowed files | Only the four JSON files and assets/<64 lowercase hex>.<ext> with a known media extension |
| Refused | Programs and scripts (exe, dll, bat, cmd, com, sh, ps1, app, msi, scr, js, vbs, jar), archives (zip, 7z, rar, altar) and symlinks |
| Required | manifest.json, service.json, resources.json |
| Format | format must be altar-package/1 |
| Checksums | Every file must match its size and SHA-256 in entries. Each media file's hash must match its name. |
How import merges
- Media is added to the workspace's media store. A file that's already there is reused.
- Library items (themes, breakers, feeds), in one database transaction:
- not in this workspace: added as is,
- already here and identical: reused,
- already here but different: added as a separate copy named "title (imported)". The service is pointed at the copy. Existing items are never overwritten.
- The service is always added as a new service, even if you imported the same package before.
If anything fails, the database is left unchanged. Any media files already copied stay in the store, unused and harmless.