Update Bible metadata.
This commit is contained in:
parent
90fc8cf930
commit
8d4f36da26
1 changed files with 18 additions and 0 deletions
|
|
@ -6,15 +6,33 @@ import (
|
|||
)
|
||||
|
||||
type Bible struct {
|
||||
Metadata *Metadata
|
||||
}
|
||||
|
||||
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 {
|
||||
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 {
|
||||
Book *Book
|
||||
NumVerses int `json:"numberOfVerses"`
|
||||
//Verses
|
||||
}
|
||||
|
||||
type VerseSpec struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue