@segha/catalog 2.1.0 → 3.0.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 (240) hide show
  1. package/CHANGELOG.md +179 -0
  2. package/README.md +83 -0
  3. package/en/Note.ts +2 -0
  4. package/en/Wikipedia/index.ts +18 -0
  5. package/en/Wikipedia/types.ts +10 -0
  6. package/en/index.ts +1 -0
  7. package/es/Article/index.ts +19 -23
  8. package/es/Article/types.ts +1 -4
  9. package/es/Book/index.ts +23 -27
  10. package/es/Book/types.ts +1 -4
  11. package/es/Clothing/index.ts +29 -14
  12. package/es/Clothing/types.ts +1 -3
  13. package/es/Core/Area.ts +66 -0
  14. package/es/Core/Common.ts +43 -0
  15. package/es/Core/Format.ts +28 -0
  16. package/es/Core/Rating.ts +33 -0
  17. package/es/Core/Resource.ts +18 -0
  18. package/es/Core/Source.ts +37 -0
  19. package/es/Core/Subtype.ts +8 -0
  20. package/es/Core/Type.ts +36 -0
  21. package/es/Core/index.ts +9 -0
  22. package/es/DataTypes/Color.ts +22 -0
  23. package/es/DataTypes/Date.ts +45 -0
  24. package/es/DataTypes/Icon.ts +7 -0
  25. package/es/DataTypes/Image.ts +9 -0
  26. package/es/DataTypes/Language.ts +11 -0
  27. package/es/DataTypes/Status.ts +8 -0
  28. package/es/DataTypes/Wikilink.ts +16 -0
  29. package/es/DataTypes/index.ts +7 -0
  30. package/es/EncyclopediaEntry/index.ts +30 -0
  31. package/es/EncyclopediaEntry/types.ts +8 -0
  32. package/es/Movie/MovieExternalId.ts +7 -0
  33. package/es/Movie/index.ts +25 -28
  34. package/es/Movie/types.ts +1 -4
  35. package/es/Note.ts +6 -0
  36. package/es/Painting/index.ts +23 -0
  37. package/es/Painting/types.ts +6 -0
  38. package/es/Video/index.ts +35 -0
  39. package/es/Video/types.ts +9 -0
  40. package/es/index.ts +3 -0
  41. package/es/types.ts +3 -0
  42. package/json-schemas/ArticleSchema.json +0 -1
  43. package/json-schemas/BookSchema.json +0 -1
  44. package/json-schemas/CatalogArticleSchema.json +0 -1
  45. package/json-schemas/CatalogBookSchema.json +0 -1
  46. package/json-schemas/CatalogClothingSchema.json +0 -1
  47. package/json-schemas/CatalogMovieSchema.json +0 -1
  48. package/json-schemas/{es/CatalogArticleSchema.json → CatalogWikipediaSchema.json} +6 -7
  49. package/json-schemas/ClothingSchema.json +0 -2
  50. package/json-schemas/DetailedArticleSchema.json +0 -1
  51. package/json-schemas/DetailedBookSchema.json +0 -1
  52. package/json-schemas/DetailedClothingSchema.json +0 -2
  53. package/json-schemas/DetailedMovieSchema.json +0 -1
  54. package/json-schemas/{es/Article/DetailedArticleSchema.json → DetailedWikipediaSchema.json} +9 -10
  55. package/json-schemas/MetaArticleSchema.json +0 -1
  56. package/json-schemas/MetaBookSchema.json +0 -1
  57. package/json-schemas/MetaClothingSchema.json +0 -1
  58. package/json-schemas/MetaMovieSchema.json +0 -1
  59. package/json-schemas/{es/Book/MetaBookSchema.json → MetaWikipediaSchema.json} +11 -12
  60. package/json-schemas/MovieSchema.json +0 -1
  61. package/json-schemas/NoteSchema.json +106 -5
  62. package/json-schemas/WikipediaSchema.json +107 -0
  63. package/json-schemas/common/Palette.json +14 -0
  64. package/json-schemas/common/Scheme.json +11 -0
  65. package/json-schemas/common/index.json +32 -0
  66. package/json-schemas/en/Article/ArticleSchema.json +0 -1
  67. package/json-schemas/en/Article/CatalogArticleSchema.json +0 -1
  68. package/json-schemas/en/Article/DetailedArticleSchema.json +0 -1
  69. package/json-schemas/en/Article/MetaArticleSchema.json +0 -1
  70. package/json-schemas/en/Article/index.json +0 -4
  71. package/json-schemas/en/ArticleSchema.json +0 -1
  72. package/json-schemas/en/Book/BookSchema.json +0 -1
  73. package/json-schemas/en/Book/CatalogBookSchema.json +0 -1
  74. package/json-schemas/en/Book/DetailedBookSchema.json +0 -1
  75. package/json-schemas/en/Book/MetaBookSchema.json +0 -1
  76. package/json-schemas/en/Book/index.json +0 -4
  77. package/json-schemas/en/BookSchema.json +0 -1
  78. package/json-schemas/en/CatalogArticleSchema.json +0 -1
  79. package/json-schemas/en/CatalogBookSchema.json +0 -1
  80. package/json-schemas/en/CatalogClothingSchema.json +0 -1
  81. package/json-schemas/en/CatalogMovieSchema.json +0 -1
  82. package/json-schemas/{es/Article/CatalogArticleSchema.json → en/CatalogWikipediaSchema.json} +6 -7
  83. package/json-schemas/en/Clothing/CatalogClothingSchema.json +0 -1
  84. package/json-schemas/en/Clothing/ClothingSchema.json +0 -2
  85. package/json-schemas/en/Clothing/DetailedClothingSchema.json +0 -2
  86. package/json-schemas/en/Clothing/MetaClothingSchema.json +0 -1
  87. package/json-schemas/en/Clothing/index.json +0 -6
  88. package/json-schemas/en/ClothingSchema.json +0 -2
  89. package/json-schemas/en/DetailedArticleSchema.json +0 -1
  90. package/json-schemas/en/DetailedBookSchema.json +0 -1
  91. package/json-schemas/en/DetailedClothingSchema.json +0 -2
  92. package/json-schemas/en/DetailedMovieSchema.json +0 -1
  93. package/json-schemas/{es/DetailedArticleSchema.json → en/DetailedWikipediaSchema.json} +9 -10
  94. package/json-schemas/en/MetaArticleSchema.json +0 -1
  95. package/json-schemas/en/MetaBookSchema.json +0 -1
  96. package/json-schemas/en/MetaClothingSchema.json +0 -1
  97. package/json-schemas/en/MetaMovieSchema.json +0 -1
  98. package/json-schemas/{es/MetaBookSchema.json → en/MetaWikipediaSchema.json} +11 -12
  99. package/json-schemas/en/Movie/CatalogMovieSchema.json +0 -1
  100. package/json-schemas/en/Movie/DetailedMovieSchema.json +0 -1
  101. package/json-schemas/en/Movie/MetaMovieSchema.json +0 -1
  102. package/json-schemas/en/Movie/MovieSchema.json +0 -1
  103. package/json-schemas/en/Movie/index.json +0 -4
  104. package/json-schemas/en/MovieSchema.json +0 -1
  105. package/json-schemas/en/NoteSchema.json +106 -5
  106. package/json-schemas/en/Wikipedia/CatalogWikipediaSchema.json +34 -0
  107. package/json-schemas/en/Wikipedia/DetailedWikipediaSchema.json +41 -0
  108. package/json-schemas/{es/Article/MetaArticleSchema.json → en/Wikipedia/MetaWikipediaSchema.json} +14 -10
  109. package/json-schemas/en/Wikipedia/WikipediaSchema.json +107 -0
  110. package/json-schemas/en/Wikipedia/index.json +239 -0
  111. package/json-schemas/en/WikipediaSchema.json +107 -0
  112. package/json-schemas/en/index.json +338 -23
  113. package/json-schemas/es/Article/ArticleSchema.json +202 -61
  114. package/json-schemas/es/Article/index.json +196 -178
  115. package/json-schemas/es/ArticleSchema.json +202 -61
  116. package/json-schemas/es/Book/BookSchema.json +240 -80
  117. package/json-schemas/es/Book/index.json +226 -210
  118. package/json-schemas/es/BookSchema.json +240 -80
  119. package/json-schemas/es/CatalogClothingSchema.json +1 -1
  120. package/json-schemas/es/Clothing/CatalogClothingSchema.json +1 -1
  121. package/json-schemas/es/Clothing/ClothingSchema.json +173 -46
  122. package/json-schemas/es/Clothing/index.json +174 -163
  123. package/json-schemas/es/ClothingSchema.json +173 -46
  124. package/json-schemas/es/Core/Articles.json +6 -0
  125. package/json-schemas/es/Core/Atrocious.json +6 -0
  126. package/json-schemas/es/Core/Bad.json +6 -0
  127. package/json-schemas/es/Core/Books.json +6 -0
  128. package/json-schemas/es/Core/Capabilities.json +6 -0
  129. package/json-schemas/es/Core/Chronicles.json +6 -0
  130. package/json-schemas/es/Core/Clothes.json +6 -0
  131. package/json-schemas/es/Core/CommonSchema.json +165 -0
  132. package/json-schemas/es/Core/Creativity.json +6 -0
  133. package/json-schemas/es/Core/EncyclopediaEntries.json +6 -0
  134. package/json-schemas/es/Core/Energy.json +6 -0
  135. package/json-schemas/es/Core/Entities.json +6 -0
  136. package/json-schemas/es/Core/Evil.json +6 -0
  137. package/json-schemas/es/Core/Excellent.json +6 -0
  138. package/json-schemas/es/Core/Exercise.json +6 -0
  139. package/json-schemas/es/Core/Exploration.json +6 -0
  140. package/json-schemas/es/Core/Extracts.json +6 -0
  141. package/json-schemas/es/Core/Finances.json +6 -0
  142. package/json-schemas/es/Core/Food.json +6 -0
  143. package/json-schemas/es/Core/Format.json +13 -0
  144. package/json-schemas/es/Core/Good.json +6 -0
  145. package/json-schemas/es/Core/Health.json +6 -0
  146. package/json-schemas/es/Core/Home.json +6 -0
  147. package/json-schemas/es/Core/Knowledge.json +6 -0
  148. package/json-schemas/es/Core/Links.json +6 -0
  149. package/json-schemas/es/Core/MentalHealth.json +6 -0
  150. package/json-schemas/es/Core/Movies.json +6 -0
  151. package/json-schemas/es/Core/Paintings.json +6 -0
  152. package/json-schemas/es/Core/Passable.json +6 -0
  153. package/json-schemas/es/Core/Perfect.json +6 -0
  154. package/json-schemas/es/Core/Productivity.json +6 -0
  155. package/json-schemas/es/Core/Publications.json +6 -0
  156. package/json-schemas/es/Core/Rating.json +41 -0
  157. package/json-schemas/es/Core/ResourceSchema.json +171 -0
  158. package/json-schemas/es/Core/Resources.json +6 -0
  159. package/json-schemas/es/Core/ResourcesSubtype.json +11 -0
  160. package/json-schemas/es/Core/Scenarios.json +6 -0
  161. package/json-schemas/es/Core/SourceSchema.json +209 -0
  162. package/json-schemas/es/Core/Sources.json +6 -0
  163. package/json-schemas/es/Core/SourcesFormat.json +16 -0
  164. package/json-schemas/es/Core/StructuredThinking.json +6 -0
  165. package/json-schemas/es/Core/Subtype.json +8 -0
  166. package/json-schemas/es/Core/Type.json +15 -0
  167. package/json-schemas/es/Core/Videos.json +6 -0
  168. package/json-schemas/es/Core/Work.json +6 -0
  169. package/json-schemas/es/Core/index.json +939 -0
  170. package/json-schemas/es/DataTypes/Blue.json +6 -0
  171. package/json-schemas/es/DataTypes/Color.json +6 -0
  172. package/json-schemas/es/DataTypes/Consolidated.json +5 -0
  173. package/json-schemas/es/DataTypes/Date.json +21 -0
  174. package/json-schemas/es/DataTypes/DateTime.json +6 -0
  175. package/json-schemas/es/DataTypes/DateTimeOffset.json +6 -0
  176. package/json-schemas/es/DataTypes/Embedding.json +6 -0
  177. package/json-schemas/es/DataTypes/FullDate.json +6 -0
  178. package/json-schemas/es/DataTypes/Hex.json +6 -0
  179. package/json-schemas/es/DataTypes/Icon.json +6 -0
  180. package/json-schemas/es/DataTypes/Image.json +15 -0
  181. package/json-schemas/es/DataTypes/InProgress.json +5 -0
  182. package/json-schemas/es/DataTypes/Language.json +6 -0
  183. package/json-schemas/es/DataTypes/LanguageTag.json +6 -0
  184. package/json-schemas/es/DataTypes/Month.json +6 -0
  185. package/json-schemas/es/DataTypes/Orange.json +6 -0
  186. package/json-schemas/es/DataTypes/OrdinalDate.json +6 -0
  187. package/json-schemas/es/DataTypes/Pending.json +5 -0
  188. package/json-schemas/es/DataTypes/Read.json +5 -0
  189. package/json-schemas/es/DataTypes/Seen.json +5 -0
  190. package/json-schemas/es/DataTypes/Time.json +6 -0
  191. package/json-schemas/es/DataTypes/Watched.json +5 -0
  192. package/json-schemas/es/DataTypes/Week.json +6 -0
  193. package/json-schemas/es/DataTypes/WeekWithWeekDay.json +6 -0
  194. package/json-schemas/es/DataTypes/Wikilink.json +6 -0
  195. package/json-schemas/es/DataTypes/WikilinkOrEmbedding.json +6 -0
  196. package/json-schemas/es/DataTypes/Year.json +6 -0
  197. package/json-schemas/es/DataTypes/Yellow.json +6 -0
  198. package/json-schemas/es/DataTypes/index.json +193 -0
  199. package/json-schemas/es/EncyclopediaEntry/EncyclopediaEntrySchema.json +252 -0
  200. package/json-schemas/es/EncyclopediaEntry/WikipediaEntrySchema.json +257 -0
  201. package/json-schemas/es/EncyclopediaEntry/index.json +516 -0
  202. package/json-schemas/es/EncyclopediaEntrySchema.json +252 -0
  203. package/json-schemas/es/Movie/MovieExternalId.json +5 -0
  204. package/json-schemas/es/Movie/MovieSchema.json +233 -80
  205. package/json-schemas/es/Movie/index.json +224 -214
  206. package/json-schemas/es/MovieSchema.json +233 -80
  207. package/json-schemas/es/NoteSchema.json +1540 -248
  208. package/json-schemas/es/Painting/PaintingSchema.json +232 -0
  209. package/json-schemas/es/Painting/index.json +239 -0
  210. package/json-schemas/es/PaintingSchema.json +232 -0
  211. package/json-schemas/es/Video/VideoSchema.json +230 -0
  212. package/json-schemas/es/Video/VimeoSchema.json +221 -0
  213. package/json-schemas/es/Video/YoutubeSchema.json +221 -0
  214. package/json-schemas/es/Video/index.json +679 -0
  215. package/json-schemas/es/VideoSchema.json +230 -0
  216. package/json-schemas/es/VimeoSchema.json +221 -0
  217. package/json-schemas/es/WikipediaEntrySchema.json +257 -0
  218. package/json-schemas/es/YoutubeSchema.json +221 -0
  219. package/json-schemas/es/index.json +3655 -967
  220. package/json-schemas/index.json +338 -23
  221. package/package.json +10 -4
  222. package/es/Areas.ts +0 -24
  223. package/json-schemas/es/Book/CatalogBookSchema.json +0 -44
  224. package/json-schemas/es/Book/DetailedBookSchema.json +0 -49
  225. package/json-schemas/es/CatalogBookSchema.json +0 -44
  226. package/json-schemas/es/CatalogMovieSchema.json +0 -49
  227. package/json-schemas/es/Clothing/DetailedClothingSchema.json +0 -75
  228. package/json-schemas/es/Clothing/MetaClothingSchema.json +0 -41
  229. package/json-schemas/es/DetailedBookSchema.json +0 -49
  230. package/json-schemas/es/DetailedClothingSchema.json +0 -75
  231. package/json-schemas/es/DetailedMovieSchema.json +0 -48
  232. package/json-schemas/es/MetaArticleSchema.json +0 -46
  233. package/json-schemas/es/MetaClothingSchema.json +0 -41
  234. package/json-schemas/es/MetaMovieSchema.json +0 -51
  235. package/json-schemas/es/Movie/CatalogMovieSchema.json +0 -49
  236. package/json-schemas/es/Movie/DetailedMovieSchema.json +0 -48
  237. package/json-schemas/es/Movie/MetaMovieSchema.json +0 -51
  238. /package/json-schemas/es/{Area.json → Core/Area.json} +0 -0
  239. /package/json-schemas/es/{Areas.json → Core/Areas.json} +0 -0
  240. /package/json-schemas/es/{FirstLevelArea.json → Core/FirstLevelArea.json} +0 -0
