@segha/catalog 3.0.0 → 4.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/es/Clothing/Cares.ts +1 -5
  3. package/es/Clothing/Colors.ts +2 -2
  4. package/es/Clothing/Fit.ts +1 -1
  5. package/es/Clothing/Formality.ts +12 -6
  6. package/es/Clothing/Layer.ts +7 -3
  7. package/es/Clothing/Materials.ts +1 -5
  8. package/es/Clothing/Measurements.ts +1 -3
  9. package/es/Clothing/Season.ts +10 -5
  10. package/es/Clothing/Status.ts +12 -6
  11. package/es/Clothing/UseCases.ts +1 -5
  12. package/es/Clothing/Variants.ts +2 -5
  13. package/es/Clothing/index.ts +22 -41
  14. package/json-schemas/es/Clothing/AllYear.json +6 -0
  15. package/json-schemas/es/Clothing/Autumn.json +6 -0
  16. package/json-schemas/es/Clothing/Base.json +6 -0
  17. package/json-schemas/es/Clothing/BlackTie.json +6 -0
  18. package/json-schemas/es/Clothing/Care.json +2 -1
  19. package/json-schemas/es/Clothing/Casual.json +6 -0
  20. package/json-schemas/es/Clothing/ClothingSchema.json +26 -21
  21. package/json-schemas/es/Clothing/Damaged.json +6 -0
  22. package/json-schemas/es/Clothing/Exterior.json +6 -0
  23. package/json-schemas/es/Clothing/Fit.json +2 -2
  24. package/json-schemas/es/Clothing/Formal.json +6 -0
  25. package/json-schemas/es/Clothing/Formality.json +2 -2
  26. package/json-schemas/es/Clothing/Good.json +6 -0
  27. package/json-schemas/es/Clothing/Intermediate.json +6 -0
  28. package/json-schemas/es/Clothing/Material.json +2 -1
  29. package/json-schemas/es/Clothing/Measurements.json +2 -2
  30. package/json-schemas/es/Clothing/New.json +6 -0
  31. package/json-schemas/es/Clothing/Pattern.json +2 -2
  32. package/json-schemas/es/Clothing/Retire.json +6 -0
  33. package/json-schemas/es/Clothing/Season.json +2 -2
  34. package/json-schemas/es/Clothing/SecondaryColor.json +2 -2
  35. package/json-schemas/es/Clothing/SmartCasual.json +6 -0
  36. package/json-schemas/es/Clothing/Status.json +2 -3
  37. package/json-schemas/es/Clothing/Summer.json +6 -0
  38. package/json-schemas/es/Clothing/UseCase.json +2 -1
  39. package/json-schemas/es/Clothing/Variant.json +2 -1
  40. package/json-schemas/es/Clothing/VeryCasual.json +6 -0
  41. package/json-schemas/es/Clothing/Winter.json +6 -0
  42. package/json-schemas/es/Clothing/Worn.json +6 -0
  43. package/json-schemas/es/Clothing/index.json +149 -444
  44. package/json-schemas/es/ClothingSchema.json +26 -21
  45. package/json-schemas/es/NoteSchema.json +26 -21
  46. package/json-schemas/es/index.json +52 -335
  47. package/package.json +1 -1
  48. package/json-schemas/es/CatalogClothingSchema.json +0 -293
  49. package/json-schemas/es/Clothing/Cares.json +0 -17
  50. package/json-schemas/es/Clothing/CatalogClothingSchema.json +0 -293
  51. package/json-schemas/es/Clothing/Materials.json +0 -32
  52. package/json-schemas/es/Clothing/UseCases.json +0 -22
  53. package/json-schemas/es/Clothing/Variants.json +0 -41
package/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@ All notable changes to @segha/catalog will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.0.0] - 2026-02-08
9
+
10
+ ### Spanish (es)
11
+
12
+ #### Added
13
+
14
+ - **BREAKING** Property `size` in `ClothingSchema` changed from required to optional
15
+
16
+ #### Changed
17
+
18
+ - Property `variants` in `ClothingSchema` was modified
19
+ - Property `materials` in `ClothingSchema` was modified
20
+ - Property `use_case` in `ClothingSchema` was modified
21
+ - Property `cares` in `ClothingSchema` was modified
22
+
23
+ #### Removed
24
+
25
+ - **BREAKING** Schema `CatalogClothingSchema` was removed
26
+
8
27
  ## [3.0.0] - 2026-02-08
9
28
 
