Skip to content

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 ​

FieldTypeRequiredDescription
formatstringYesMust be "altar-bible/1"
idstringYesUnique ID for the translation, for example kjv. Installing a pack with an ID that's already installed replaces it.
namestringYesFull name, shown in Settings and the translation menu
abbreviationstringYesShort name, for example KJV
languagestringYesLanguage code, for example en
versionstringYesThe edition or pack version
rightsobjectNoLicensing details. See Rights.
booksarrayYesAt least one book

Book ​

FieldTypeDescription
idstringThe USFM book code, for example GEN, PSA, JHN, 1CO. Converted to upper case.
namestringThe book name as shown on slides and in suggestions
chaptersarray of arraysOne 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:

KeyUsed for
attributionShown after every reference, for example "John 3:16 (KJV)". If missing, the abbreviation is used.
copyrightShown beside the Chapter and Keyword search tabs, and in Settings. If missing, attribution is shown.
licenseRecorded with the pack
redistributionShown in Settings → Bibles. Says whether the pack may be shared.
noteShown 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 GenesisEXO ExodusLEV LeviticusNUM NumbersDEU DeuteronomyJOS Joshua
JDG JudgesRUT Ruth1SA 1 Samuel2SA 2 Samuel1KI 1 Kings2KI 2 Kings
1CH 1 Chronicles2CH 2 ChroniclesEZR EzraNEH NehemiahEST EstherJOB Job
PSA PsalmsPRO ProverbsECC EcclesiastesSNG Song of SolomonISA IsaiahJER Jeremiah
LAM LamentationsEZK EzekielDAN DanielHOS HoseaJOL JoelAMO Amos
OBA ObadiahJON JonahMIC MicahNAM NahumHAB HabakkukZEP Zephaniah
HAG HaggaiZEC ZechariahMAL MalachiMAT MatthewMRK MarkLUK Luke
JHN JohnACT ActsROM Romans1CO 1 Corinthians2CO 2 CorinthiansGAL Galatians
EPH EphesiansPHP PhilippiansCOL Colossians1TH 1 Thessalonians2TH 2 Thessalonians1TI 1 Timothy
2TI 2 TimothyTIT TitusPHM PhilemonHEB HebrewsJAS James1PE 1 Peter
2PE 2 Peter1JN 1 John2JN 2 John3JN 3 JohnJUD JudeREV 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 ​

ProblemMessage
File larger than 64 MBBible pack exceeds 64 MB
Not valid JSON, or a field has the wrong typeNot a valid Bible pack: details
format isn't altar-bible/1Unsupported Bible pack format "format"
Empty id, or no booksBible 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 ​

FieldValue
idkjv
nameKing James Version
abbreviationKJV
languageen
version1769
Contents66 books, 1,189 chapters, 31,102 verses
copyrightPublic domain (King James Version, 1769 Oxford text)
licensePublic domain outside the United Kingdom
redistributionRedistributable. Within the UK the KJV is under Crown letters patent.
attributionKJV

To make your own pack, see Make a Bible pack.

Altar Studio by Milton Black. Free and open source.