@@ -172,7 +172,6 @@
172
172
  "icon",
173
173
  "url"
174
174
  ],
175
- "additionalProperties": false,
176
175
  "description": "Article"
177
176
  },
178
177
  {
@@ -295,7 +294,6 @@
295
294
  "url",
296
295
  "read_url"
297
296
  ],
298
- "additionalProperties": false,
299
297
  "description": "Book"
300
298
  },
301
299
  {
@@ -674,7 +672,6 @@
674
672
  "slot",
675
673
  "primary_color",
676
674
  "layer",
677
- "status",
678
675
  "size",
679
676
  "type",
680
677
  "subtype",
@@ -682,7 +679,6 @@
682
679
  "color",
683
680
  "icon"
684
681
  ],
685
- "additionalProperties": false,
686
682
  "description": "Clothing item"
687
683
  },
688
684
  {
@@ -809,8 +805,113 @@
809
805
  "url",
810
806
  "watch_url"
811
807
  ],
812
- "additionalProperties": false,
813
808
  "description": "Movie"
809
+ },
810
+ {
811
+ "type": "object",
812
+ "properties": {
813
+ "title": {
814
+ "type": "string",
815
+ "description": "Title of the Wikipedia entry"
816
+ },
817
+ "description": {
818
+ "description": "Description",
819
+ "type": "string"
820
+ },
821
+ "excerpt": {
822
+ "description": "Extract of the article",
823
+ "type": "string"
824
+ },
825
+ "author": {
826
+ "type": "array",
827
+ "items": {
828
+ "type": "string"
829
+ },
830
+ "description": "Authors"
831
+ },
832
+ "published": {
833
+ "description": "Year of publication",
834
+ "type": "string"
835
+ },
836
+ "status": {
837
+ "type": "string",
838
+ "enum": [
839
+ "Pending",
840
+ "In Progress",
841
+ "Read",
842
+ "Consolidated"
843
+ ],
844
+ "description": "Reading status"
845
+ },
846
+ "projects": {
847
+ "type": "array",
848
+ "items": {
849
+ "type": "string"
850
+ },
851
+ "description": "Projects"
852
+ },
853
+ "topics": {
854
+ "type": "array",
855
+ "items": {
856
+ "type": "string"
857
+ },
858
+ "description": "Topics"
859
+ },
860
+ "rating": {
861
+ "type": "number",
862
+ "description": "Rating of the article"
863
+ },
864
+ "type": {
865
+ "type": "string",
866
+ "const": "[[Sources]]"
867
+ },
868
+ "format": {
869
+ "type": "string",
870
+ "const": "[[Encyclopedia Entries]]"
871
+ },
872
+ "areas": {
873
+ "type": "array",
874
+ "items": {
875
+ "type": "string",
876
+ "const": "[[Knowledge]]"
877
+ }
878
+ },
879
+ "color": {
880
+ "type": "string",
881
+ "const": "#3171B2"
882
+ },
883
+ "icon": {
884
+ "default": "wikipedia",
885
+ "description": "Lucide icon.",
886
+ "type": "string"
887
+ },
888
+ "banner": {
889
+ "type": "string"
890
+ },
891
+ "url": {
892
+ "type": "string",
893
+ "description": "URL of the article"
894
+ },
895
+ "platform": {
896
+ "type": "string",
897
+ "const": "Wikipedia"
898
+ }
899
+ },
900
+ "required": [
901
+ "title",
902
+ "author",
903
+ "status",
904
+ "projects",
905
+ "topics",
906
+ "rating",
907
+ "type",
908
+ "format",
909
+ "areas",
910
+ "color",
911
+ "url",
912
+ "platform"
913
+ ],
914
+ "description": "Wikipedia entry"
814
915
  }
