@segha/catalog 4.1.0 → 5.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.
- package/CHANGELOG.md +16 -0
- package/README.md +0 -6
- package/en/index.ts +2 -0
- package/es/Core/Format.ts +4 -0
- package/es/Core/Source.ts +1 -0
- package/es/DataTypes/ExternalId.ts +7 -0
- package/es/DataTypes/StreamUrls.ts +12 -0
- package/es/DataTypes/index.ts +2 -0
- package/es/DataTypes/types.ts +4 -0
- package/es/Movie/index.ts +25 -20
- package/es/Note.ts +2 -0
- package/es/TVSeries/index.ts +36 -0
- package/es/TVSeries/types.ts +6 -0
- package/es/index.ts +3 -0
- package/es/types.ts +2 -0
- package/index.ts +0 -2
- package/json-schemas/es/Book/BookSchema.json +9 -9
- package/json-schemas/es/Book/index.json +9 -9
- package/json-schemas/es/BookSchema.json +9 -9
- package/json-schemas/es/Core/Format.json +1 -0
- package/json-schemas/es/Core/SourceSchema.json +4 -0
- package/json-schemas/es/Core/TVSeries.json +6 -0
- package/json-schemas/es/Core/index.json +11 -0
- package/json-schemas/es/DataTypes/StreamUrlsSchema.json +47 -0
- package/json-schemas/es/DataTypes/index.json +52 -0
- package/json-schemas/es/Movie/MovieSchema.json +286 -230
- package/json-schemas/es/Movie/index.json +286 -235
- package/json-schemas/es/MovieSchema.json +286 -230
- package/json-schemas/es/NoteSchema.json +638 -239
- package/json-schemas/es/Painting/PaintingSchema.json +4 -0
- package/json-schemas/es/Painting/index.json +4 -0
- package/json-schemas/es/PaintingSchema.json +4 -0
- package/json-schemas/es/TVSeries/TVSeriesSchema.json +336 -0
- package/json-schemas/es/TVSeries/index.json +343 -0
- package/json-schemas/es/TVSeriesSchema.json +336 -0
- package/json-schemas/es/Video/VideoSchema.json +4 -0
- package/json-schemas/es/Video/VimeoSchema.json +4 -0
- package/json-schemas/es/Video/YoutubeSchema.json +4 -0
- package/json-schemas/es/Video/index.json +12 -0
- package/json-schemas/es/VideoSchema.json +4 -0
- package/json-schemas/es/VimeoSchema.json +4 -0
- package/json-schemas/es/YoutubeSchema.json +4 -0
- package/json-schemas/es/index.json +1466 -659
- package/package.json +10 -5
- package/es/Movie/MovieExternalId.ts +0 -7
- /package/json-schemas/es/{Movie/MovieExternalId.json → DataTypes/TVExternalId.json} +0 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"allOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"default": "[[Fuentes]]",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "[[Fuentes]]",
|
|
11
|
+
"description": "Bibliografías, recursos validados sobre los que acumular información."
|
|
12
|
+
},
|
|
13
|
+
"areas": {
|
|
14
|
+
"default": [
|
|
15
|
+
"[[Creatividad]]"
|
|
16
|
+
],
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"[[Alimentación]]",
|
|
22
|
+
"[[Salud]]",
|
|
23
|
+
"[[Conocimiento]]",
|
|
24
|
+
"[[Pensamiento Estructurado]]",
|
|
25
|
+
"[[Hogar]]",
|
|
26
|
+
"[[Productividad]]",
|
|
27
|
+
"[[Exploración]]",
|
|
28
|
+
"[[Vínculos]]",
|
|
29
|
+
"[[Ejercicio]]",
|
|
30
|
+
"[[Energía Vital]]",
|
|
31
|
+
"[[Trabajo]]",
|
|
32
|
+
"[[Finanzas]]",
|
|
33
|
+
"[[Salud Mental]]",
|
|
34
|
+
"[[Creatividad]]"
|
|
35
|
+
],
|
|
36
|
+
"description": "Área"
|
|
37
|
+
},
|
|
38
|
+
"description": "Áreas"
|
|
39
|
+
},
|
|
40
|
+
"color": {
|
|
41
|
+
"default": "#BE9207",
|
|
42
|
+
"description": "Color de la nota.",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
45
|
+
},
|
|
46
|
+
"icon": {
|
|
47
|
+
"default": "tv",
|
|
48
|
+
"description": "Icono de Lucide.",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"pattern": "^[a-z-]+$"
|
|
51
|
+
},
|
|
52
|
+
"banner": {
|
|
53
|
+
"description": "Imagen",
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "uri"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "string",
|
|
61
|
+
"pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
|
|
62
|
+
"description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"cover": {
|
|
67
|
+
"description": "Portada de la serie de TV.",
|
|
68
|
+
"anyOf": [
|
|
69
|
+
{
|
|
70
|
+
"anyOf": [
|
|
71
|
+
{
|
|
72
|
+
"type": "string",
|
|
73
|
+
"format": "uri"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
|
|
78
|
+
"description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"description": "Imagen: URL o Wikilink de una imagen."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "null"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"projects": {
|
|
89
|
+
"description": "Proyectos asociados.",
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
|
|
94
|
+
"description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"topics": {
|
|
98
|
+
"description": "Temas: Wikilink o texto libre",
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"anyOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": "string",
|
|
104
|
+
"pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
|
|
105
|
+
"description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"status": {
|
|
114
|
+
"default": "Pendiente",
|
|
115
|
+
"anyOf": [
|
|
116
|
+
{
|
|
117
|
+
"type": "string",
|
|
118
|
+
"const": "Pendiente"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "string",
|
|
122
|
+
"const": "En Proceso"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "string",
|
|
126
|
+
"const": "Visto"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"description": "Estado de visualización de la serie de TV"
|
|
130
|
+
},
|
|
131
|
+
"rating": {
|
|
132
|
+
"description": "Valoración personal de la fuente.",
|
|
133
|
+
"anyOf": [
|
|
134
|
+
{
|
|
135
|
+
"type": "number",
|
|
136
|
+
"const": 7,
|
|
137
|
+
"description": "Perfecto, hay que probarlo, te cambia la vida, haz un esfuerzo por buscarlo."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "number",
|
|
141
|
+
"const": 6,
|
|
142
|
+
"description": "Excelente, vale la pena repetirlo"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"type": "number",
|
|
146
|
+
"const": 5,
|
|
147
|
+
"description": "Bueno, no hagas un esfuerzo especial, pero es agradable."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "number",
|
|
151
|
+
"const": 4,
|
|
152
|
+
"description": "Aceptable, sirve en caso de apuro."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "number",
|
|
156
|
+
"const": 3,
|
|
157
|
+
"description": "Malo, no lo hagas si puedes evitarlo."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "number",
|
|
161
|
+
"const": 2,
|
|
162
|
+
"description": "Atroz, evítalo activamente, repulsivo"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "number",
|
|
166
|
+
"const": 1,
|
|
167
|
+
"description": "Malvado, te cambia la vida para mal."
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"aliases": {
|
|
172
|
+
"description": "Alias de la nota.",
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"format": {
|
|
179
|
+
"default": "[[Series]]",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"const": "[[Series]]",
|
|
182
|
+
"description": "Series"
|
|
183
|
+
},
|
|
184
|
+
"url": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"format": "uri",
|
|
187
|
+
"description": "URL de la serie de TV en IMDB o similar"
|
|
188
|
+
},
|
|
189
|
+
"author": {
|
|
190
|
+
"description": "Autores de la fuente.",
|
|
191
|
+
"type": "array",
|
|
192
|
+
"items": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"published": {
|
|
197
|
+
"description": "Año de publicación",
|
|
198
|
+
"anyOf": [
|
|
199
|
+
{
|
|
200
|
+
"type": "string",
|
|
201
|
+
"pattern": "^[0-9]{4}$",
|
|
202
|
+
"description": "Año: YYYY"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "string",
|
|
206
|
+
"pattern": "^[0-9]{4}-[0-9]{2}$",
|
|
207
|
+
"description": "Mes: YYYY-MM"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "string",
|
|
211
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
|
|
212
|
+
"description": "Fecha: YYYY-MM-DD"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"title": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"description": "Título de la serie de TV"
|
|
219
|
+
},
|
|
220
|
+
"description": {
|
|
221
|
+
"description": "Descripción de la fuente.",
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"watch_url": {
|
|
225
|
+
"description": "URL de la serie de TV en streaming",
|
|
226
|
+
"deprecated": true,
|
|
227
|
+
"replacement": "hbo_max_url|netflix_url|apple_tv_url|amazon_prime_url|disney_plus_url|hulu_url|pluto_tv_url|youtube_url",
|
|
228
|
+
"type": "string",
|
|
229
|
+
"format": "uri"
|
|
230
|
+
},
|
|
231
|
+
"external_ids": {
|
|
232
|
+
"description": "IDs externos de la serie de TV",
|
|
233
|
+
"type": "array",
|
|
234
|
+
"items": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"actors": {
|
|
240
|
+
"description": "Actores",
|
|
241
|
+
"type": "array",
|
|
242
|
+
"items": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"genres": {
|
|
247
|
+
"description": "Géneros",
|
|
248
|
+
"type": "array",
|
|
249
|
+
"items": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"online_rating": {
|
|
254
|
+
"description": "Puntuación en línea",
|
|
255
|
+
"type": "number"
|
|
256
|
+
},
|
|
257
|
+
"last_time_watched": {
|
|
258
|
+
"description": "Última vez vista",
|
|
259
|
+
"anyOf": [
|
|
260
|
+
{
|
|
261
|
+
"type": "string",
|
|
262
|
+
"pattern": "^[0-9]{4}$",
|
|
263
|
+
"description": "Año: YYYY"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "string",
|
|
267
|
+
"pattern": "^[0-9]{4}-[0-9]{2}$",
|
|
268
|
+
"description": "Mes: YYYY-MM"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "string",
|
|
272
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
|
|
273
|
+
"description": "Fecha: YYYY-MM-DD"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"times_watched": {
|
|
278
|
+
"description": "Veces vista",
|
|
279
|
+
"default": 0,
|
|
280
|
+
"type": "number"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"url",
|
|
285
|
+
"title"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "object",
|
|
290
|
+
"properties": {
|
|
291
|
+
"hbo_max_url": {
|
|
292
|
+
"description": "URL de HBO Max",
|
|
293
|
+
"type": "string",
|
|
294
|
+
"format": "uri"
|
|
295
|
+
},
|
|
296
|
+
"netflix_url": {
|
|
297
|
+
"description": "URL de Netflix",
|
|
298
|
+
"type": "string",
|
|
299
|
+
"format": "uri"
|
|
300
|
+
},
|
|
301
|
+
"apple_tv_url": {
|
|
302
|
+
"description": "URL de Apple TV",
|
|
303
|
+
"type": "string",
|
|
304
|
+
"format": "uri"
|
|
305
|
+
},
|
|
306
|
+
"amazon_prime_url": {
|
|
307
|
+
"description": "URL de Amazon Prime",
|
|
308
|
+
"type": "string",
|
|
309
|
+
"format": "uri"
|
|
310
|
+
},
|
|
311
|
+
"disney_plus_url": {
|
|
312
|
+
"description": "URL de Disney Plus",
|
|
313
|
+
"type": "string",
|
|
314
|
+
"format": "uri"
|
|
315
|
+
},
|
|
316
|
+
"hulu_url": {
|
|
317
|
+
"description": "URL de Hulu",
|
|
318
|
+
"type": "string",
|
|
319
|
+
"format": "uri"
|
|
320
|
+
},
|
|
321
|
+
"pluto_tv_url": {
|
|
322
|
+
"description": "URL de Pluto TV",
|
|
323
|
+
"type": "string",
|
|
324
|
+
"format": "uri"
|
|
325
|
+
},
|
|
326
|
+
"youtube_url": {
|
|
327
|
+
"description": "URL de YouTube",
|
|
328
|
+
"type": "string",
|
|
329
|
+
"format": "uri"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"description": "URLs de streaming"
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"description": "Serie de TV"
|
|
336
|
+
}
|