10
29
  ### COMMON (common)
@@ -20,8 +20,4 @@ export const Care = z.enum([
20
20
  ...WashType.options,
21
21
  ...Temperature.options,
22
22
  ...Ironing.options,
23
- ]);
24
-
25
- export const Cares = z.array(Care)
26
- .optional()
27
- .describe('Cuidados');
23
+ ]).describe('Cuidado de la prenda');
@@ -38,7 +38,7 @@ export const Color = z.enum([
38
38
  ]);
39
39
 
40
40
  export const PrimaryColor = Color.describe('Color principal');
41
- export const SecondaryColor = Color.optional().describe('Color secundario');
41
+ export const SecondaryColor = Color.describe('Color secundario');
42
42
 
43
43
  export const Pattern = z.enum([
44
44
  'Liso',
@@ -51,4 +51,4 @@ export const Pattern = z.enum([
51
51
  'Camuflaje',
52
52
  'EstampadoGráfico',
53
53
  'Degradado'
54
- ]).optional().describe('Estampado');
54
+ ]).describe('Estampado');
@@ -7,4 +7,4 @@ export const Fit = z.enum([
7
7
  'Relajado',
8
8
  'Holgado',
9
9
  'Extragrande',
10
- ]).optional().describe('Ajuste');
10
+ ]).describe('Ajuste');
@@ -1,9 +1,15 @@
1
1
  import z from "zod";
2
2
 
3
+ export const VeryCasual = z.literal('Muy Informal').describe('Muy Informal');
4
+ export const Casual = z.literal('Casual').describe('Casual');
5
+ export const SmartCasual = z.literal('Arreglado').describe('Arreglado');
6
+ export const Formal = z.literal('Formal').describe('Formal');
7
+ export const BlackTie = z.literal('Etiqueta').describe('Etiqueta');
8
+
3
9
  export const Formality = z.enum([
4
- 'Muy Informal', // 1,
5
- 'Casual', // 2,
6
- 'Arreglado', // 3,
7
- 'Formal', // 4,
8
- 'Etiqueta', // 5,
9
- ]).optional().describe('Formalidad');
10
+ VeryCasual.value,
11
+ Casual.value,
12
+ SmartCasual.value,
13
+ Formal.value,
14
+ BlackTie.value,
15
+ ]).describe('Formalidad');
@@ -1,8 +1,12 @@
1
1
  import z from "zod";
2
2
 
3
+ export const Base = z.literal('Base').describe('Base');
4
+ export const Intermediate = z.literal('Intermedia').describe('Intermedia');
5
+ export const Exterior = z.literal('Exterior').describe('Exterior');
6
+
3
7
  // Capa Térmica
4
8
  export const Layer = z.enum([
5
- 'Base',
6
- 'Intermedia',
7
- 'Exterior',
9
+ Base.value,
10
+ Intermediate.value,
11
+ Exterior.value,
8
12
  ]).describe('Capa Térmica');
@@ -38,8 +38,4 @@ export const Material = z.enum([
38
38
  ...NaturalMaterial.options,
39
39
  ...SyntheticMaterial.options,
40
40
  ...CommonFabric.options,
41
- ]);
42
-
43
- export const Materials = z.array(Material)
44
- .optional()
45
- .describe('Materiales');
41
+ ]).describe('Materiales');
@@ -1,5 +1,3 @@
1
1
  import z from "zod";
2
2
 
3
- export const Measurements = z.array(z.number())
4
- .optional()
5
- .describe('Medidas');
3
+ export const Measurements = z.array(z.number()).describe('Medidas');
@@ -1,8 +1,13 @@
1
1
  import z from "zod";
2
2
 
3
+ export const Winter = z.literal('Invierno').describe('Invierno');
4
+ export const Summer = z.literal('Verano').describe('Verano');
5
+ export const Autumn = z.literal('Entretiempo').describe('Entretiempo');
6
+ export const AllYear = z.literal('Todo el año').describe('Todo el año');
7
+
3
8
  export const Season = z.enum([
4
- 'Invierno',
5
- 'Verano',
6
- 'Entretiempo',
7
- 'Todo el año',
8
- ]).optional().describe('Estaciones');
9
+ Winter.value,
10
+ Summer.value,
11
+ Autumn.value,
12
+ AllYear.value,
13
+ ]).describe('Estaciones');
@@ -1,9 +1,15 @@
1
1
  import z from "zod";
2
2
 