815
916
  ],
816
917
  "description": "Note: Union of all note types"
@@ -915,7 +1016,6 @@
915
1016
  "icon",
916
1017
  "url"
917
1018
  ],
918
- "additionalProperties": false,
919
1019
  "description": "Article"
920
1020
  },
921
1021
  "BookSchema": {
@@ -1039,7 +1139,6 @@
1039
1139
  "url",
1040
1140
  "read_url"
1041
1141
  ],
1042
- "additionalProperties": false,
1043
1142
  "description": "Book"
1044
1143
  },
1045
1144
  "CatalogArticleSchema": {
@@ -1074,7 +1173,6 @@
1074
1173
  "title",
1075
1174
  "author"
1076
1175
  ],
1077
- "additionalProperties": false,
1078
1176
  "description": "Article: Data obtained from catalogation"
1079
1177
  },
1080
1178
  "CatalogBookSchema": {
@@ -1118,7 +1216,6 @@
1118
1216
  "published",
1119
1217
  "categories"
1120
1218
  ],
1121
- "additionalProperties": false,
1122
1219
  "description": "Book: Data obtained from catalogation"
1123
1220
  },
1124
1221
  "CatalogClothingSchema": {
@@ -1410,7 +1507,6 @@
1410
1507
  "primary_color",
1411
1508
  "layer"
1412
1509
  ],
