aboutsummaryrefslogtreecommitdiffstats
path: root/skate/schema.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/schema.go')
-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"`