Home
News
Overview
Heroes
Bible originals
Bible translations
Open English Translation (OET)
Bible maps
Bible originals
Apps
Software
Bible Organisational System
Bible Drop Box
Demo outputs
USFM Bibles
ESFM Bibles
Biblelator editor
Bible Door
App specifications
Data specifications
Bible standards
Bible reference
Music and songs
Images
Bible studies
Bible teaching
Sermons
About
Opportunities
Links
Contact
Donate
You may want to read the user overview page first and the app specs page as background before reading these detailed specifications.
The Bible Door export from the Bible Drop Box may also be usuable by other software, including web software, since it is JSON (see also here) and HTML5 based.
Please note that this particular JSON format is still tentative and subject to revision.
You can see some sample Bible Door data here and here.
All files are UTF-8 encoded (without BOMs), and using Linux/Unix-style (\n) line-endings. Update: We might be adding BOMs so software should be able to handle them if they’re there.
Firstly, the five-byte text file Links/FG_BD_Header.txt simply contains the word Alive, and may be downloaded to verify successful contact with our server.
Secondly, the file BDHeader.json (typically under 250 bytes) may be downloaded from Links/(link code)/ e.g., Links/wycliffe-123-456/ and contains the following information:
Note that software should ignore (i.e., not crash) if it detects any new additional fields that it doesn’t yet know about.
Thirdly, the file BDChecksums.1.json (typically around 8KB) may optionally be downloaded from the same location. Note that the .1 before the file extension (and at the end of the folder names below) matches the Data Format Version above. This file contains a dictionary/map of filenames and md5 checksums in hexadecimal. Each md5 checksum is a string containing exactly 32 hexadecimal characters.
For example:
Fourthly, the file BDDivisionNames.1.json (typically under 100 bytes) may be downloaded from the same location. This file contains an ordered array of major division names like the following (but often only with two entries being Old and New Testament names):
There are no parentheses in the actual data, for example:
Fifthly, the file BDBookNames.1.json (typically around 6KB) may be downloaded from the same location. This file contains an ordered array of array entries (for each included book) like the following:
For example:
where BBB is the three-character book code from the Bible Organisational System (BOS).
Note that the number of sections should equal the number of chapters if the translation does not include section headings.
Sixthly, you can choose between our compressed HTML5 data, regular JSON data, and (recommended) our newer TEXT data (loosely based on ESFM).
Found in folders ByBook.1.BDTXT. There are lots of pairs of .bd.idx and .bd.txt files, one for each book, e.g., DAN.1.bd.txt, typically around 4MB in total.
Alternatively, the file AllBDTextFiles.bz2 is a compressed collection of all the text and index files, typically about 1MB to download. (The files are all together in a folder named AllBDTextFilesinside the .bz2 file.)
Found in folders ByBook.1.JSON or ByChapter.1.JSON (each folder typically around 9MB for an entire Bible) depending on the needs (and size/memory limitations) of your application or device.
The book files are called BBB.1.json, e.g., PE1.1.json. The chapter files are called BBB_C.1.json, e.g., ACT_26.1.json, where BBB is the three-character book code from the Bible Organisational System (BOS).
Each file contains an array of entries (lines), each containing one, two, or three entries:
Found in folder BySection.1.CHTML (typically around 6MB for an entire Bible). But the compression dictionary is in BDCmprnDict.1.json (typically around 3KB). It consists of an array of array entries like the following:
For example:
You simply have to replace all occurrences of the first/short string with the second/long string. You should do these replacements in the order that the pairs of strings are given.
You will also need a stylesheet. You can see a sample one here.
You also need to load the index from BD-BCV-Index.1.json (typically around 150KB). This contains an array of array entries like the following:
For example:
Note that the .chtml files may contain newline markers after each paragraph if they were built in debug mode. (Most web browsers ignore these anyway—but they make the files slightly more human-readable.) Normally the (compressed) html is given as one big long string with no newline markers.