1413
- "additionalProperties": false,
1414
1510
  "description": "Clothing item: Catalogable data"
1415
1511
  },
1416
1512
  "CatalogMovieSchema": {
@@ -1459,9 +1555,42 @@
1459
1555
  "published",
1460
1556
  "genres"
1461
1557
  ],
1462
- "additionalProperties": false,
1463
1558
  "description": "Movie: Data obtained from catalogation"
1464
1559
  },
1560
+ "CatalogWikipediaSchema": {
1561
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1562
+ "type": "object",
1563
+ "properties": {
1564
+ "title": {
1565
+ "type": "string",
1566
+ "description": "Title of the Wikipedia entry"
1567
+ },
1568
+ "description": {
1569
+ "description": "Description",
1570
+ "type": "string"
1571
+ },
1572
+ "excerpt": {
1573
+ "description": "Extract of the article",
1574
+ "type": "string"
1575
+ },
1576
+ "author": {
1577
+ "type": "array",
1578
+ "items": {
1579
+ "type": "string"
1580
+ },
1581
+ "description": "Authors"
1582
+ },
1583
+ "published": {
1584
+ "description": "Year of publication",
1585
+ "type": "string"
1586
+ }
1587
+ },
1588
+ "required": [
1589
+ "title",
1590
+ "author"
1591
+ ],
1592
+ "description": "Wikipedia entry: Data obtainable from cataloging"
1593
+ },
1465
1594
  "ClothingSchema": {
1466
1595
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1467
1596
  "type": "object",
@@ -1839,7 +1968,6 @@
1839
1968
  "slot",
1840
1969
  "primary_color",
1841
1970
  "layer",
1842
- "status",
1843
1971
  "size",
1844
1972
  "type",
1845
1973
  "subtype",
@@ -1847,7 +1975,6 @@
1847
1975
  "color",
1848
1976
  "icon"
1849
1977
  ],
