aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-26 23:46:04 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-26 23:46:04 +0200
commit6b3bed98aba8c58df7f68a51dcdd8e8f372b0c6f (patch)
treecec724e189d13bbfb85159cc4b9a37136c0c3c83 /skate
parent7de4ef24ba509e937d67497500dcc84aacc5ac9e (diff)
downloadrefcat-6b3bed98aba8c58df7f68a51dcdd8e8f372b0c6f.tar.gz
refcat-6b3bed98aba8c58df7f68a51dcdd8e8f372b0c6f.zip
ol: string, null or struct
Diffstat (limited to 'skate')
-rw-r--r--skate/schema.go25
1 files changed, 21 insertions, 4 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 92a66f0..d885728 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -492,10 +492,27 @@ type OpenLibraryEdition struct {
LatestRevision int64 `json:"latest_revision"`
LcClassifications []string `json:"lc_classifications"`
Lccn []string `json:"lccn"`
- Notes struct {
- Type string `json:"type"`
- Value string `json:"value"`
- } `json:"notes"`
+
+ // null
+ // {
+ // "type": "/type/text",
+ // "value": "Includes index."
+ // }
+ // null
+ // {
+ // "type": "/type/text",
+ // "value": "Includes bibliographical references (p. 137-143)."
+ // }
+ // null
+ // "Includes bibliographical references (p. 203-205) and index."
+ // null
+ // null
+ Notes interface{} `json:"notes"`
+ // Notes struct {
+ // Type string `json:"type"`
+ // Value string `json:"value"`
+ // } `json:"notes"`
+
NumberOfPages int64 `json:"number_of_pages"`
Ocaid string `json:"ocaid"`
Pagination string `json:"pagination"`