Update Bible metadata.

This commit is contained in:
Benjamin A. Shelton 2026-09-16 16:17:47 -06:00
commit 8d4f36da26
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -6,15 +6,33 @@ import (
) )
type Bible struct { type Bible struct {
Metadata *Metadata
} }
type Metadata struct { type Metadata struct {
ID string `json:"id"`
Name string `json:"name"`
ShortName string `json:"shortName"`
NumBooks int `json:"numberOfBooks"`
NumChapters int `json:"numberOfChapters"`
NumVerses int `json:"numberOfVerses"`
} }
type Book struct { type Book struct {
ID string `json:"id"`
Name string `json:"name"`
CommonName string `json:"commonName"`
Title string `json:"title"`
Order int `json:"order"`
NumChapters int `json:"numberOfChapters"`
NumVerses int `json:"numberOfVerses"`
Chapters []*Chapter
} }
type Chapter struct { type Chapter struct {
Book *Book
NumVerses int `json:"numberOfVerses"`
//Verses
} }
type VerseSpec struct { type VerseSpec struct {