1850
- "additionalProperties": false,
1851
1978
  "description": "Clothing item"
1852
1979
  },
1853
1980
  "DetailedArticleSchema": {
@@ -1889,7 +2016,6 @@
1889
2016
  "topics",
1890
2017
  "rating"
1891
2018
  ],
1892
- "additionalProperties": false,
1893
2019
  "description": "Article: Additional data"
1894
2020
  },
1895
2021
  "DetailedBookSchema": {
@@ -1938,7 +2064,6 @@
1938
2064
  "last_time_read",
1939
2065
  "times_read"
1940
2066
  ],
1941
- "additionalProperties": false,
1942
2067
  "description": "Book: Additional data"
1943
2068
  },
1944
2069
  "DetailedClothingSchema": {
@@ -2010,10 +2135,8 @@
2010
2135
  }
2011
2136
  },
2012
2137
  "required": [
2013
- "status",
2014
2138
  "size"
2015
2139
  ],
2016
- "additionalProperties": false,
2017
2140
  "description": "Clothing item: Additional hard-to-obtain data"
2018
2141
  },
2019
2142
  "DetailedMovieSchema": {
@@ -2061,9 +2184,49 @@
2061
2184
  "last_time_watched",
2062
2185
  "times_watched"
2063
2186
  ],
2064
- "additionalProperties": false,
2065
2187
  "description": "Movie: Additional data"
