@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,279 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "@segha/catalog/en/Movie",
4
+ "description": "Schemas for Petroglyph Catalog",
5
+ "$defs": {
6
+ "CatalogMovieSchema": {
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 movie"
13
+ },
14
+ "description": {
15
+ "type": "string",
16
+ "description": "Description of the movie"
17
+ },
18
+ "author": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "description": "Authors. Writers, directors, producers, etc."
24
+ },
25
+ "actors": {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string"
29
+ },
30
+ "description": "Actors"
31
+ },
32
+ "published": {
33
+ "type": "string",
34
+ "description": "Year of publication"
35
+ },
36
+ "genres": {
37
+ "type": "array",
38
+ "items": {
39
+ "type": "string"
40
+ },
41
+ "description": "Genres"
42
+ }
43
+ },
44
+ "required": [
45
+ "title",
46
+ "description",
47
+ "author",
48
+ "actors",
49
+ "published",
50
+ "genres"
51
+ ],
52
+ "description": "Movie: Data obtained from catalogation"
53
+ },
54
+ "DetailedMovieSchema": {
55
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
56
+ "type": "object",
57
+ "properties": {
58
+ "status": {
59
+ "type": "string",
60
+ "enum": [
61
+ "Pending",
62
+ "In Progress",
63
+ "Completed"
64
+ ],
65
+ "description": "Watching status"
66
+ },
67
+ "topics": {
68
+ "type": "array",
69
+ "items": {
70
+ "type": "string"
71
+ },
72
+ "description": "Topics"
73
+ },
74
+ "rating": {
75
+ "type": "number",
76
+ "description": "Rating of the movie"
77
+ },
78
+ "online_rating": {
79
+ "type": "number",
80
+ "description": "Online rating"
81
+ },
82
+ "last_time_watched": {
83
+ "type": "string",
84
+ "description": "Last time watched"
85
+ },
86
+ "times_watched": {
87
+ "type": "number",
88
+ "description": "Times watched"
89
+ }
90
+ },
91
+ "required": [
92
+ "status",
93
+ "topics",
94
+ "rating",
95
+ "online_rating",
96
+ "last_time_watched",
97
+ "times_watched"
98
+ ],
99
+ "description": "Movie: Additional data"
100
+ },
101
+ "MetaMovieSchema": {
102
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
103
+ "type": "object",
104
+ "properties": {
105
+ "type": {
106
+ "type": "string",
107
+ "const": "[[Sources]]"
108
+ },
109
+ "format": {
110
+ "type": "string",
111
+ "const": "[[Movies]]"
112
+ },
113
+ "areas": {
114
+ "type": "array",
115
+ "items": {
116
+ "type": "string",
117
+ "const": "[[Creativity]]"
118
+ }
119
+ },
120
+ "color": {
121
+ "type": "string",
122
+ "const": "#BE9207"
123
+ },
124
+ "icon": {
125
+ "type": "string",
126
+ "const": "movie"
127
+ },
128
+ "cover": {
129
+ "type": "string"
130
+ },
131
+ "url": {
132
+ "type": "string",
133
+ "description": "URL of the movie in IMDB or similar"
134
+ },
135
+ "watch_url": {
136
+ "type": "string",
137
+ "description": "URL of the movie in streaming"
138
+ }
139
+ },
140
+ "required": [
141
+ "type",
142
+ "format",
143
+ "areas",
144
+ "color",
145
+ "icon",
146
+ "url",
147
+ "watch_url"
148
+ ],
149
+ "description": "Movie: Metadata of Note"
150
+ },
151
+ "MovieSchema": {
152
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
153
+ "type": "object",
154
+ "properties": {
155
+ "title": {
156
+ "type": "string",
157
+ "description": "Title of the movie"
158
+ },
159
+ "description": {
160
+ "type": "string",
161
+ "description": "Description of the movie"
162
+ },
163
+ "author": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "string"
167
+ },
168
+ "description": "Authors. Writers, directors, producers, etc."
169
+ },
170
+ "actors": {
171
+ "type": "array",
172
+ "items": {
173
+ "type": "string"
174
+ },
175
+ "description": "Actors"
176
+ },
177
+ "published": {
178
+ "type": "string",
179
+ "description": "Year of publication"
180
+ },
181
+ "genres": {
182
+ "type": "array",
183
+ "items": {
184
+ "type": "string"
185
+ },
186
+ "description": "Genres"
187
+ },
188
+ "status": {
189
+ "type": "string",
190
+ "enum": [
191
+ "Pending",
192
+ "In Progress",
193
+ "Completed"
194
+ ],
195
+ "description": "Watching status"
196
+ },
197
+ "topics": {
198
+ "type": "array",
199
+ "items": {
200
+ "type": "string"
201
+ },
202
+ "description": "Topics"
203
+ },
204
+ "rating": {
205
+ "type": "number",
206
+ "description": "Rating of the movie"
207
+ },
208
+ "online_rating": {
209
+ "type": "number",
210
+ "description": "Online rating"
211
+ },
212
+ "last_time_watched": {
213
+ "type": "string",
214
+ "description": "Last time watched"
215
+ },
216
+ "times_watched": {
217
+ "type": "number",
218
+ "description": "Times watched"
219
+ },
220
+ "type": {
221
+ "type": "string",
222
+ "const": "[[Sources]]"
223
+ },
224
+ "format": {
225
+ "type": "string",
226
+ "const": "[[Movies]]"
227
+ },
228
+ "areas": {
229
+ "type": "array",
230
+ "items": {
231
+ "type": "string",
232
+ "const": "[[Creativity]]"
233
+ }
234
+ },
235
+ "color": {
236
+ "type": "string",
237
+ "const": "#BE9207"
238
+ },
239
+ "icon": {
240
+ "type": "string",
241
+ "const": "movie"
242
+ },
243
+ "cover": {
244
+ "type": "string"
245
+ },
246
+ "url": {
247
+ "type": "string",
248
+ "description": "URL of the movie in IMDB or similar"
249
+ },
250
+ "watch_url": {
251
+ "type": "string",
252
+ "description": "URL of the movie in streaming"
253
+ }
254
+ },
255
+ "required": [
256
+ "title",
257
+ "description",
258
+ "author",
259
+ "actors",
260
+ "published",
261
+ "genres",
262
+ "status",
263
+ "topics",
264
+ "rating",
265
+ "online_rating",
266
+ "last_time_watched",
267
+ "times_watched",
268
+ "type",
269
+ "format",
270
+ "areas",
271
+ "color",
272
+ "icon",
273
+ "url",
274
+ "watch_url"
275
+ ],
276
+ "description": "Movie"
277
+ }
278
+ }
279
+ }
@@ -0,0 +1,127 @@
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 movie"
8
+ },
9
+ "description": {
10
+ "type": "string",
11
+ "description": "Description of the movie"
12
+ },
13
+ "author": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string"
17
+ },
18
+ "description": "Authors. Writers, directors, producers, etc."
19
+ },
20
+ "actors": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string"
24
+ },
25
+ "description": "Actors"
26
+ },
27
+ "published": {
28
+ "type": "string",
29
+ "description": "Year of publication"
30
+ },
31
+ "genres": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string"
35
+ },
36
+ "description": "Genres"
37
+ },
38
+ "status": {
39
+ "type": "string",
40
+ "enum": [
41
+ "Pending",
42
+ "In Progress",
43
+ "Completed"
44
+ ],
45
+ "description": "Watching status"
46
+ },
47
+ "topics": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "string"
51
+ },
52
+ "description": "Topics"
53
+ },
54
+ "rating": {
55
+ "type": "number",
56
+ "description": "Rating of the movie"
57
+ },
58
+ "online_rating": {
59
+ "type": "number",
60
+ "description": "Online rating"
61
+ },
62
+ "last_time_watched": {
63
+ "type": "string",
64
+ "description": "Last time watched"
65
+ },
66
+ "times_watched": {
67
+ "type": "number",
68
+ "description": "Times watched"
69
+ },
70
+ "type": {
71
+ "type": "string",
72
+ "const": "[[Sources]]"
73
+ },
74
+ "format": {
75
+ "type": "string",
76
+ "const": "[[Movies]]"
77
+ },
78
+ "areas": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "string",
82
+ "const": "[[Creativity]]"
83
+ }
84
+ },
85
+ "color": {
86
+ "type": "string",
87
+ "const": "#BE9207"
88
+ },
89
+ "icon": {
90
+ "type": "string",
91
+ "const": "movie"
92
+ },
93
+ "cover": {
94
+ "type": "string"
95
+ },
96
+ "url": {
97
+ "type": "string",
98
+ "description": "URL of the movie in IMDB or similar"
99
+ },
100
+ "watch_url": {
101
+ "type": "string",
102
+ "description": "URL of the movie in streaming"
103
+ }
104
+ },
105
+ "required": [
106
+ "title",
107
+ "description",
108
+ "author",
109
+ "actors",
110
+ "published",
111
+ "genres",
112
+ "status",
113
+ "topics",
114
+ "rating",
115
+ "online_rating",
116
+ "last_time_watched",
117
+ "times_watched",
118
+ "type",
119
+ "format",
120
+ "areas",
121
+ "color",
122
+ "icon",
123
+ "url",
124
+ "watch_url"
125
+ ],
126
+ "description": "Movie"
127
+ }