3
+ export const New = z.literal('Nuevo').describe('Nuevo');
4
+ export const Good = z.literal('Bien').describe('Bien');
5
+ export const Worn = z.literal('Gastado').describe('Gastado');
6
+ export const Damaged = z.literal('Dañado').describe('Dañado');
7
+ export const Retire = z.literal('Retirar').describe('Retirar');
8
+
3
9
  export const Status = z.enum([
4
- 'Nuevo',
5
- 'Bien',
6
- 'Gastado',
7
- 'Dañado',
8
- 'Retirar'
9
- ]).optional().default('Bien').describe('Estado');
10
+ New.value,
11
+ Good.value,
12
+ Worn.value,
13
+ Damaged.value,
14
+ Retire.value,
15
+ ]).describe('Estado de la prenda de ropa');
@@ -13,8 +13,4 @@ export const UseCase = z.enum([
13
13
  'Playa',
14
14
  'Lluvia',
15
15
  'Frío Extremo',
16
- ])
17
-
18
- export const UseCases = z.array(UseCase)
19
- .optional()
20
- .describe('Casos de uso');
16
+ ]).describe('Casos de uso');
@@ -66,8 +66,5 @@ export const Variant = z.enum([
66
66
  ...Outerwear.options,
67
67
  ...Closures.options,
68
68
  ...AdditionalFeatures.options,
69
- ]);
70
-
71
- export const Variants = z.array(Variant)
72
- .optional()
73
- .describe('Detalles Estructurales');
69
+ ])
70
+ .describe('Detalles Estructurales');
@@ -1,22 +1,22 @@
1
1
  import z from "zod";
2
2
 
3
- import { Cares } from "./Cares";
3
+ import { Areas, Home, ResourceSchema } from "../Core";
4
+ import { Clothes } from "../Core/Subtype";
5
+ import { Color, Icon, Image, Orange } from "../DataTypes";
6
+ import { Care } from "./Cares";
4
7
  import { Pattern, PrimaryColor, SecondaryColor } from "./Colors";
5
8
  import { Fit } from "./Fit";
6
- import { Formality } from "./Formality";
9
+ import { Casual, Formality } from "./Formality";
7
10
  import { Garment } from "./Garment";
8
11
  import { Layer } from "./Layer";
9
- import { Materials } from "./Materials";
12
+ import { Material } from "./Materials";
10
13
  import { Measurements } from "./Measurements";
11
- import { Season } from "./Season";
14
+ import { AllYear, Season } from "./Season";
12
15
  import { Size } from "./Size";
13
16
  import { Slot } from "./Slot";
14
- import { Status } from "./Status";
15
- import { UseCases } from "./UseCases";
16
- import { Variants } from "./Variants";
17
- import { Areas, Home, ResourceSchema } from "../Core";
18
- import { Clothes } from "../Core/Subtype";
19
- import { Color, Icon, Image, Orange } from "../DataTypes";
17
+ import { Good, Status } from "./Status";
18
+ import { UseCase } from "./UseCases";
19
+ import { Variant } from "./Variants";
20
20
 
21
21
  const ClothingIcon = z.literal("shirt");
22
22
 
@@ -29,38 +29,19 @@ export const ClothingSchema = ResourceSchema.extend({
29
29
  name: z.string().describe('Nombre descriptivo de la prenda de ropa'),
30
30
  garment: Garment,
31
31
  slot: Slot,
32
- variants: Variants,
33
- fit: Fit,
32
+ variants: z.array(Variant).optional().describe('Detalles Estructurales'),
33
+ fit: Fit.optional(),
34
34
  primary_color: PrimaryColor,
35
- secondary_color: SecondaryColor,
36
- pattern: Pattern,
37
- materials: Materials,
35
+ secondary_color: SecondaryColor.optional(),
36
+ pattern: Pattern.optional(),
37
+ materials: z.array(Material).optional().describe('Materiales'),
38
38
  layer: Layer,
39
- season: Season,
40
- use_case: UseCases,
41
- formality: Formality,
39
+ season: Season.optional().default(AllYear.value),
40
+ use_case: z.array(UseCase).optional().describe('Casos de uso'),
41
+ formality: Formality.optional().default(Casual.value),
42
42
  brand: z.string().optional().describe('The brand of the clothing'),
43
- cares: Cares,
44
- status: Status,
45
- size: Size,
46
- measurements: Measurements,
43
+ cares: z.array(Care).optional().describe('Cuidado de la prenda'),
44
+ status: Status.optional().default(Good.value),
45
+ size: Size.optional(),
46
+ measurements: Measurements.optional(),
47
47
  }).describe('Prenda de ropa');