2066
2188
  },
2189
+ "DetailedWikipediaSchema": {
2190
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2191
+ "type": "object",
2192
+ "properties": {
2193
+ "status": {
2194
+ "type": "string",
2195
+ "enum": [
2196
+ "Pending",
2197
+ "In Progress",
2198
+ "Read",
2199
+ "Consolidated"
2200
+ ],
2201
+ "description": "Reading status"
2202
+ },
2203
+ "projects": {
2204
+ "type": "array",
2205
+ "items": {
2206
+ "type": "string"
2207
+ },
2208
+ "description": "Projects"
2209
+ },
2210
+ "topics": {
2211
+ "type": "array",
2212
+ "items": {
2213
+ "type": "string"
2214
+ },
2215
+ "description": "Topics"
2216
+ },
2217
+ "rating": {
2218
+ "type": "number",
2219
+ "description": "Rating of the article"
2220
+ }
2221
+ },
2222
+ "required": [
2223
+ "status",
2224
+ "projects",
2225
+ "topics",
2226
+ "rating"
2227
+ ],
2228
+ "description": "Wikipedia entry: Additional data"
2229
+ },
2067
2230
  "MetaArticleSchema": {
2068
2231
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2069
2232
  "type": "object",
@@ -2107,7 +2270,6 @@
2107
2270
  "icon",
2108
2271
  "url"
2109
2272
  ],
