aboutsummaryrefslogtreecommitdiffstats
path: root/skate/schema.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/schema.go')
-rw-r--r--skate/schema.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 0fd429f..dd088c2 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -501,12 +501,17 @@ func (rc *ReleaseCluster) OneNonRef() (*Release, error) {
return nil, fmt.Errorf("no reference/release found for cluster key: %v", rc.Key)
}
-// MinimalCitations variant from archive.org/details/wikipedia_citations_2020-07-14.
+// MinimalCitations variant from
+// archive.org/details/wikipedia_citations_2020-07-14. Part of the naming was
+// already inconsistent.
type MinimalCitations struct {
IDList string `json:"ID_list"`
PageTitle string `json:"page_title"`
Title string `json:"Title"`
TypeOfCitation string `json:"type_of_citation"`
+ // We may have other languages in the future. If this is non, "en" might be
+ // used as default.
+ Language string `json:"lang"`
}
// IDList with commonly used identifier from wikipedia citations.