48
-
49
- export const CatalogClothingSchema = ClothingSchema.pick({
50
- name: true,
51
- garment: true,
52
- slot: true,
53
- variants: true,
54
- fit: true,
55
- primary_color: true,
56
- secondary_color: true,
57
- pattern: true,
58
- materials: true,
59
- layer: true,
60
- season: true,
61
- use_case: true,
62
- formality: true,
63
- brand: true,
64
- }).meta({
65
- deprecated: true,
66
- }).describe('Prenda de ropa: Datos obtenibles de catalogación');
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Todo el año",
5
+ "description": "Todo el año"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Entretiempo",
5
+ "description": "Entretiempo"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Base",
5
+ "description": "Base"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Etiqueta",
5
+ "description": "Etiqueta"
6
+ }
@@ -9,5 +9,6 @@
9
9
  "Caliente",
10
10
  "Planchado",
11
11
  "Planchado a vapor"
12
- ]
12
+ ],
13
+ "description": "Cuidado de la prenda"
13
14
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Casual",
5
+ "description": "Casual"
6
+ }
@@ -110,7 +110,6 @@
110
110
  },
111
111
  "status": {
112
112
  "default": "Bien",
113
- "description": "Estado",
114
113
  "type": "string",
115
114
  "enum": [
116
115
  "Nuevo",
@@ -118,7 +117,8 @@
118
117
  "Gastado",
119
118
  "Dañado",
120
119
  "Retirar"
121
- ]
120
+ ],
121
+ "description": "Estado de la prenda de ropa"
122
122
  },
123
123
  "rating": {
124
124
  "description": "Puntuación de la nota.",
@@ -282,11 +282,11 @@
282
282
  "Bolsillos",
283
283
  "Sin Bolsillos",
284
284
  "Reversible"
285
- ]
285
+ ],
286
+ "description": "Detalles Estructurales"
286
287
  }
287
288
  },
288
289
  "fit": {
289
- "description": "Ajuste",
290
290
  "type": "string",
291
291
  "enum": [
292
292
  "Entallado",
@@ -295,7 +295,8 @@
295
295
  "Relajado",
296
296
  "Holgado",
297
297
  "Extragrande"
298
- ]
298
+ ],
299
+ "description": "Ajuste"
299
300
  },
300
301
  "primary_color": {
301
302
  "type": "string",
@@ -324,7 +325,6 @@
324
325
  "description": "Color principal"
325
326
  },
326
327
  "secondary_color": {
327
- "description": "Color secundario",
328
328
  "type": "string",
329
329
  "enum": [
330
330
  "Blanco",
@@ -347,10 +347,10 @@
347
347
  "Oro",
348
348
  "Plata",
349
349
  "Bronce"
350
- ]
350
+ ],
351
+ "description": "Color secundario"
351
352
  },
352
353
  "pattern": {
353
- "description": "Estampado",
354
354
  "type": "string",
355
355
  "enum": [
356
356
  "Liso",
@@ -363,7 +363,8 @@
363
363
  "Camuflaje",
364
364
  "EstampadoGráfico",
365
365
  "Degradado"
366
- ]
366
+ ],
367
+ "description": "Estampado"
367
368
  },
368
369
  "materials": {
369
370
  "description": "Materiales",
@@ -393,7 +394,8 @@
393
394
  "Jacquard",
394
395
  "Franela",
395
396
  "Gabardina"
396
- ]
397
+ ],
398
+ "description": "Materiales"
397
399
  }
398
400
  },
399
401
  "layer": {
@@ -406,14 +408,15 @@
406
408
  "description": "Capa Térmica"
407
409
  },
408
410
  "season": {
409
- "description": "Estaciones",
411
+ "default": "Todo el año",
410
412
  "type": "string",
411
413
  "enum": [
412
414
  "Invierno",
413
415
  "Verano",
414
416
  "Entretiempo",
415
417
  "Todo el año"
416
- ]
418
+ ],
419
+ "description": "Estaciones"
417
420
  },
418
421
  "use_case": {
419
422
  "description": "Casos de uso",
@@ -433,11 +436,12 @@
433
436
  "Playa",
434
437
  "Lluvia",
435
438
  "Frío Extremo"
436
- ]
439
+ ],
440
+ "description": "Casos de uso"
437
441
  }
438
442
  },
