From 0f879ccbaa3cd29042d7b6e559c8c9661ca8a85e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 22 May 2021 13:49:34 +0200 Subject: notes: ol work/edition --- python/notes/version_4.md | 85 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) (limited to 'python/notes') diff --git a/python/notes/version_4.md b/python/notes/version_4.md index cd6c49f..dadbd3e 100644 --- a/python/notes/version_4.md +++ b/python/notes/version_4.md @@ -122,4 +122,89 @@ Some do not have an explicit "works" key, but still link to an edition. > An edition of Parliamentary Debates, House Of Lords 2003-2004 +Example edition: +``` +{ + "publishers": [ + "Du Temps" + ], + "languages": [ + { + "key": "/languages/fre" + } + ], + "last_modified": { + "type": "/type/datetime", + "value": "2010-04-24T18:46:01.556464" + }, + "weight": "5 ounces", + "title": "Les Fleurs bleues de Raymond Queneau", + "identifiers": { + "goodreads": [ + "487215" + ] + }, + "isbn_13": [ + "9782842741013" + ], + "covers": [ + 3140044 + ], + "physical_format": "Paperback", + "isbn_10": [ + "2842741013" + ], + "publish_date": "January 1, 2000", + "key": "/books/OL12622734M", + "authors": [ + { + "key": "/authors/OL3964945A" + } + ], + "latest_revision": 5, + "works": [ + { + "key": "/works/OL10000008W" + } + ], + "type": { + "key": "/type/edition" + }, + "physical_dimensions": "8.4 x 5.7 x 0.3 inches", + "revision": 5 +} +``` + +Example Work: + +``` +{ + "title": "Les Fleurs bleues de Raymond Queneau", + "created": { + "type": "/type/datetime", + "value": "2009-12-11T01:57:19.964652" + }, + "covers": [ + 3140044 + ], + "last_modified": { + "type": "/type/datetime", + "value": "2010-04-28T06:54:19.472104" + }, + "latest_revision": 3, + "key": "/works/OL10000008W", + "authors": [ + { + "type": "/type/author_role", + "author": { + "key": "/authors/OL3964945A" + } + } + ], + "type": { + "key": "/type/work" + }, + "revision": 3 +} +``` -- cgit v1.2.3