@segha/catalog 0.0.1 → 0.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 (59) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/json-schemas/CatalogClothingSchema.json +227 -0
  3. package/json-schemas/ClothingSchema.json +323 -0
  4. package/json-schemas/DetailedClothingSchema.json +75 -0
  5. package/json-schemas/MetaClothingSchema.json +41 -0
  6. package/json-schemas/es/CatalogClothingSchema.json +227 -0
  7. package/json-schemas/es/Clothing/Accessories.json +13 -0
  8. package/json-schemas/es/Clothing/BaseColor.json +19 -0
  9. package/json-schemas/es/Clothing/Bottom.json +11 -0
  10. package/json-schemas/es/Clothing/Care.json +13 -0
  11. package/json-schemas/es/Clothing/Cares.json +17 -0
  12. package/json-schemas/es/Clothing/CatalogClothingSchema.json +227 -0
  13. package/json-schemas/es/Clothing/ClothingSchema.json +323 -0
  14. package/json-schemas/es/Clothing/Color.json +23 -0
  15. package/json-schemas/es/Clothing/CommonFabric.json +9 -0
  16. package/json-schemas/es/Clothing/DetailedClothingSchema.json +75 -0
  17. package/json-schemas/es/Clothing/Dress.json +8 -0
  18. package/json-schemas/es/Clothing/Fit.json +11 -0
  19. package/json-schemas/es/Clothing/Formality.json +12 -0
  20. package/json-schemas/es/Clothing/Garment.json +39 -0
  21. package/json-schemas/es/Clothing/Ironing.json +8 -0
  22. package/json-schemas/es/Clothing/Layer.json +10 -0
  23. package/json-schemas/es/Clothing/Material.json +18 -0
  24. package/json-schemas/es/Clothing/Materials.json +22 -0
  25. package/json-schemas/es/Clothing/Measurements.json +8 -0
  26. package/json-schemas/es/Clothing/MetaClothingSchema.json +41 -0
  27. package/json-schemas/es/Clothing/NaturalMaterial.json +11 -0
  28. package/json-schemas/es/Clothing/Necks.json +10 -0
  29. package/json-schemas/es/Clothing/Outerwear.json +9 -0
  30. package/json-schemas/es/Clothing/Pants.json +10 -0
  31. package/json-schemas/es/Clothing/PantsSize.json +17 -0
  32. package/json-schemas/es/Clothing/Pattern.json +10 -0
  33. package/json-schemas/es/Clothing/PrimaryColor.json +24 -0
  34. package/json-schemas/es/Clothing/Season.json +11 -0
  35. package/json-schemas/es/Clothing/SecondaryColor.json +24 -0
  36. package/json-schemas/es/Clothing/Shoes.json +10 -0
  37. package/json-schemas/es/Clothing/ShoesSize.json +16 -0
  38. package/json-schemas/es/Clothing/Size.json +29 -0
  39. package/json-schemas/es/Clothing/Sleeves.json +9 -0
  40. package/json-schemas/es/Clothing/Slot.json +13 -0
  41. package/json-schemas/es/Clothing/SpecialColor.json +10 -0
  42. package/json-schemas/es/Clothing/SpecialCuts.json +9 -0
  43. package/json-schemas/es/Clothing/Status.json +13 -0
  44. package/json-schemas/es/Clothing/SyntheticMaterial.json +10 -0
  45. package/json-schemas/es/Clothing/Temperature.json +8 -0
  46. package/json-schemas/es/Clothing/Top.json +15 -0
  47. package/json-schemas/es/Clothing/TopsSize.json +13 -0
  48. package/json-schemas/es/Clothing/UseCase.json +14 -0
  49. package/json-schemas/es/Clothing/UseCases.json +18 -0
  50. package/json-schemas/es/Clothing/Variant.json +23 -0
  51. package/json-schemas/es/Clothing/Variants.json +27 -0
  52. package/json-schemas/es/Clothing/WashType.json +9 -0
  53. package/json-schemas/es/Clothing/index.json +1286 -0
  54. package/json-schemas/es/ClothingSchema.json +323 -0
  55. package/json-schemas/es/DetailedClothingSchema.json +75 -0
  56. package/json-schemas/es/MetaClothingSchema.json +41 -0
  57. package/json-schemas/es/index.json +673 -0
  58. package/json-schemas/index.json +673 -0
  59. package/package.json +36 -30