2110
- "additionalProperties": false,
2111
2273
  "description": "Article: Metadata of Note"
2112
2274
  },
2113
2275
  "MetaBookSchema": {
@@ -2158,7 +2320,6 @@
2158
2320
  "url",
2159
2321
  "read_url"
2160
2322
  ],
2161
- "additionalProperties": false,
2162
2323
  "description": "Book: Metadata of Note"
2163
2324
  },
2164
2325
  "MetaClothingSchema": {
@@ -2199,7 +2360,6 @@
2199
2360
  "color",
2200
2361
  "icon"
2201
2362
  ],
2202
- "additionalProperties": false,
2203
2363
  "description": "Clothing item: Note metadata"
2204
2364
  },
2205
2365
  "MetaMovieSchema": {
@@ -2250,9 +2410,58 @@
2250
2410
  "url",
2251
2411
  "watch_url"
2252
2412
  ],
2253
- "additionalProperties": false,
2254
2413
  "description": "Movie: Metadata of Note"
2255
2414
  },
2415
+ "MetaWikipediaSchema": {
2416
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2417
+ "type": "object",
2418
+ "properties": {
2419
+ "type": {
2420
+ "type": "string",
2421
+ "const": "[[Sources]]"
2422
+ },
2423
+ "format": {
2424
+ "type": "string",
2425
+ "const": "[[Encyclopedia Entries]]"
2426
+ },
2427
+ "areas": {
2428
+ "type": "array",
2429
+ "items": {
2430
+ "type": "string",
2431
+ "const": "[[Knowledge]]"
2432
+ }
2433
+ },
2434
+ "color": {
2435
+ "type": "string",
2436
+ "const": "#3171B2"
2437
+ },
2438
+ "icon": {
2439
+ "default": "wikipedia",
2440
+ "description": "Lucide icon.",
2441
+ "type": "string"
2442
+ },
2443
+ "banner": {
2444
+ "type": "string"
2445
+ },
2446
+ "url": {
2447
+ "type": "string",
2448
+ "description": "URL of the article"
2449
+ },
2450
+ "platform": {
2451
+ "type": "string",
2452
+ "const": "Wikipedia"
2453
+ }
2454
+ },
2455
+ "required": [
2456
+ "type",
2457
+ "format",
2458
+ "areas",
2459
+ "color",
2460
+ "url",
2461
+ "platform"
2462
+ ],
2463
+ "description": "Wikipedia entry: Metadata of Note"
2464
+ },
2256
2465
  "MovieSchema": {
2257
2466
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2258
2467
  "type": "object",
@@ -2378,8 +2587,114 @@
2378
2587
  "url",
2379
2588
  "watch_url"
2380
2589
  ],
