Skip to content

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 hash

JSON files are compressed. Media files are stored uncompressed, with ZIP64 for files of 4 GB or more.

What's included ​

ContentIncluded as
Songs, scripture, prayers, The Word, slides, decks, media itemsSnapshots inside each schedule item in service.json. These aren't separate library items.
ThemesEvery theme used by an item, plus the workspace's default themes
BreakersBreakers used by timed transitions on items and groups, plus the default transition breaker and the logo breaker
Camera feedsFeeds used by camera items and split layouts, without device IDs or addresses
MediaEvery file referred to by the service or the included items
ScriptureThe 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.json under missingAssets, and importing warns about them.

manifest.json ​

FieldDescription
formataltar-package/1
schemaVersion1
minReaderVersion0.1.0
packageIdRandom UUID
createdAtWhen the package was made
appAltar Studio
serviceNameThe service's name
requirements.biblesTranslation IDs used by scripture items
requirements.feeds[{id, label, type}] for camera feeds
requirements.fontsFont families used by the workspace's themes
checksumsAlgorithmsha256
entries[{path, size, sha256}] for every file except the manifest
missingAssetsHashes 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:

RuleLimit
Must be a ZIP file"This file is not a valid Altar service package"
Number of entries10 000
Total uncompressed size20 GB
Each JSON file256 MB
Compression ratioNo more than 100:1 for any entry, or the whole package, over 1 MB
File namesNo empty names, absolute paths, leading / or \, :, .. or NUL characters, and no duplicates
Allowed filesOnly the four JSON files and assets/<64 lowercase hex>.<ext> with a known media extension
RefusedPrograms and scripts (exe, dll, bat, cmd, com, sh, ps1, app, msi, scr, js, vbs, jar), archives (zip, 7z, rar, altar) and symlinks
Requiredmanifest.json, service.json, resources.json
Formatformat must be altar-package/1
ChecksumsEvery file must match its size and SHA-256 in entries. Each media file's hash must match its name.

How import merges ​

  1. Media is added to the workspace's media store. A file that's already there is reused.
  2. 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.
  3. 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.

Altar Studio by Milton Black. Free and open source.