@@ -0,0 +1,673 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "@segha/catalog/es",
4
+ "description": "Schemas for Petroglyph Catalog",
5
+ "$defs": {
6
+ "CatalogClothingSchema": {
7
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8
+ "type": "object",
9
+ "properties": {
10
+ "garment": {
11
+ "type": "string",
12
+ "enum": [
13
+ "Camisetas",
14
+ "Polos",
15
+ "Camisas",
16
+ "Blusas",
17
+ "Tops",
18
+ "Jerseys",
19
+ "Sudaderas",
20
+ "Cárdigans",
21
+ "Chaquetas",
22
+ "Pantalones",
23
+ "Vaqueros",
24
+ "Chinos",
25
+ "Faldas",
26
+ "Shorts",
27
+ "Abrigos",
28
+ "Gabardinas",
29
+ "Parkas",
30
+ "Cazadoras",
31
+ "Chalecos",
32
+ "Vestidos",
33
+ "Monos",
34
+ "Zapatillas",
35
+ "Zapatos",
36
+ "Botas",
37
+ "Sandalias",
38
+ "Cinturones",
39
+ "Gorras",
40
+ "Sombreros",
41
+ "Bufandas",
42
+ "Guantes",
43
+ "Bolsos",
44
+ "Mochilas"
45
+ ],
46
+ "description": "Tipo de Prenda"
47
+ },
48
+ "slot": {
49
+ "type": "string",
50
+ "enum": [
51
+ "Superior",
52
+ "Inferior",
53
+ "Cuerpo Completo",
54
+ "Exterior",
55
+ "Calzado",
56
+ "Accesorios"
57
+ ],
58
+ "description": "Parte del outfit"
59
+ },
60
+ "variants": {
61
+ "description": "Detalles Estructurales",
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string",
65
+ "enum": [
66
+ "Sin Mangas",
67
+ "Mangas Cortas",
68
+ "Mangas Largas",
69
+ "Cuello Redondo",
70
+ "Cuello Pico",
71
+ "Cuello Alto",
72
+ "Cuello Camisa",
73
+ "Overshirt",
74
+ "Cropped",
75
+ "Larga",
76
+ "Pierna Recta",
77
+ "Pitillo",
78
+ "Ancha",
79
+ "Cargo",
80
+ "Trench",
81
+ "Plumífero",
82
+ "Doble botonadura"
83
+ ]
84
+ }
85
+ },
86
+ "fit": {
87
+ "description": "Ajuste",
88
+ "type": "string",
89
+ "enum": [
90
+ "Entallado",
91
+ "Regular",
92
+ "Relajado",
93
+ "Oversize"
94
+ ]
95
+ },
96
+ "primary_color": {
97
+ "type": "string",
98
+ "enum": [
99
+ "Blanco",
100
+ "Negro",
101
+ "Gris",
102
+ "Beige",
103
+ "Marrón",
104
+ "Azul",
105
+ "Verde",
106
+ "Rojo",
107
+ "Burdeos",
108
+ "Rosa",
109
+ "Amarillo",
110
+ "Naranja",
111
+ "Morado",
112
+ "Camel",
113
+ "Caqui",
114
+ "Marino",
115
+ "Crema"
116
+ ],
117
+ "description": "Color principal"
118
+ },
119
+ "secondary_color": {
120
+ "description": "Color secundario",
121
+ "type": "string",
122
+ "enum": [
123
+ "Blanco",
124
+ "Negro",
125
+ "Gris",
126
+ "Beige",
127
+ "Marrón",
128
+ "Azul",
129
+ "Verde",
130
+ "Rojo",
131
+ "Burdeos",
132
+ "Rosa",
133
+ "Amarillo",
134
+ "Naranja",
135
+ "Morado",
136
+ "Camel",
137
+ "Caqui",
138
+ "Marino",
139
+ "Crema"
140
+ ]
141
+ },
142
+ "pattern": {
143
+ "description": "Estampado",
144
+ "type": "string",
145
+ "enum": [
146
+ "Liso",
147
+ "Rayas",
148
+ "Cuadros"
149
+ ]
150
+ },
151
+ "materials": {
152
+ "description": "Materiales",
153
+ "type": "array",
154
+ "items": {
155
+ "type": "string",
156
+ "enum": [
157
+ "Algodón",
158
+ "Lino",
159
+ "Lana",
160
+ "Seda",
161
+ "Cuero",
162
+ "Poliéster",
163
+ "Nylon",
164
+ "Elastano",
165
+ "Viscosa",
166
+ "Denim",
167
+ "Punto",
168
+ "Felpa"
169
+ ]
170
+ }
171
+ },
172
+ "layer": {
173
+ "type": "string",
174
+ "enum": [
175
+ "Base",
176
+ "Intermedia",
177
+ "Exterior"
178
+ ],
179
+ "description": "Capa Térmica"
180
+ },
181
+ "season": {
182
+ "description": "Estaciones",
183
+ "type": "string",
184
+ "enum": [
185
+ "Invierno",
186
+ "Verano",
187
+ "Entretiempo",
188
+ "Todo el año"
189
+ ]
190
+ },
191
+ "use_case": {
192
+ "description": "Casos de uso",
193
+ "type": "array",
194
+ "items": {
195
+ "type": "string",
196
+ "enum": [
197
+ "Capsula",
198
+ "Favorita",
199
+ "Básico",
200
+ "Deporte",
201
+ "Trabajo",
202
+ "Evento",
203
+ "Viaje",
204
+ "Casa"
205
+ ]
206
+ }
207
+ },
208
+ "formality": {
209
+ "description": "Formalidad",
210
+ "type": "string",
211
+ "enum": [
212
+ "Muy Informal",
213
+ "Casual",
214
+ "Arreglado",
215
+ "Formal",
216
+ "Etiqueta"
217
+ ]
218
+ },
219
+ "brand": {
220
+ "description": "The brand of the clothing",
221
+ "type": "string"
222
+ }
223
+ },
224
+ "required": [
225
+ "garment",
226
+ "slot",
227
+ "primary_color",
228
+ "layer"
229
+ ],
230
+ "additionalProperties": false,
231
+ "description": "Prenda de ropa: Datos obtenibles de catalogación"
232
+ },
233
+ "ClothingSchema": {
234
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
235
+ "type": "object",
236
+ "properties": {
237
+ "garment": {
238
+ "type": "string",
239
+ "enum": [
240
+ "Camisetas",
241
+ "Polos",
242
+ "Camisas",
243
+ "Blusas",
244
+ "Tops",
245
+ "Jerseys",
246
+ "Sudaderas",
247
+ "Cárdigans",
248
+ "Chaquetas",
249
+ "Pantalones",
250
+ "Vaqueros",
251
+ "Chinos",
252
+ "Faldas",
253
+ "Shorts",
254
+ "Abrigos",
255
+ "Gabardinas",
256
+ "Parkas",
257
+ "Cazadoras",
258
+ "Chalecos",
259
+ "Vestidos",
260
+ "Monos",
261
+ "Zapatillas",
262
+ "Zapatos",
263
+ "Botas",
264
+ "Sandalias",
265
+ "Cinturones",
266
+ "Gorras",
267
+ "Sombreros",
268
+ "Bufandas",
269
+ "Guantes",
270
+ "Bolsos",
271
+ "Mochilas"
272
+ ],
273
+ "description": "Tipo de Prenda"
274
+ },
275
+ "slot": {
276
+ "type": "string",
277
+ "enum": [
278
+ "Superior",
279
+ "Inferior",
280
+ "Cuerpo Completo",
281
+ "Exterior",
282
+ "Calzado",
283
+ "Accesorios"
284
+ ],
285
+ "description": "Parte del outfit"
286
+ },
287
+ "variants": {
288
+ "description": "Detalles Estructurales",
289
+ "type": "array",
290
+ "items": {
291
+ "type": "string",
292
+ "enum": [
293
+ "Sin Mangas",
294
+ "Mangas Cortas",
295
+ "Mangas Largas",
296
+ "Cuello Redondo",
297
+ "Cuello Pico",
298
+ "Cuello Alto",
299
+ "Cuello Camisa",
300
+ "Overshirt",
301
+ "Cropped",
302
+ "Larga",
303
+ "Pierna Recta",
304
+ "Pitillo",
305
+ "Ancha",
306
+ "Cargo",
307
+ "Trench",
308
+ "Plumífero",
309
+ "Doble botonadura"
310
+ ]
311
+ }
312
+ },
313
+ "fit": {
314
+ "description": "Ajuste",
315
+ "type": "string",
316
+ "enum": [
317
+ "Entallado",
318
+ "Regular",
319
+ "Relajado",
320
+ "Oversize"
321
+ ]
322
+ },
323
+ "primary_color": {
324
+ "type": "string",
325
+ "enum": [
326
+ "Blanco",
327
+ "Negro",
328
+ "Gris",
329
+ "Beige",
330
+ "Marrón",
331
+ "Azul",
332
+ "Verde",
333
+ "Rojo",
334
+ "Burdeos",
335
+ "Rosa",
336
+ "Amarillo",
337
+ "Naranja",
338
+ "Morado",
339
+ "Camel",
340
+ "Caqui",
341
+ "Marino",
342
+ "Crema"
343
+ ],
344
+ "description": "Color principal"
345
+ },
346
+ "secondary_color": {
347
+ "description": "Color secundario",
348
+ "type": "string",
349
+ "enum": [
350
+ "Blanco",
351
+ "Negro",
352
+ "Gris",
353
+ "Beige",
354
+ "Marrón",
355
+ "Azul",
356
+ "Verde",
357
+ "Rojo",
358
+ "Burdeos",
359
+ "Rosa",
360
+ "Amarillo",
361
+ "Naranja",
362
+ "Morado",
363
+ "Camel",
364
+ "Caqui",
365
+ "Marino",
366
+ "Crema"
367
+ ]
368
+ },
369
+ "pattern": {
370
+ "description": "Estampado",
371
+ "type": "string",
372
+ "enum": [
373
+ "Liso",
374
+ "Rayas",
375
+ "Cuadros"
376
+ ]
377
+ },
378
+ "materials": {
379
+ "description": "Materiales",
380
+ "type": "array",
381
+ "items": {
382
+ "type": "string",
383
+ "enum": [
384
+ "Algodón",
385
+ "Lino",
386
+ "Lana",
387
+ "Seda",
388
+ "Cuero",
389
+ "Poliéster",
390
+ "Nylon",
391
+ "Elastano",
392
+ "Viscosa",
393
+ "Denim",
394
+ "Punto",
395
+ "Felpa"
396
+ ]
397
+ }
398
+ },
399
+ "layer": {
400
+ "type": "string",
401
+ "enum": [
402
+ "Base",
403
+ "Intermedia",
404
+ "Exterior"
405
+ ],
406
+ "description": "Capa Térmica"
407
+ },
408
+ "season": {
409
+ "description": "Estaciones",
410
+ "type": "string",
411
+ "enum": [
412
+ "Invierno",
413
+ "Verano",
414
+ "Entretiempo",
415
+ "Todo el año"
416
+ ]
417
+ },
418
+ "use_case": {
419
+ "description": "Casos de uso",
420
+ "type": "array",
421
+ "items": {
422
+ "type": "string",
423
+ "enum": [
424
+ "Capsula",
425
+ "Favorita",
426
+ "Básico",
427
+ "Deporte",
428
+ "Trabajo",
429
+ "Evento",
430
+ "Viaje",
431
+ "Casa"
432
+ ]
433
+ }
434
+ },
435
+ "formality": {
436
+ "description": "Formalidad",
437
+ "type": "string",
438
+ "enum": [
439
+ "Muy Informal",
440
+ "Casual",
441
+ "Arreglado",
442
+ "Formal",
443
+ "Etiqueta"
444
+ ]
445
+ },
446
+ "brand": {
447
+ "description": "The brand of the clothing",
448
+ "type": "string"
449
+ },
450
+ "cares": {
451
+ "description": "Cuidados",
452
+ "type": "array",
453
+ "items": {
454
+ "type": "string",
455
+ "enum": [
456
+ "Lavado a mano",
457
+ "Lavado a máquina",
458
+ "Lavado en seco",
459
+ "Frio",
460
+ "Caliente",
461
+ "Planchado",
462
+ "Planchado a vapor"
463
+ ]
464
+ }
465
+ },
466
+ "status": {
467
+ "default": "Bien",
468
+ "description": "Estado",
469
+ "type": "string",
470
+ "enum": [
471
+ "Nuevo",
472
+ "Bien",
473
+ "Gastado",
474
+ "Dañado",
475
+ "Retirar"
476
+ ]
477
+ },
478
+ "size": {
479
+ "type": "string",
480
+ "enum": [
481
+ "28",
482
+ "30",
483
+ "32",
484
+ "34",
485
+ "36",
486
+ "37",
487
+ "38",
488
+ "39",
489
+ "40",
490
+ "41",
491
+ "42",
492
+ "43",
493
+ "44",
494
+ "45",
495
+ "46",
496
+ "48",
497
+ "XS",
498
+ "S",
499
+ "M",
500
+ "L",
501
+ "XL",
502
+ "XXL",
503
+ "XXXL"
504
+ ]
505
+ },
506
+ "measurements": {
507
+ "description": "Medidas",
508
+ "type": "array",
509
+ "items": {
510
+ "type": "number"
511
+ }
512
+ },
513
+ "type": {
514
+ "type": "string",
515
+ "const": "[[Recursos]]"
516
+ },
517
+ "subtype": {
518
+ "type": "string",
519
+ "const": "[[Prendas]]"
520
+ },
521
+ "areas": {
522
+ "type": "array",
523
+ "items": {
524
+ "type": "string",
525
+ "const": "[[Hogar]]"
526
+ }
527
+ },
528
+ "color": {
529
+ "type": "string",
530
+ "const": "#CB6120"
531
+ },
532
+ "icon": {
533
+ "type": "string",
534
+ "const": "shirt"
535
+ },
536
+ "cover": {
537
+ "type": "string"
538
+ }
539
+ },
540
+ "required": [
541
+ "garment",
542
+ "slot",
543
+ "primary_color",
544
+ "layer",
545
+ "status",
546
+ "size",
547
+ "type",
548
+ "subtype",
549
+ "areas",
550
+ "color",
551
+ "icon"
552
+ ],
553
+ "additionalProperties": false,
554
+ "description": "Prenda de ropa"
555
+ },
556
+ "DetailedClothingSchema": {
557
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
558
+ "type": "object",
559
+ "properties": {
560
+ "cares": {
561
+ "description": "Cuidados",
562
+ "type": "array",
563
+ "items": {
564
+ "type": "string",
565
+ "enum": [
566
+ "Lavado a mano",
567
+ "Lavado a máquina",
568
+ "Lavado en seco",
569
+ "Frio",
570
+ "Caliente",
571
+ "Planchado",
572
+ "Planchado a vapor"
573
+ ]
574
+ }
575
+ },
576
+ "status": {
577
+ "default": "Bien",
578
+ "description": "Estado",
579
+ "type": "string",
580
+ "enum": [
581
+ "Nuevo",
582
+ "Bien",
583
+ "Gastado",
584
+ "Dañado",
585
+ "Retirar"
586
+ ]
587
+ },
588
+ "size": {
589
+ "type": "string",
590
+ "enum": [
591
+ "28",
592
+ "30",
593
+ "32",
594
+ "34",
595
+ "36",
596
+ "37",
597
+ "38",
598
+ "39",
599
+ "40",
600
+ "41",
601
+ "42",
602
+ "43",
603
+ "44",
604
+ "45",
605
+ "46",
606
+ "48",
607
+ "XS",
608
+ "S",
609
+ "M",
610
+ "L",
611
+ "XL",
612
+ "XXL",
613
+ "XXXL"
614
+ ]
615
+ },
616
+ "measurements": {
617
+ "description": "Medidas",
618
+ "type": "array",
619
+ "items": {
620
+ "type": "number"
621
+ }
622
+ }
623
+ },
624
+ "required": [
625
+ "status",
626
+ "size"
627
+ ],
628
+ "additionalProperties": false,
629
+ "description": "Prenda de ropa: Datos adicionales de dificil obtención"
630
+ },
631
+ "MetaClothingSchema": {
632
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
633
+ "type": "object",
634
+ "properties": {
635
+ "type": {
636
+ "type": "string",
637
+ "const": "[[Recursos]]"
638
+ },
639
+ "subtype": {
640
+ "type": "string",
641
+ "const": "[[Prendas]]"
642
+ },
643
+ "areas": {
644
+ "type": "array",
645
+ "items": {
646
+ "type": "string",
647
+ "const": "[[Hogar]]"
648
+ }
649
+ },
650
+ "color": {
651
+ "type": "string",
652
+ "const": "#CB6120"
653
+ },
654
+ "icon": {
655
+ "type": "string",
656
+ "const": "shirt"
657
+ },
658
+ "cover": {
659
+ "type": "string"
660
+ }
661
+ },
662
+ "required": [
663
+ "type",
664
+ "subtype",
665
+ "areas",
666
+ "color",
667
+ "icon"
668
+ ],
669
+ "additionalProperties": false,
670
+ "description": "Prenda de ropa: Metadatos de Nota"
671
+ }
672
+ }
673
+ }