@segha/catalog 1.2.0 → 2.1.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 (184) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/README.md +335 -67
  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/Cares.ts +27 -0
  9. package/en/Clothing/Colors.ts +54 -0
  10. package/en/Clothing/Fit.ts +10 -0
  11. package/en/Clothing/Formality.ts +9 -0
  12. package/en/Clothing/Garment.ts +97 -0
  13. package/en/Clothing/Layer.ts +8 -0
  14. package/en/Clothing/Materials.ts +45 -0
  15. package/en/Clothing/Measurements.ts +5 -0
  16. package/en/Clothing/Season.ts +8 -0
  17. package/en/Clothing/Size.ts +47 -0
  18. package/en/Clothing/Slot.ts +10 -0
  19. package/en/Clothing/Status.ts +9 -0
  20. package/en/Clothing/UseCases.ts +20 -0
  21. package/en/Clothing/Variants.ts +73 -0
  22. package/en/Clothing/index.ts +51 -0
  23. package/en/Clothing/types.ts +9 -0
  24. package/en/Movie/index.ts +34 -0
  25. package/en/Movie/types.ts +9 -0
  26. package/en/Note.ts +13 -0
  27. package/en/index.ts +5 -0
  28. package/en/types.ts +9 -0
  29. package/es/Areas.ts +24 -0
  30. package/es/Article/index.ts +29 -0
  31. package/es/Article/types.ts +9 -0
  32. package/es/Book/index.ts +33 -0
  33. package/es/Book/types.ts +9 -0
  34. package/es/Clothing/index.ts +10 -10
  35. package/es/Movie/index.ts +34 -0
  36. package/es/Movie/types.ts +9 -0
  37. package/es/Note.ts +13 -0
  38. package/es/index.ts +4 -0
  39. package/es/types.ts +7 -0
  40. package/index.ts +2 -2
  41. package/json-schemas/ArticleSchema.json +103 -0
  42. package/json-schemas/BookSchema.json +124 -0
  43. package/json-schemas/CatalogArticleSchema.json +35 -0
  44. package/json-schemas/CatalogBookSchema.json +44 -0
  45. package/json-schemas/CatalogClothingSchema.json +176 -177
  46. package/json-schemas/CatalogMovieSchema.json +49 -0
  47. package/json-schemas/ClothingSchema.json +195 -196
  48. package/json-schemas/DetailedArticleSchema.json +42 -0
  49. package/json-schemas/DetailedBookSchema.json +49 -0
  50. package/json-schemas/DetailedClothingSchema.json +17 -17
  51. package/json-schemas/DetailedMovieSchema.json +48 -0
  52. package/json-schemas/MetaArticleSchema.json +46 -0
  53. package/json-schemas/MetaBookSchema.json +51 -0
  54. package/json-schemas/MetaClothingSchema.json +4 -4
  55. package/json-schemas/MetaMovieSchema.json +51 -0
  56. package/json-schemas/MovieSchema.json +128 -0
  57. package/json-schemas/NoteSchema.json +745 -0
  58. package/json-schemas/en/Area.json +21 -0
  59. package/json-schemas/en/Areas.json +25 -0
  60. package/json-schemas/en/Article/ArticleSchema.json +103 -0
  61. package/json-schemas/en/Article/CatalogArticleSchema.json +35 -0
  62. package/json-schemas/en/Article/DetailedArticleSchema.json +42 -0
  63. package/json-schemas/en/Article/MetaArticleSchema.json +46 -0
  64. package/json-schemas/en/Article/index.json +233 -0
  65. package/json-schemas/en/ArticleSchema.json +103 -0
  66. package/json-schemas/en/Book/BookSchema.json +124 -0
  67. package/json-schemas/en/Book/CatalogBookSchema.json +44 -0
  68. package/json-schemas/en/Book/DetailedBookSchema.json +49 -0
  69. package/json-schemas/en/Book/MetaBookSchema.json +51 -0
  70. package/json-schemas/en/Book/index.json +275 -0
  71. package/json-schemas/en/BookSchema.json +124 -0
  72. package/json-schemas/en/CatalogArticleSchema.json +35 -0
  73. package/json-schemas/en/CatalogBookSchema.json +44 -0
  74. package/json-schemas/en/CatalogClothingSchema.json +292 -0
  75. package/json-schemas/en/CatalogMovieSchema.json +49 -0
  76. package/json-schemas/en/Clothing/Accessories.json +18 -0
  77. package/json-schemas/en/Clothing/AdditionalFeatures.json +9 -0
  78. package/json-schemas/en/Clothing/BaseColor.json +19 -0
  79. package/json-schemas/en/Clothing/Bottom.json +12 -0
  80. package/json-schemas/en/Clothing/Care.json +13 -0
  81. package/json-schemas/en/Clothing/Cares.json +17 -0
  82. package/json-schemas/en/Clothing/CatalogClothingSchema.json +292 -0
  83. package/json-schemas/en/Clothing/Closures.json +11 -0
  84. package/json-schemas/en/Clothing/ClothingSchema.json +388 -0
  85. package/json-schemas/en/Clothing/Color.json +26 -0
  86. package/json-schemas/en/Clothing/CommonFabric.json +15 -0
  87. package/json-schemas/en/Clothing/DetailedClothingSchema.json +75 -0
  88. package/json-schemas/en/Clothing/Dress.json +9 -0
  89. package/json-schemas/en/Clothing/Fit.json +13 -0
  90. package/json-schemas/en/Clothing/Formality.json +12 -0
  91. package/json-schemas/en/Clothing/Garment.json +56 -0
  92. package/json-schemas/en/Clothing/Home.json +9 -0
  93. package/json-schemas/en/Clothing/Ironing.json +8 -0
  94. package/json-schemas/en/Clothing/Layer.json +10 -0
  95. package/json-schemas/en/Clothing/Material.json +28 -0
  96. package/json-schemas/en/Clothing/Materials.json +32 -0
  97. package/json-schemas/en/Clothing/Measurements.json +8 -0
  98. package/json-schemas/en/Clothing/MetaClothingSchema.json +41 -0
  99. package/json-schemas/en/Clothing/MetallicColor.json +9 -0
  100. package/json-schemas/en/Clothing/NaturalMaterial.json +13 -0
  101. package/json-schemas/en/Clothing/Necks.json +15 -0
  102. package/json-schemas/en/Clothing/Outerwear.json +9 -0
  103. package/json-schemas/en/Clothing/Pants.json +11 -0
  104. package/json-schemas/en/Clothing/PantsSize.json +17 -0
  105. package/json-schemas/en/Clothing/Pattern.json +17 -0
  106. package/json-schemas/en/Clothing/PrimaryColor.json +27 -0
  107. package/json-schemas/en/Clothing/Season.json +11 -0
  108. package/json-schemas/en/Clothing/SecondaryColor.json +27 -0
  109. package/json-schemas/en/Clothing/Shoes.json +11 -0
  110. package/json-schemas/en/Clothing/ShoesSize.json +16 -0
  111. package/json-schemas/en/Clothing/Size.json +29 -0
  112. package/json-schemas/en/Clothing/Sleeves.json +9 -0
  113. package/json-schemas/en/Clothing/Slot.json +13 -0
  114. package/json-schemas/en/Clothing/SpecialColor.json +10 -0
  115. package/json-schemas/en/Clothing/SpecialCuts.json +9 -0
  116. package/json-schemas/en/Clothing/Sportswear.json +11 -0
  117. package/json-schemas/en/Clothing/Status.json +13 -0
  118. package/json-schemas/en/Clothing/Swimsuits.json +9 -0
  119. package/json-schemas/en/Clothing/SyntheticMaterial.json +12 -0
  120. package/json-schemas/en/Clothing/Temperature.json +8 -0
  121. package/json-schemas/en/Clothing/Top.json +16 -0
  122. package/json-schemas/en/Clothing/TopsSize.json +13 -0
  123. package/json-schemas/en/Clothing/Underwear.json +12 -0
  124. package/json-schemas/en/Clothing/UseCase.json +18 -0
  125. package/json-schemas/en/Clothing/UseCases.json +22 -0
  126. package/json-schemas/en/Clothing/Variant.json +37 -0
  127. package/json-schemas/en/Clothing/Variants.json +41 -0
  128. package/json-schemas/en/Clothing/WashType.json +9 -0
  129. package/json-schemas/en/Clothing/index.json +1602 -0
  130. package/json-schemas/en/ClothingSchema.json +388 -0
  131. package/json-schemas/en/DetailedArticleSchema.json +42 -0
  132. package/json-schemas/en/DetailedBookSchema.json +49 -0
  133. package/json-schemas/en/DetailedClothingSchema.json +75 -0
  134. package/json-schemas/en/DetailedMovieSchema.json +48 -0
  135. package/json-schemas/en/FirstLevelArea.json +21 -0
  136. package/json-schemas/en/MetaArticleSchema.json +46 -0
  137. package/json-schemas/en/MetaBookSchema.json +51 -0
  138. package/json-schemas/en/MetaClothingSchema.json +41 -0
  139. package/json-schemas/en/MetaMovieSchema.json +51 -0
  140. package/json-schemas/en/Movie/CatalogMovieSchema.json +49 -0
  141. package/json-schemas/en/Movie/DetailedMovieSchema.json +48 -0
  142. package/json-schemas/en/Movie/MetaMovieSchema.json +51 -0
  143. package/json-schemas/en/Movie/MovieSchema.json +128 -0
  144. package/json-schemas/en/Movie/index.json +283 -0
  145. package/json-schemas/en/MovieSchema.json +128 -0
  146. package/json-schemas/en/NoteSchema.json +745 -0
  147. package/json-schemas/en/index.json +2385 -0
  148. package/json-schemas/es/Area.json +21 -0
  149. package/json-schemas/es/Areas.json +25 -0
  150. package/json-schemas/es/Article/ArticleSchema.json +103 -0
  151. package/json-schemas/es/Article/CatalogArticleSchema.json +35 -0
  152. package/json-schemas/es/Article/DetailedArticleSchema.json +42 -0
  153. package/json-schemas/es/Article/MetaArticleSchema.json +46 -0
  154. package/json-schemas/es/Article/index.json +233 -0
  155. package/json-schemas/es/ArticleSchema.json +103 -0
  156. package/json-schemas/es/Book/BookSchema.json +124 -0
  157. package/json-schemas/es/Book/CatalogBookSchema.json +44 -0
  158. package/json-schemas/es/Book/DetailedBookSchema.json +49 -0
  159. package/json-schemas/es/Book/MetaBookSchema.json +51 -0
  160. package/json-schemas/es/Book/index.json +275 -0
  161. package/json-schemas/es/BookSchema.json +124 -0
  162. package/json-schemas/es/CatalogArticleSchema.json +35 -0
  163. package/json-schemas/es/CatalogBookSchema.json +44 -0
  164. package/json-schemas/es/CatalogMovieSchema.json +49 -0
  165. package/json-schemas/es/Clothing/DetailedClothingSchema.json +1 -1
  166. package/json-schemas/es/Clothing/index.json +1 -1
  167. package/json-schemas/es/DetailedArticleSchema.json +42 -0
  168. package/json-schemas/es/DetailedBookSchema.json +49 -0
  169. package/json-schemas/es/DetailedClothingSchema.json +1 -1
  170. package/json-schemas/es/DetailedMovieSchema.json +48 -0
  171. package/json-schemas/es/FirstLevelArea.json +21 -0
  172. package/json-schemas/es/MetaArticleSchema.json +46 -0
  173. package/json-schemas/es/MetaBookSchema.json +51 -0
  174. package/json-schemas/es/MetaMovieSchema.json +51 -0
  175. package/json-schemas/es/Movie/CatalogMovieSchema.json +49 -0
  176. package/json-schemas/es/Movie/DetailedMovieSchema.json +48 -0
  177. package/json-schemas/es/Movie/MetaMovieSchema.json +51 -0
  178. package/json-schemas/es/Movie/MovieSchema.json +128 -0
  179. package/json-schemas/es/Movie/index.json +283 -0
  180. package/json-schemas/es/MovieSchema.json +128 -0
  181. package/json-schemas/es/NoteSchema.json +746 -0
  182. package/json-schemas/es/index.json +1584 -1
  183. package/json-schemas/index.json +1907 -394
  184. package/package.json +11 -3
