WIP types for JSON-encoded Bible data.

This commit is contained in:
Benjamin A. Shelton 2026-09-18 18:39:40 -06:00
commit 907c55679d
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -35,7 +35,27 @@ type Chapter struct {
//Verses
}
type VerseSpec struct {
type Content struct {
Number int `json:"number"`
Content []*ContentSpec `json:"content"`
Footnotes []*NoteSpec `json:"footnotes"`
}
type ContentSpec struct {
Number int `json:"number"`
Type string `json:"type"`
}
type NoteSpec struct {
Id int `json:"noteId"`
Caller string `json:"caller"`
Text string `json:"text"`
Reference *RefSpec `json:"reference"`
}
type RefSpec struct {
Chapter int `json:"chapter"`
Verse int `json:"verse"`
}
type Scripture struct {