2381
- "additionalProperties": false,
2382
2590
  "description": "Movie"
2591
+ },
2592
+ "WikipediaSchema": {
2593
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2594
+ "type": "object",
2595
+ "properties": {
2596
+ "title": {
2597
+ "type": "string",
2598
+ "description": "Title of the Wikipedia entry"
2599
+ },
2600
+ "description": {
2601
+ "description": "Description",
2602
+ "type": "string"
2603
+ },
2604
+ "excerpt": {
2605
+ "description": "Extract of the article",
2606
+ "type": "string"
2607
+ },
2608
+ "author": {
2609
+ "type": "array",
2610
+ "items": {
2611
+ "type": "string"
2612
+ },
2613
+ "description": "Authors"
2614
+ },
2615
+ "published": {
2616
+ "description": "Year of publication",
2617
+ "type": "string"
2618
+ },
2619
+ "status": {
2620
+ "type": "string",
2621
+ "enum": [
2622
+ "Pending",
2623
+ "In Progress",
2624
+ "Read",
2625
+ "Consolidated"
2626
+ ],
2627
+ "description": "Reading status"
2628
+ },
2629
+ "projects": {
2630
+ "type": "array",
2631
+ "items": {
2632
+ "type": "string"
2633
+ },
2634
+ "description": "Projects"
2635
+ },
2636
+ "topics": {
2637
+ "type": "array",
2638
+ "items": {
2639
+ "type": "string"
2640
+ },
2641
+ "description": "Topics"
2642
+ },
2643
+ "rating": {
2644
+ "type": "number",
2645
+ "description": "Rating of the article"
2646
+ },
2647
+ "type": {
2648
+ "type": "string",
2649
+ "const": "[[Sources]]"
2650
+ },
2651
+ "format": {
2652
+ "type": "string",
2653
+ "const": "[[Encyclopedia Entries]]"
2654
+ },
2655
+ "areas": {
2656
+ "type": "array",
2657
+ "items": {
2658
+ "type": "string",
2659
+ "const": "[[Knowledge]]"
2660
+ }
2661
+ },
2662
+ "color": {
2663
+ "type": "string",
2664
+ "const": "#3171B2"
2665
+ },
2666
+ "icon": {
2667
+ "default": "wikipedia",
2668
+ "description": "Lucide icon.",
2669
+ "type": "string"
2670
+ },
2671
+ "banner": {
2672
+ "type": "string"
2673
+ },
2674
+ "url": {
2675
+ "type": "string",
2676
+ "description": "URL of the article"
2677
+ },
2678
+ "platform": {
2679
+ "type": "string",
2680
+ "const": "Wikipedia"
2681
+ }
2682
+ },
2683
+ "required": [
2684
+ "title",
2685
+ "author",
2686
+ "status",
2687
+ "projects",
2688
+ "topics",
2689
+ "rating",
2690
+ "type",
2691
+ "format",
2692
+ "areas",
2693
+ "color",
2694
+ "url",
2695
+ "platform"
2696
+ ],
2697
+ "description": "Wikipedia entry"
2383
2698
  }
2384
2699
  }
2385
2700
  }