439
443
  "formality": {
440
- "description": "Formalidad",
444
+ "default": "Casual",
441
445
  "type": "string",
442
446
  "enum": [
443
447
  "Muy Informal",
@@ -445,14 +449,15 @@
445
449
  "Arreglado",
446
450
  "Formal",
447
451
  "Etiqueta"
448
- ]
452
+ ],
453
+ "description": "Formalidad"
449
454
  },
450
455
  "brand": {
451
456
  "description": "The brand of the clothing",
452
457
  "type": "string"
453
458
  },
454
459
  "cares": {
455
- "description": "Cuidados",
460
+ "description": "Cuidado de la prenda",
456
461
  "type": "array",
457
462
  "items": {
458
463
  "type": "string",
@@ -464,7 +469,8 @@
464
469
  "Caliente",
465
470
  "Planchado",
466
471
  "Planchado a vapor"
467
- ]
472
+ ],
473
+ "description": "Cuidado de la prenda"
468
474
  }
469
475
  },
470
476
  "size": {
@@ -496,11 +502,11 @@
496
502
  ]
497
503
  },
498
504
  "measurements": {
499
- "description": "Medidas",
500
505
  "type": "array",
501
506
  "items": {
502
507
  "type": "number"
503
- }
508
+ },
509
+ "description": "Medidas"
504
510
  }
505
511
  },
506
512
  "required": [
@@ -509,8 +515,7 @@
509
515
  "garment",
510
516
  "slot",
511
517
  "primary_color",
512
- "layer",
513
- "size"
518
+ "layer"
514
519
  ],
515
520
  "description": "Prenda de ropa"
516
521
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Dañado",
5
+ "description": "Dañado"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Exterior",
5
+ "description": "Exterior"
6
+ }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Ajuste",
4
3
  "type": "string",
5
4
  "enum": [
6
5
  "Entallado",
@@ -9,5 +8,6 @@
9
8
  "Relajado",
10
9
  "Holgado",
11
10
  "Extragrande"
12
- ]
11
+ ],
12
+ "description": "Ajuste"
13
13
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Formal",
5
+ "description": "Formal"
6
+ }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Formalidad",
4
3
  "type": "string",
5
4
  "enum": [
6
5
  "Muy Informal",
@@ -8,5 +7,6 @@
8
7
  "Arreglado",
9
8
  "Formal",
10
9
  "Etiqueta"
11
- ]
10
+ ],
11
+ "description": "Formalidad"
12
12
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Bien",
5
+ "description": "Bien"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Intermedia",
5
+ "description": "Intermedia"
6
+ }
@@ -24,5 +24,6 @@
24
24
  "Jacquard",
25
25
  "Franela",
26
26
  "Gabardina"
27
- ]
27
+ ],
28
+ "description": "Materiales"
28
29
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Medidas",
4
3
  "type": "array",
5
4
  "items": {
6
5
  "type": "number"
7
- }
6
+ },
7
+ "description": "Medidas"
8
8
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Nuevo",
5
+ "description": "Nuevo"
6
+ }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Estampado",
4
3
  "type": "string",
5
4
  "enum": [
6
5
  "Liso",
@@ -13,5 +12,6 @@
13
12
  "Camuflaje",
14
13
  "EstampadoGráfico",
15
14
  "Degradado"
16
- ]
15
+ ],
16
+ "description": "Estampado"
17
17
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Retirar",
5
+ "description": "Retirar"
6
+ }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Estaciones",
4
3
  "type": "string",
5
4
  "enum": [
6
5
  "Invierno",
7
6
  "Verano",
8
7
  "Entretiempo",
9
8
  "Todo el año"
10
- ]
9
+ ],
10
+ "description": "Estaciones"
11
11
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "description": "Color secundario",
4
3
  "type": "string",
5
4
  "enum": [
6
5
  "Blanco",
@@ -23,5 +22,6 @@
23
22
  "Oro",
24
23
  "Plata",
25
24
  "Bronce"
26
- ]
25
+ ],
26
+ "description": "Color secundario"
27
27
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "const": "Arreglado",
5
+ "description": "Arreglado"
6
+ }
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "default": "Bien",
4
- "description": "Estado",
5
3
  "type": "string",
6
4
  "enum": [
7
5
  "Nuevo",
@@ -9,5 +7,6 @@
9
7
  "Gastado",
10
8
  "Dañado",
11
9
  "Retirar"
12
- ]
10
+ ],
11
+ "description": "Estado de la prenda de ropa"
13
12
  }