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