@segha/catalog 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +355 -4
  3. package/en/Areas.ts +24 -0
  4. package/en/Article/index.ts +29 -0
  5. package/en/Article/types.ts +9 -0
  6. package/en/Book/index.ts +33 -0
  7. package/en/Book/types.ts +9 -0
  8. package/en/Clothing/index.ts +9 -9
  9. package/en/Movie/index.ts +34 -0
  10. package/en/Movie/types.ts +9 -0
  11. package/en/Note.ts +15 -0
  12. package/en/Wikipedia/index.ts +18 -0
  13. package/en/Wikipedia/types.ts +10 -0
  14. package/en/index.ts +5 -1
  15. package/en/types.ts +7 -0
  16. package/es/Areas.ts +24 -0
  17. package/es/Article/index.ts +34 -0
  18. package/es/Article/types.ts +9 -0
  19. package/es/Book/index.ts +36 -0
  20. package/es/Book/types.ts +9 -0
  21. package/es/Clothing/index.ts +11 -10
  22. package/es/Icon.ts +1673 -0
  23. package/es/Movie/index.ts +36 -0
  24. package/es/Movie/types.ts +9 -0
  25. package/es/Note.ts +19 -0
  26. package/es/Painting/index.ts +30 -0
  27. package/es/Painting/types.ts +9 -0
  28. package/es/Wikipedia/index.ts +18 -0
  29. package/es/Wikipedia/types.ts +10 -0
  30. package/es/Youtube/index.ts +19 -0
  31. package/es/Youtube/types.ts +10 -0
  32. package/es/index.ts +7 -0
  33. package/es/types.ts +10 -0
  34. package/json-schemas/ArticleSchema.json +102 -0
  35. package/json-schemas/BookSchema.json +123 -0
  36. package/json-schemas/CatalogArticleSchema.json +34 -0
  37. package/json-schemas/CatalogBookSchema.json +43 -0
  38. package/json-schemas/CatalogClothingSchema.json +0 -1
  39. package/json-schemas/CatalogMovieSchema.json +48 -0
  40. package/json-schemas/CatalogWikipediaSchema.json +34 -0
  41. package/json-schemas/ClothingSchema.json +0 -2
  42. package/json-schemas/DetailedArticleSchema.json +41 -0
  43. package/json-schemas/DetailedBookSchema.json +48 -0
  44. package/json-schemas/DetailedClothingSchema.json +0 -2
  45. package/json-schemas/DetailedMovieSchema.json +47 -0
  46. package/json-schemas/DetailedWikipediaSchema.json +41 -0
  47. package/json-schemas/MetaArticleSchema.json +45 -0
  48. package/json-schemas/MetaBookSchema.json +50 -0
  49. package/json-schemas/MetaClothingSchema.json +0 -1
  50. package/json-schemas/MetaMovieSchema.json +50 -0
  51. package/json-schemas/MetaWikipediaSchema.json +50 -0
  52. package/json-schemas/MovieSchema.json +127 -0
  53. package/json-schemas/NoteSchema.json +846 -0
  54. package/json-schemas/WikipediaSchema.json +107 -0
  55. package/json-schemas/en/Area.json +21 -0
  56. package/json-schemas/en/Areas.json +25 -0
  57. package/json-schemas/en/Article/ArticleSchema.json +102 -0
  58. package/json-schemas/en/Article/CatalogArticleSchema.json +34 -0
  59. package/json-schemas/en/Article/DetailedArticleSchema.json +41 -0
  60. package/json-schemas/en/Article/MetaArticleSchema.json +45 -0
  61. package/json-schemas/en/Article/index.json +229 -0
  62. package/json-schemas/en/ArticleSchema.json +102 -0
  63. package/json-schemas/en/Book/BookSchema.json +123 -0
  64. package/json-schemas/en/Book/CatalogBookSchema.json +43 -0
  65. package/json-schemas/en/Book/DetailedBookSchema.json +48 -0
  66. package/json-schemas/en/Book/MetaBookSchema.json +50 -0
  67. package/json-schemas/en/Book/index.json +271 -0
  68. package/json-schemas/en/BookSchema.json +123 -0
  69. package/json-schemas/en/CatalogArticleSchema.json +34 -0
  70. package/json-schemas/en/CatalogBookSchema.json +43 -0
  71. package/json-schemas/en/CatalogClothingSchema.json +0 -1
  72. package/json-schemas/en/CatalogMovieSchema.json +48 -0
  73. package/json-schemas/en/CatalogWikipediaSchema.json +34 -0
  74. package/json-schemas/en/Clothing/CatalogClothingSchema.json +0 -1
  75. package/json-schemas/en/Clothing/ClothingSchema.json +0 -2
  76. package/json-schemas/en/Clothing/DetailedClothingSchema.json +0 -2
  77. package/json-schemas/en/Clothing/MetaClothingSchema.json +0 -1
  78. package/json-schemas/en/Clothing/index.json +0 -6
  79. package/json-schemas/en/ClothingSchema.json +0 -2
  80. package/json-schemas/en/DetailedArticleSchema.json +41 -0
  81. package/json-schemas/en/DetailedBookSchema.json +48 -0
  82. package/json-schemas/en/DetailedClothingSchema.json +0 -2
  83. package/json-schemas/en/DetailedMovieSchema.json +47 -0
  84. package/json-schemas/en/DetailedWikipediaSchema.json +41 -0
  85. package/json-schemas/en/FirstLevelArea.json +21 -0
  86. package/json-schemas/en/MetaArticleSchema.json +45 -0
  87. package/json-schemas/en/MetaBookSchema.json +50 -0
  88. package/json-schemas/en/MetaClothingSchema.json +0 -1
  89. package/json-schemas/en/MetaMovieSchema.json +50 -0
  90. package/json-schemas/en/MetaWikipediaSchema.json +50 -0
  91. package/json-schemas/en/Movie/CatalogMovieSchema.json +48 -0
  92. package/json-schemas/en/Movie/DetailedMovieSchema.json +47 -0
  93. package/json-schemas/en/Movie/MetaMovieSchema.json +50 -0
  94. package/json-schemas/en/Movie/MovieSchema.json +127 -0
  95. package/json-schemas/en/Movie/index.json +279 -0
  96. package/json-schemas/en/MovieSchema.json +127 -0
  97. package/json-schemas/en/NoteSchema.json +846 -0
  98. package/json-schemas/en/Wikipedia/CatalogWikipediaSchema.json +34 -0
  99. package/json-schemas/en/Wikipedia/DetailedWikipediaSchema.json +41 -0
  100. package/json-schemas/en/Wikipedia/MetaWikipediaSchema.json +50 -0
  101. package/json-schemas/en/Wikipedia/WikipediaSchema.json +107 -0
  102. package/json-schemas/en/Wikipedia/index.json +239 -0
  103. package/json-schemas/en/WikipediaSchema.json +107 -0
  104. package/json-schemas/en/index.json +1923 -26
  105. package/json-schemas/es/Area.json +21 -0
  106. package/json-schemas/es/Areas.json +25 -0
  107. package/json-schemas/es/Article/ArticleSchema.json +138 -0
  108. package/json-schemas/es/Article/CatalogArticleSchema.json +47 -0
  109. package/json-schemas/es/Article/DetailedArticleSchema.json +38 -0
  110. package/json-schemas/es/Article/MetaArticleSchema.json +71 -0
  111. package/json-schemas/es/Article/index.json +301 -0
  112. package/json-schemas/es/ArticleSchema.json +138 -0
  113. package/json-schemas/es/Book/BookSchema.json +141 -0
  114. package/json-schemas/es/Book/CatalogBookSchema.json +48 -0
  115. package/json-schemas/es/Book/DetailedBookSchema.json +43 -0
  116. package/json-schemas/es/Book/MetaBookSchema.json +68 -0
  117. package/json-schemas/es/Book/index.json +307 -0
  118. package/json-schemas/es/BookSchema.json +141 -0
  119. package/json-schemas/es/CatalogArticleSchema.json +47 -0
  120. package/json-schemas/es/CatalogBookSchema.json +48 -0
  121. package/json-schemas/es/CatalogClothingSchema.json +0 -1
  122. package/json-schemas/es/CatalogMovieSchema.json +50 -0
  123. package/json-schemas/es/CatalogPaintingSchema.json +26 -0
  124. package/json-schemas/es/CatalogWikipediaSchema.json +47 -0
  125. package/json-schemas/es/CatalogYoutubeSchema.json +47 -0
  126. package/json-schemas/es/Clothing/CatalogClothingSchema.json +0 -1
  127. package/json-schemas/es/Clothing/ClothingSchema.json +30 -12
  128. package/json-schemas/es/Clothing/DetailedClothingSchema.json +1 -3
  129. package/json-schemas/es/Clothing/MetaClothingSchema.json +30 -11
  130. package/json-schemas/es/Clothing/index.json +61 -27
  131. package/json-schemas/es/ClothingSchema.json +30 -12
  132. package/json-schemas/es/DetailedArticleSchema.json +38 -0
  133. package/json-schemas/es/DetailedBookSchema.json +43 -0
  134. package/json-schemas/es/DetailedClothingSchema.json +1 -3
  135. package/json-schemas/es/DetailedMovieSchema.json +49 -0
  136. package/json-schemas/es/DetailedPaintingSchema.json +33 -0
  137. package/json-schemas/es/DetailedWikipediaSchema.json +38 -0
  138. package/json-schemas/es/DetailedYoutubeSchema.json +37 -0
  139. package/json-schemas/es/FirstLevelArea.json +21 -0
  140. package/json-schemas/es/Icon.json +1675 -0
  141. package/json-schemas/es/MetaArticleSchema.json +71 -0
  142. package/json-schemas/es/MetaBookSchema.json +68 -0
  143. package/json-schemas/es/MetaClothingSchema.json +30 -11
  144. package/json-schemas/es/MetaMovieSchema.json +69 -0
  145. package/json-schemas/es/MetaPaintingSchema.json +61 -0
  146. package/json-schemas/es/MetaWikipediaSchema.json +76 -0
  147. package/json-schemas/es/MetaYoutubeSchema.json +76 -0
  148. package/json-schemas/es/Movie/CatalogMovieSchema.json +50 -0
  149. package/json-schemas/es/Movie/DetailedMovieSchema.json +49 -0
  150. package/json-schemas/es/Movie/MetaMovieSchema.json +69 -0
  151. package/json-schemas/es/Movie/MovieSchema.json +150 -0
  152. package/json-schemas/es/Movie/index.json +325 -0
  153. package/json-schemas/es/MovieSchema.json +150 -0
  154. package/json-schemas/es/NoteSchema.json +1226 -0
  155. package/json-schemas/es/Painting/CatalogPaintingSchema.json +26 -0
  156. package/json-schemas/es/Painting/DetailedPaintingSchema.json +33 -0
  157. package/json-schemas/es/Painting/MetaPaintingSchema.json +61 -0
  158. package/json-schemas/es/Painting/PaintingSchema.json +106 -0
  159. package/json-schemas/es/Painting/index.json +233 -0
  160. package/json-schemas/es/PaintingSchema.json +106 -0
  161. package/json-schemas/es/Wikipedia/CatalogWikipediaSchema.json +47 -0
  162. package/json-schemas/es/Wikipedia/DetailedWikipediaSchema.json +38 -0
  163. package/json-schemas/es/Wikipedia/MetaWikipediaSchema.json +76 -0
  164. package/json-schemas/es/Wikipedia/WikipediaSchema.json +143 -0
  165. package/json-schemas/es/Wikipedia/index.json +311 -0
  166. package/json-schemas/es/WikipediaSchema.json +143 -0
  167. package/json-schemas/es/Youtube/CatalogYoutubeSchema.json +47 -0
  168. package/json-schemas/es/Youtube/DetailedYoutubeSchema.json +37 -0
  169. package/json-schemas/es/Youtube/MetaYoutubeSchema.json +76 -0
  170. package/json-schemas/es/Youtube/YoutubeSchema.json +142 -0
  171. package/json-schemas/es/Youtube/index.json +309 -0
  172. package/json-schemas/es/YoutubeSchema.json +142 -0
  173. package/json-schemas/es/index.json +4849 -103
  174. package/json-schemas/index.json +1850 -20
  175. package/package.json +3 -3
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Title of the Wikipedia entry"
8
+ },
9
+ "description": {
10
+ "description": "Description",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extract of the article",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Authors"
23
+ },
24
+ "published": {
25
+ "description": "Year of publication",
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "title",
31
+ "author"
32
+ ],
33
+ "description": "Wikipedia entry: Data obtainable from cataloging"
34
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "status": {
6
+ "type": "string",
7
+ "enum": [
8
+ "Pending",
9
+ "In Progress",
10
+ "Read",
11
+ "Consolidated"
12
+ ],
13
+ "description": "Reading status"
14
+ },
15
+ "projects": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ },
20
+ "description": "Projects"
21
+ },
22
+ "topics": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "Topics"
28
+ },
29
+ "rating": {
30
+ "type": "number",
31
+ "description": "Rating of the article"
32
+ }
33
+ },
34
+ "required": [
35
+ "status",
36
+ "projects",
37
+ "topics",
38
+ "rating"
39
+ ],
40
+ "description": "Wikipedia entry: Additional data"
41
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "[[Sources]]"
8
+ },
9
+ "format": {
10
+ "type": "string",
11
+ "const": "[[Encyclopedia Entries]]"
12
+ },
13
+ "areas": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string",
17
+ "const": "[[Knowledge]]"
18
+ }
19
+ },
20
+ "color": {
21
+ "type": "string",
22
+ "const": "#3171B2"
23
+ },
24
+ "icon": {
25
+ "default": "wikipedia",
26
+ "description": "Lucide icon.",
27
+ "type": "string"
28
+ },
29
+ "banner": {
30
+ "type": "string"
31
+ },
32
+ "url": {
33
+ "type": "string",
34
+ "description": "URL of the article"
35
+ },
36
+ "platform": {
37
+ "type": "string",
38
+ "const": "Wikipedia"
39
+ }
40
+ },
41
+ "required": [
42
+ "type",
43
+ "format",
44
+ "areas",
45
+ "color",
46
+ "url",
47
+ "platform"
48
+ ],
49
+ "description": "Wikipedia entry: Metadata of Note"
50
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Title of the Wikipedia entry"
8
+ },
9
+ "description": {
10
+ "description": "Description",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extract of the article",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Authors"
23
+ },
24
+ "published": {
25
+ "description": "Year of publication",
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": [
31
+ "Pending",
32
+ "In Progress",
33
+ "Read",
34
+ "Consolidated"
35
+ ],
36
+ "description": "Reading status"
37
+ },
38
+ "projects": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "Projects"
44
+ },
45
+ "topics": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ },
50
+ "description": "Topics"
51
+ },
52
+ "rating": {
53
+ "type": "number",
54
+ "description": "Rating of the article"
55
+ },
56
+ "type": {
57
+ "type": "string",
58
+ "const": "[[Sources]]"
59
+ },
60
+ "format": {
61
+ "type": "string",
62
+ "const": "[[Encyclopedia Entries]]"
63
+ },
64
+ "areas": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "const": "[[Knowledge]]"
69
+ }
70
+ },
71
+ "color": {
72
+ "type": "string",
73
+ "const": "#3171B2"
74
+ },
75
+ "icon": {
76
+ "default": "wikipedia",
77
+ "description": "Lucide icon.",
78
+ "type": "string"
79
+ },
80
+ "banner": {
81
+ "type": "string"
82
+ },
83
+ "url": {
84
+ "type": "string",
85
+ "description": "URL of the article"
86
+ },
87
+ "platform": {
88
+ "type": "string",
89
+ "const": "Wikipedia"
90
+ }
91
+ },
92
+ "required": [
93
+ "title",
94
+ "author",
95
+ "status",
96
+ "projects",
97
+ "topics",
98
+ "rating",
99
+ "type",
100
+ "format",
101
+ "areas",
102
+ "color",
103
+ "url",
104
+ "platform"
105
+ ],
106
+ "description": "Wikipedia entry"
107
+ }
@@ -0,0 +1,239 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "@segha/catalog/en/Wikipedia",
4
+ "description": "Schemas for Petroglyph Catalog",
5
+ "$defs": {
6
+ "CatalogWikipediaSchema": {
7
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8
+ "type": "object",
9
+ "properties": {
10
+ "title": {
11
+ "type": "string",
12
+ "description": "Title of the Wikipedia entry"
13
+ },
14
+ "description": {
15
+ "description": "Description",
16
+ "type": "string"
17
+ },
18
+ "excerpt": {
19
+ "description": "Extract of the article",
20
+ "type": "string"
21
+ },
22
+ "author": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "Authors"
28
+ },
29
+ "published": {
30
+ "description": "Year of publication",
31
+ "type": "string"
32
+ }
33
+ },
34
+ "required": [
35
+ "title",
36
+ "author"
37
+ ],
38
+ "description": "Wikipedia entry: Data obtainable from cataloging"
39
+ },
40
+ "DetailedWikipediaSchema": {
41
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
42
+ "type": "object",
43
+ "properties": {
44
+ "status": {
45
+ "type": "string",
46
+ "enum": [
47
+ "Pending",
48
+ "In Progress",
49
+ "Read",
50
+ "Consolidated"
51
+ ],
52
+ "description": "Reading status"
53
+ },
54
+ "projects": {
55
+ "type": "array",
56
+ "items": {
57
+ "type": "string"
58
+ },
59
+ "description": "Projects"
60
+ },
61
+ "topics": {
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string"
65
+ },
66
+ "description": "Topics"
67
+ },
68
+ "rating": {
69
+ "type": "number",
70
+ "description": "Rating of the article"
71
+ }
72
+ },
73
+ "required": [
74
+ "status",
75
+ "projects",
76
+ "topics",
77
+ "rating"
78
+ ],
79
+ "description": "Wikipedia entry: Additional data"
80
+ },
81
+ "MetaWikipediaSchema": {
82
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
83
+ "type": "object",
84
+ "properties": {
85
+ "type": {
86
+ "type": "string",
87
+ "const": "[[Sources]]"
88
+ },
89
+ "format": {
90
+ "type": "string",
91
+ "const": "[[Encyclopedia Entries]]"
92
+ },
93
+ "areas": {
94
+ "type": "array",
95
+ "items": {
96
+ "type": "string",
97
+ "const": "[[Knowledge]]"
98
+ }
99
+ },
100
+ "color": {
101
+ "type": "string",
102
+ "const": "#3171B2"
103
+ },
104
+ "icon": {
105
+ "default": "wikipedia",
106
+ "description": "Lucide icon.",
107
+ "type": "string"
108
+ },
109
+ "banner": {
110
+ "type": "string"
111
+ },
112
+ "url": {
113
+ "type": "string",
114
+ "description": "URL of the article"
115
+ },
116
+ "platform": {
117
+ "type": "string",
118
+ "const": "Wikipedia"
119
+ }
120
+ },
121
+ "required": [
122
+ "type",
123
+ "format",
124
+ "areas",
125
+ "color",
126
+ "url",
127
+ "platform"
128
+ ],
129
+ "description": "Wikipedia entry: Metadata of Note"
130
+ },
131
+ "WikipediaSchema": {
132
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
133
+ "type": "object",
134
+ "properties": {
135
+ "title": {
136
+ "type": "string",
137
+ "description": "Title of the Wikipedia entry"
138
+ },
139
+ "description": {
140
+ "description": "Description",
141
+ "type": "string"
142
+ },
143
+ "excerpt": {
144
+ "description": "Extract of the article",
145
+ "type": "string"
146
+ },
147
+ "author": {
148
+ "type": "array",
149
+ "items": {
150
+ "type": "string"
151
+ },
152
+ "description": "Authors"
153
+ },
154
+ "published": {
155
+ "description": "Year of publication",
156
+ "type": "string"
157
+ },
158
+ "status": {
159
+ "type": "string",
160
+ "enum": [
161
+ "Pending",
162
+ "In Progress",
163
+ "Read",
164
+ "Consolidated"
165
+ ],
166
+ "description": "Reading status"
167
+ },
168
+ "projects": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "string"
172
+ },
173
+ "description": "Projects"
174
+ },
175
+ "topics": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "string"
179
+ },
180
+ "description": "Topics"
181
+ },
182
+ "rating": {
183
+ "type": "number",
184
+ "description": "Rating of the article"
185
+ },
186
+ "type": {
187
+ "type": "string",
188
+ "const": "[[Sources]]"
189
+ },
190
+ "format": {
191
+ "type": "string",
192
+ "const": "[[Encyclopedia Entries]]"
193
+ },
194
+ "areas": {
195
+ "type": "array",
196
+ "items": {
197
+ "type": "string",
198
+ "const": "[[Knowledge]]"
199
+ }
200
+ },
201
+ "color": {
202
+ "type": "string",
203
+ "const": "#3171B2"
204
+ },
205
+ "icon": {
206
+ "default": "wikipedia",
207
+ "description": "Lucide icon.",
208
+ "type": "string"
209
+ },
210
+ "banner": {
211
+ "type": "string"
212
+ },
213
+ "url": {
214
+ "type": "string",
215
+ "description": "URL of the article"
216
+ },
217
+ "platform": {
218
+ "type": "string",
219
+ "const": "Wikipedia"
220
+ }
221
+ },
222
+ "required": [
223
+ "title",
224
+ "author",
225
+ "status",
226
+ "projects",
227
+ "topics",
228
+ "rating",
229
+ "type",
230
+ "format",
231
+ "areas",
232
+ "color",
233
+ "url",
234
+ "platform"
235
+ ],
236
+ "description": "Wikipedia entry"
237
+ }
238
+ }
239
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Title of the Wikipedia entry"
8
+ },
9
+ "description": {
10
+ "description": "Description",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extract of the article",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Authors"
23
+ },
24
+ "published": {
25
+ "description": "Year of publication",
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": [
31
+ "Pending",
32
+ "In Progress",
33
+ "Read",
34
+ "Consolidated"
35
+ ],
36
+ "description": "Reading status"
37
+ },
38
+ "projects": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "Projects"
44
+ },
45
+ "topics": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ },
50
+ "description": "Topics"
51
+ },
52
+ "rating": {
53
+ "type": "number",
54
+ "description": "Rating of the article"
55
+ },
56
+ "type": {
57
+ "type": "string",
58
+ "const": "[[Sources]]"
59
+ },
60
+ "format": {
61
+ "type": "string",
62
+ "const": "[[Encyclopedia Entries]]"
63
+ },
64
+ "areas": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "const": "[[Knowledge]]"
69
+ }
70
+ },
71
+ "color": {
72
+ "type": "string",
73
+ "const": "#3171B2"
74
+ },
75
+ "icon": {
76
+ "default": "wikipedia",
77
+ "description": "Lucide icon.",
78
+ "type": "string"
79
+ },
80
+ "banner": {
81
+ "type": "string"
82
+ },
83
+ "url": {
84
+ "type": "string",
85
+ "description": "URL of the article"
86
+ },
87
+ "platform": {
88
+ "type": "string",
89
+ "const": "Wikipedia"
90
+ }
91
+ },
92
+ "required": [
93
+ "title",
94
+ "author",
95
+ "status",
96
+ "projects",
97
+ "topics",
98
+ "rating",
99
+ "type",
100
+ "format",
101
+ "areas",
102
+ "color",
103
+ "url",
104
+ "platform"
105
+ ],
106
+ "description": "Wikipedia entry"
107
+ }