diff options
-rw-r--r-- | design-notes.md | 6 | ||||
-rw-r--r-- | example/index.json | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/design-notes.md b/design-notes.md index c39f98c..9bcbeb5 100644 --- a/design-notes.md +++ b/design-notes.md | |||
@@ -119,7 +119,7 @@ Serialised item structure: | |||
119 | 119 | ||
120 | ```json | 120 | ```json |
121 | { | 121 | { |
122 | /* common fields */ | 122 | "_comment": "common fields", |
123 | 123 | ||
124 | "title": "Some title", | 124 | "title": "Some title", |
125 | "date": "2019-12-20T16:51:52+00:00", | 125 | "date": "2019-12-20T16:51:52+00:00", |
@@ -135,7 +135,7 @@ Serialised item structure: | |||
135 | "thumbnail": { "path": "[resource path]" }, | 135 | "thumbnail": { "path": "[resource path]" }, |
136 | 136 | ||
137 | 137 | ||
138 | /* type-dependent */ | 138 | "_comment": "type-dependent", |
139 | 139 | ||
140 | "properties": { | 140 | "properties": { |
141 | "type": "image", | 141 | "type": "image", |
@@ -150,7 +150,7 @@ Serialised item structure: | |||
150 | 150 | ||
151 | "properties": { | 151 | "properties": { |
152 | "type": "directory", | 152 | "type": "directory", |
153 | "items": [ /* item objects */ ] | 153 | "items": [ { "_comment": "item objects..." } ] |
154 | } | 154 | } |
155 | } | 155 | } |
156 | ``` | 156 | ``` |
diff --git a/example/index.json b/example/index.json index eef35c7..c7d75e6 100644 --- a/example/index.json +++ b/example/index.json | |||
@@ -1,6 +1,6 @@ | |||
1 | /* reference gallery index file, manually aggregated */ | ||
2 | |||
3 | { | 1 | { |
2 | "_comment": "reference gallery index file, manually aggregated", | ||
3 | |||
4 | "title": "", | 4 | "title": "", |
5 | "date": "", | 5 | "date": "", |
6 | "description": "", | 6 | "description": "", |