Bible pack format (altar-bible/1)
A Bible pack is a single JSON file holding one translation. Install packs in Settings → Bibles.
Example
json
{
"format": "altar-bible/1",
"id": "web",
"name": "World English Bible",
"abbreviation": "WEB",
"language": "en",
"version": "1.0",
"rights": {
"copyright": "Public domain",
"license": "Public domain",
"redistribution": "Redistributable",
"attribution": "WEB"
},
"books": [
{
"id": "GEN",
"name": "Genesis",
"chapters": [
["In the beginning, God created the heavens and the earth.", "The earth was formless and empty…"],
["The heavens, the earth, and all their vast array were finished."]
]
}
]
}Fields
| Field | Type | Required | Description |
|---|---|---|---|
format | string | Yes | Must be "altar-bible/1" |
id | string | Yes | Unique ID for the translation, for example kjv. Installing a pack with an ID that's already installed replaces it. |
name | string | Yes | Full name, shown in Settings and the translation menu |
abbreviation | string | Yes | Short name, for example KJV |
language | string | Yes | Language code, for example en |
version | string | Yes | The edition or pack version |
rights | object | No | Licensing details. See Rights. |
books | array | Yes | At least one book |
Book
| Field | Type | Description |
|---|---|---|
id | string | The USFM book code, for example GEN, PSA, JHN, 1CO. Converted to upper case. |
name | string | The book name as shown on slides and in suggestions |
chapters | array of arrays | One array per chapter. Each chapter is an array of verse strings. The first string is verse 1. |
A chapter may be an empty array. That chapter is then unavailable: it's greyed out in the chapter browser and gives "Book chapter is not included in ABBR".
Rights
rights can hold any JSON object. Altar Studio reads these keys:
| Key | Used for |
|---|---|
attribution | Shown after every reference, for example "John 3:16 (KJV)". If missing, the abbreviation is used. |
copyright | Shown beside the Chapter and Keyword search tabs, and in Settings. If missing, attribution is shown. |
license | Recorded with the pack |
redistribution | Shown in Settings → Bibles. Says whether the pack may be shared. |
note | Shown in Settings → Bibles in a warning colour |
Book IDs
Altar Studio's reference parser knows the 66 books of the Protestant canon. Books must use these USFM codes, or references to them can't be typed:
GEN Genesis | EXO Exodus | LEV Leviticus | NUM Numbers | DEU Deuteronomy | JOS Joshua |
JDG Judges | RUT Ruth | 1SA 1 Samuel | 2SA 2 Samuel | 1KI 1 Kings | 2KI 2 Kings |
1CH 1 Chronicles | 2CH 2 Chronicles | EZR Ezra | NEH Nehemiah | EST Esther | JOB Job |
PSA Psalms | PRO Proverbs | ECC Ecclesiastes | SNG Song of Solomon | ISA Isaiah | JER Jeremiah |
LAM Lamentations | EZK Ezekiel | DAN Daniel | HOS Hosea | JOL Joel | AMO Amos |
OBA Obadiah | JON Jonah | MIC Micah | NAM Nahum | HAB Habakkuk | ZEP Zephaniah |
HAG Haggai | ZEC Zechariah | MAL Malachi | MAT Matthew | MRK Mark | LUK Luke |
JHN John | ACT Acts | ROM Romans | 1CO 1 Corinthians | 2CO 2 Corinthians | GAL Galatians |
EPH Ephesians | PHP Philippians | COL Colossians | 1TH 1 Thessalonians | 2TH 2 Thessalonians | 1TI 1 Timothy |
2TI 2 Timothy | TIT Titus | PHM Philemon | HEB Hebrews | JAS James | 1PE 1 Peter |
2PE 2 Peter | 1JN 1 John | 2JN 2 John | 3JN 3 John | JUD Jude | REV Revelation |
A pack doesn't need all 66 books. Only the books it contains are offered when you type a reference. Deuterocanonical books aren't supported yet.
Validation and limits
| Problem | Message |
|---|---|
| File larger than 64 MB | Bible pack exceeds 64 MB |
| Not valid JSON, or a field has the wrong type | Not a valid Bible pack: details |
format isn't altar-bible/1 | Unsupported Bible pack format "format" |
Empty id, or no books | Bible pack has no id or books |
When you install a pack, its verses are indexed for keyword search. Accents are ignored in searches.
The bundled King James Version
| Field | Value |
|---|---|
id | kjv |
name | King James Version |
abbreviation | KJV |
language | en |
version | 1769 |
| Contents | 66 books, 1,189 chapters, 31,102 verses |
copyright | Public domain (King James Version, 1769 Oxford text) |
license | Public domain outside the United Kingdom |
redistribution | Redistributable. Within the UK the KJV is under Crown letters patent. |
attribution | KJV |
To make your own pack, see Make a Bible pack.