diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-21 23:48:26 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-21 23:48:26 +0200 |
commit | 1e6f3ed4c9710ab00c1bf002f5a14f52eb3bf5c5 (patch) | |
tree | 7ab014a5c9b2db97e24a60ee27d5f6f2fa8ac8b4 /skate/schema.go | |
parent | dea840992ea80288760dacb0c9c80bc8b085978f (diff) | |
download | refcat-1e6f3ed4c9710ab00c1bf002f5a14f52eb3bf5c5.tar.gz refcat-1e6f3ed4c9710ab00c1bf002f5a14f52eb3bf5c5.zip |
add test case
Diffstat (limited to 'skate/schema.go')
-rw-r--r-- | skate/schema.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/schema.go b/skate/schema.go index af920ee..c0be5ef 100644 --- a/skate/schema.go +++ b/skate/schema.go @@ -334,8 +334,8 @@ type BiblioRef struct { SourceWorkIdent string `json:"source_work_ident,omitempty"` SourceWikipediaArticle string `json:"source_wikipedia_article,omitempty"` SourceReleaseStage string `json:"source_release_stage,omitempty"` - SourceYear string `json:"source_year,omitempty"` - RefIndex int64 `json:"ref_index,omitempty"` // 1-based + SourceYear string `json:"source_year,omitempty"` // TODO: should this be source_release_year + RefIndex int64 `json:"ref_index,omitempty"` // 1-based RefKey string `json:"ref_key,omitempty"` RefLocator string `json:"ref_locator,omitempty"` TargetReleaseIdent string `json:"target_release_ident,omitempty"` |