aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-22 13:49:34 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-22 13:49:38 +0200
commit0f879ccbaa3cd29042d7b6e559c8c9661ca8a85e (patch)
treef9d161a412116ea09f3f571154b069ccceea9fd2 /python
parente71d07f11630d6205a85f11db9fd548a61a9a5b1 (diff)
downloadrefcat-0f879ccbaa3cd29042d7b6e559c8c9661ca8a85e.tar.gz
refcat-0f879ccbaa3cd29042d7b6e559c8c9661ca8a85e.zip
notes: ol work/edition
Diffstat (limited to 'python')
-rw-r--r--python/notes/version_4.md85
1 files changed, 85 insertions, 0 deletions
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
+}
+```