@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,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,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "[[Food]]",
6
+ "[[Health]]",
7
+ "[[Knowledge]]",
8
+ "[[Structured Thinking]]",
9
+ "[[Home]]",
10
+ "[[Productivity]]",
11
+ "[[Exploration]]",
12
+ "[[Links]]",
13
+ "[[Exercise]]",
14
+ "[[Energy]]",
15
+ "[[Work]]",
16
+ "[[Finances]]",
17
+ "[[Mental Health]]",
18
+ "[[Creativity]]"
19
+ ],
20
+ "description": "Area"
21
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "string",
6
+ "enum": [
7
+ "[[Food]]",
8
+ "[[Health]]",
9
+ "[[Knowledge]]",
10
+ "[[Structured Thinking]]",
11
+ "[[Home]]",
12
+ "[[Productivity]]",
13
+ "[[Exploration]]",
14
+ "[[Links]]",
15
+ "[[Exercise]]",
16
+ "[[Energy]]",
17
+ "[[Work]]",
18
+ "[[Finances]]",
19
+ "[[Mental Health]]",
20
+ "[[Creativity]]"
21
+ ],
22
+ "description": "Area"
23
+ },
24
+ "description": "Areas"
25
+ }
@@ -0,0 +1,102 @@
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 article"
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": "[[Articles]]"
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
+ "type": "string",
77
+ "const": "newspaper"
78
+ },
79
+ "banner": {
80
+ "type": "string"
81
+ },
82
+ "url": {
83
+ "type": "string",
84
+ "description": "URL of the article"
85
+ }
86
+ },
87
+ "required": [
88
+ "title",
89
+ "author",
90
+ "status",
91
+ "projects",
92
+ "topics",
93
+ "rating",
94
+ "type",
95
+ "format",
96
+ "areas",
97
+ "color",
98
+ "icon",
99
+ "url"
100
+ ],
101
+ "description": "Article"
102
+ }
@@ -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 article"
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": "Article: Data obtained from catalogation"
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": "Article: Additional data"
41
+ }
@@ -0,0 +1,45 @@
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": "[[Articles]]"
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
+ "type": "string",
26
+ "const": "newspaper"
27
+ },
28
+ "banner": {
29
+ "type": "string"
30
+ },
31
+ "url": {
32
+ "type": "string",
33
+ "description": "URL of the article"
34
+ }
35
+ },
36
+ "required": [
37
+ "type",
38
+ "format",
39
+ "areas",
40
+ "color",
41
+ "icon",
42
+ "url"
43
+ ],
44
+ "description": "Article: Metadata of Note"
45
+ }
@@ -0,0 +1,229 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "@segha/catalog/en/Article",
4
+ "description": "Schemas for Petroglyph Catalog",
5
+ "$defs": {
6
+ "ArticleSchema": {
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 article"
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
+ "status": {
34
+ "type": "string",
35
+ "enum": [
36
+ "Pending",
37
+ "In Progress",
38
+ "Read",
39
+ "Consolidated"
40
+ ],
41
+ "description": "Reading status"
42
+ },
43
+ "projects": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string"
47
+ },
48
+ "description": "Projects"
49
+ },
50
+ "topics": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "string"
54
+ },
55
+ "description": "Topics"
56
+ },
57
+ "rating": {
58
+ "type": "number",
59
+ "description": "Rating of the article"
60
+ },
61
+ "type": {
62
+ "type": "string",
63
+ "const": "[[Sources]]"
64
+ },
65
+ "format": {
66
+ "type": "string",
67
+ "const": "[[Articles]]"
68
+ },
69
+ "areas": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string",
73
+ "const": "[[Knowledge]]"
74
+ }
75
+ },
76
+ "color": {
77
+ "type": "string",
78
+ "const": "#3171B2"
79
+ },
80
+ "icon": {
81
+ "type": "string",
82
+ "const": "newspaper"
83
+ },
84
+ "banner": {
85
+ "type": "string"
86
+ },
87
+ "url": {
88
+ "type": "string",
89
+ "description": "URL of the article"
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
+ "icon",
104
+ "url"
105
+ ],
106
+ "description": "Article"
107
+ },
108
+ "CatalogArticleSchema": {
109
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
110
+ "type": "object",
111
+ "properties": {
112
+ "title": {
113
+ "type": "string",
114
+ "description": "Title of the article"
115
+ },
116
+ "description": {
117
+ "description": "Description",
118
+ "type": "string"
119
+ },
120
+ "excerpt": {
121
+ "description": "Extract of the article",
122
+ "type": "string"
123
+ },
124
+ "author": {
125
+ "type": "array",
126
+ "items": {
127
+ "type": "string"
128
+ },
129
+ "description": "Authors"
130
+ },
131
+ "published": {
132
+ "description": "Year of publication",
133
+ "type": "string"
134
+ }
135
+ },
136
+ "required": [
137
+ "title",
138
+ "author"
139
+ ],
140
+ "description": "Article: Data obtained from catalogation"
141
+ },
142
+ "DetailedArticleSchema": {
143
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
144
+ "type": "object",
145
+ "properties": {
146
+ "status": {
147
+ "type": "string",
148
+ "enum": [
149
+ "Pending",
150
+ "In Progress",
151
+ "Read",
152
+ "Consolidated"
153
+ ],
154
+ "description": "Reading status"
155
+ },
156
+ "projects": {
157
+ "type": "array",
158
+ "items": {
159
+ "type": "string"
160
+ },
161
+ "description": "Projects"
162
+ },
163
+ "topics": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "string"
167
+ },
168
+ "description": "Topics"
169
+ },
170
+ "rating": {
171
+ "type": "number",
172
+ "description": "Rating of the article"
173
+ }
174
+ },
175
+ "required": [
176
+ "status",
177
+ "projects",
178
+ "topics",
179
+ "rating"
180
+ ],
181
+ "description": "Article: Additional data"
182
+ },
183
+ "MetaArticleSchema": {
184
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
185
+ "type": "object",
186
+ "properties": {
187
+ "type": {
188
+ "type": "string",
189
+ "const": "[[Sources]]"
190
+ },
191
+ "format": {
192
+ "type": "string",
193
+ "const": "[[Articles]]"
194
+ },
195
+ "areas": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "string",
199
+ "const": "[[Knowledge]]"
200
+ }
201
+ },
202
+ "color": {
203
+ "type": "string",
204
+ "const": "#3171B2"
205
+ },
206
+ "icon": {
207
+ "type": "string",
208
+ "const": "newspaper"
209
+ },
210
+ "banner": {
211
+ "type": "string"
212
+ },
213
+ "url": {
214
+ "type": "string",
215
+ "description": "URL of the article"
216
+ }
217
+ },
218
+ "required": [
219
+ "type",
220
+ "format",
221
+ "areas",
222
+ "color",
223
+ "icon",
224
+ "url"
225
+ ],
226
+ "description": "Article: Metadata of Note"
227
+ }
228
+ }
229
+ }