@@ -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,103 @@
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
+ "additionalProperties": false,
102
+ "description": "Article"
103
+ }
@@ -0,0 +1,35 @@
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
+ "additionalProperties": false,
34
+ "description": "Article: Data obtained from catalogation"
35
+ }
@@ -0,0 +1,42 @@
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
+ "additionalProperties": false,
41
+ "description": "Article: Additional data"
42
+ }
@@ -0,0 +1,46 @@
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
+ "additionalProperties": false,
45
+ "description": "Article: Metadata of Note"
46
+ }
@@ -0,0 +1,233 @@
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
+ "additionalProperties": false,
107
+ "description": "Article"
108
+ },
109
+ "CatalogArticleSchema": {
110
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
111
+ "type": "object",
112
+ "properties": {
113
+ "title": {
114
+ "type": "string",
115
+ "description": "Title of the article"
116
+ },
117
+ "description": {
118
+ "description": "Description",
119
+ "type": "string"
120
+ },
121
+ "excerpt": {
122
+ "description": "Extract of the article",
123
+ "type": "string"
124
+ },
125
+ "author": {
126
+ "type": "array",
127
+ "items": {
128
+ "type": "string"
129
+ },
130
+ "description": "Authors"
131
+ },
132
+ "published": {
133
+ "description": "Year of publication",
134
+ "type": "string"
135
+ }
136
+ },
137
+ "required": [
138
+ "title",
139
+ "author"
140
+ ],
141
+ "additionalProperties": false,
142
+ "description": "Article: Data obtained from catalogation"
143
+ },
144
+ "DetailedArticleSchema": {
145
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
146
+ "type": "object",
147
+ "properties": {
148
+ "status": {
149
+ "type": "string",
150
+ "enum": [
151
+ "Pending",
152
+ "In Progress",
153
+ "Read",
154
+ "Consolidated"
155
+ ],
156
+ "description": "Reading status"
157
+ },
158
+ "projects": {
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string"
162
+ },
163
+ "description": "Projects"
164
+ },
165
+ "topics": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string"
169
+ },
170
+ "description": "Topics"
171
+ },
172
+ "rating": {
173
+ "type": "number",
174
+ "description": "Rating of the article"
175
+ }
176
+ },
177
+ "required": [
178
+ "status",
179
+ "projects",
180
+ "topics",
181
+ "rating"
182
+ ],
183
+ "additionalProperties": false,
184
+ "description": "Article: Additional data"
185
+ },
186
+ "MetaArticleSchema": {
187
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
188
+ "type": "object",
189
+ "properties": {
190
+ "type": {
191
+ "type": "string",
192
+ "const": "[[Sources]]"
193
+ },
194
+ "format": {
195
+ "type": "string",
196
+ "const": "[[Articles]]"
197
+ },
198
+ "areas": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "string",
202
+ "const": "[[Knowledge]]"
203
+ }
204
+ },
205
+ "color": {
206
+ "type": "string",
207
+ "const": "#3171B2"
208
+ },
209
+ "icon": {
210
+ "type": "string",
211
+ "const": "newspaper"
212
+ },
213
+ "banner": {
214
+ "type": "string"
215
+ },
216
+ "url": {
217
+ "type": "string",
218
+ "description": "URL of the article"
219
+ }
220
+ },
221
+ "required": [
222
+ "type",
223
+ "format",
224
+ "areas",
225
+ "color",
226
+ "icon",
227
+ "url"
228
+ ],
229
+ "additionalProperties": false,
230
+ "description": "Article: Metadata of Note"
231
+ }
232
+ }
233
+ }
@@ -0,0 +1,103 @@
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
+ "additionalProperties": false,
102
+ "description": "Article"
103
+ }