@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,21 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "string",
4
+ "enum": [
5
+ "[[Alimentación]]",
6
+ "[[Salud]]",
7
+ "[[Conocimiento]]",
8
+ "[[Pensamiento Estructurado]]",
9
+ "[[Hogar]]",
10
+ "[[Productividad]]",
11
+ "[[Exploración]]",
12
+ "[[Vínculos]]",
13
+ "[[Ejercicio]]",
14
+ "[[Energía Vital]]",
15
+ "[[Trabajo]]",
16
+ "[[Finanzas]]",
17
+ "[[Salud Mental]]",
18
+ "[[Creatividad]]"
19
+ ],
20
+ "description": "Área"
21
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "string",
6
+ "enum": [
7
+ "[[Alimentación]]",
8
+ "[[Salud]]",
9
+ "[[Conocimiento]]",
10
+ "[[Pensamiento Estructurado]]",
11
+ "[[Hogar]]",
12
+ "[[Productividad]]",
13
+ "[[Exploración]]",
14
+ "[[Vínculos]]",
15
+ "[[Ejercicio]]",
16
+ "[[Energía Vital]]",
17
+ "[[Trabajo]]",
18
+ "[[Finanzas]]",
19
+ "[[Salud Mental]]",
20
+ "[[Creatividad]]"
21
+ ],
22
+ "description": "Área"
23
+ },
24
+ "description": "Áreas"
25
+ }
@@ -0,0 +1,103 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Título del artículo"
8
+ },
9
+ "description": {
10
+ "description": "Descripción",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extracto del artículo",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Autores"
23
+ },
24
+ "published": {
25
+ "description": "Año de publicación",
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": [
31
+ "Pendiente",
32
+ "En Proceso",
33
+ "Leído",
34
+ "Consolidado"
35
+ ],
36
+ "description": "Estado de lectura"
37
+ },
38
+ "projects": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "Proyectos"
44
+ },
45
+ "topics": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ },
50
+ "description": "Temas"
51
+ },
52
+ "rating": {
53
+ "type": "number",
54
+ "description": "Puntuación del artículo"
55
+ },
56
+ "type": {
57
+ "type": "string",
58
+ "const": "[[Fuentes]]"
59
+ },
60
+ "format": {
61
+ "type": "string",
62
+ "const": "[[Artículos]]"
63
+ },
64
+ "areas": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "const": "[[Conocimiento]]"
69
+ }
70
+ },
71
+ "color": {
72
+ "type": "string",
73
+ "const": "#3171B2"
74
+ },
75
+ "icon": {
76
+ "type": "string",
77
+ "const": "newspaper"
78
+ },
79
+ "banner": {
80
+ "type": "string"
81
+ },
82
+ "url": {
83
+ "type": "string",
84
+ "description": "URL del artículo"
85
+ }
86
+ },
87
+ "required": [
88
+ "title",
89
+ "author",
90
+ "status",
91
+ "projects",
92
+ "topics",
93
+ "rating",
94
+ "type",
95
+ "format",
96
+ "areas",
97
+ "color",
98
+ "icon",
99
+ "url"
100
+ ],
101
+ "additionalProperties": false,
102
+ "description": "Artículo"
103
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Título del artículo"
8
+ },
9
+ "description": {
10
+ "description": "Descripción",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extracto del artículo",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Autores"
23
+ },
24
+ "published": {
25
+ "description": "Año de publicación",
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "title",
31
+ "author"
32
+ ],
33
+ "additionalProperties": false,
34
+ "description": "Artículo: Datos obtenibles de catalogación"
35
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "status": {
6
+ "type": "string",
7
+ "enum": [
8
+ "Pendiente",
9
+ "En Proceso",
10
+ "Leído",
11
+ "Consolidado"
12
+ ],
13
+ "description": "Estado de lectura"
14
+ },
15
+ "projects": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ },
20
+ "description": "Proyectos"
21
+ },
22
+ "topics": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "Temas"
28
+ },
29
+ "rating": {
30
+ "type": "number",
31
+ "description": "Puntuación del artículo"
32
+ }
33
+ },
34
+ "required": [
35
+ "status",
36
+ "projects",
37
+ "topics",
38
+ "rating"
39
+ ],
40
+ "additionalProperties": false,
41
+ "description": "Artículo: Datos adicionales"
42
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "[[Fuentes]]"
8
+ },
9
+ "format": {
10
+ "type": "string",
11
+ "const": "[[Artículos]]"
12
+ },
13
+ "areas": {
14
+ "type": "array",
15
+ "items": {
16
+ "type": "string",
17
+ "const": "[[Conocimiento]]"
18
+ }
19
+ },
20
+ "color": {
21
+ "type": "string",
22
+ "const": "#3171B2"
23
+ },
24
+ "icon": {
25
+ "type": "string",
26
+ "const": "newspaper"
27
+ },
28
+ "banner": {
29
+ "type": "string"
30
+ },
31
+ "url": {
32
+ "type": "string",
33
+ "description": "URL del artículo"
34
+ }
35
+ },
36
+ "required": [
37
+ "type",
38
+ "format",
39
+ "areas",
40
+ "color",
41
+ "icon",
42
+ "url"
43
+ ],
44
+ "additionalProperties": false,
45
+ "description": "Artículo: Metadatos de Nota"
46
+ }
@@ -0,0 +1,233 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "@segha/catalog/es/Article",
4
+ "description": "Schemas for Petroglyph Catalog",
5
+ "$defs": {
6
+ "ArticleSchema": {
7
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
8
+ "type": "object",
9
+ "properties": {
10
+ "title": {
11
+ "type": "string",
12
+ "description": "Título del artículo"
13
+ },
14
+ "description": {
15
+ "description": "Descripción",
16
+ "type": "string"
17
+ },
18
+ "excerpt": {
19
+ "description": "Extracto del artículo",
20
+ "type": "string"
21
+ },
22
+ "author": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "description": "Autores"
28
+ },
29
+ "published": {
30
+ "description": "Año de publicación",
31
+ "type": "string"
32
+ },
33
+ "status": {
34
+ "type": "string",
35
+ "enum": [
36
+ "Pendiente",
37
+ "En Proceso",
38
+ "Leído",
39
+ "Consolidado"
40
+ ],
41
+ "description": "Estado de lectura"
42
+ },
43
+ "projects": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string"
47
+ },
48
+ "description": "Proyectos"
49
+ },
50
+ "topics": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "string"
54
+ },
55
+ "description": "Temas"
56
+ },
57
+ "rating": {
58
+ "type": "number",
59
+ "description": "Puntuación del artículo"
60
+ },
61
+ "type": {
62
+ "type": "string",
63
+ "const": "[[Fuentes]]"
64
+ },
65
+ "format": {
66
+ "type": "string",
67
+ "const": "[[Artículos]]"
68
+ },
69
+ "areas": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string",
73
+ "const": "[[Conocimiento]]"
74
+ }
75
+ },
76
+ "color": {
77
+ "type": "string",
78
+ "const": "#3171B2"
79
+ },
80
+ "icon": {
81
+ "type": "string",
82
+ "const": "newspaper"
83
+ },
84
+ "banner": {
85
+ "type": "string"
86
+ },
87
+ "url": {
88
+ "type": "string",
89
+ "description": "URL del artículo"
90
+ }
91
+ },
92
+ "required": [
93
+ "title",
94
+ "author",
95
+ "status",
96
+ "projects",
97
+ "topics",
98
+ "rating",
99
+ "type",
100
+ "format",
101
+ "areas",
102
+ "color",
103
+ "icon",
104
+ "url"
105
+ ],
106
+ "additionalProperties": false,
107
+ "description": "Artículo"
108
+ },
109
+ "CatalogArticleSchema": {
110
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
111
+ "type": "object",
112
+ "properties": {
113
+ "title": {
114
+ "type": "string",
115
+ "description": "Título del artículo"
116
+ },
117
+ "description": {
118
+ "description": "Descripción",
119
+ "type": "string"
120
+ },
121
+ "excerpt": {
122
+ "description": "Extracto del artículo",
123
+ "type": "string"
124
+ },
125
+ "author": {
126
+ "type": "array",
127
+ "items": {
128
+ "type": "string"
129
+ },
130
+ "description": "Autores"
131
+ },
132
+ "published": {
133
+ "description": "Año de publicación",
134
+ "type": "string"
135
+ }
136
+ },
137
+ "required": [
138
+ "title",
139
+ "author"
140
+ ],
141
+ "additionalProperties": false,
142
+ "description": "Artículo: Datos obtenibles de catalogación"
143
+ },
144
+ "DetailedArticleSchema": {
145
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
146
+ "type": "object",
147
+ "properties": {
148
+ "status": {
149
+ "type": "string",
150
+ "enum": [
151
+ "Pendiente",
152
+ "En Proceso",
153
+ "Leído",
154
+ "Consolidado"
155
+ ],
156
+ "description": "Estado de lectura"
157
+ },
158
+ "projects": {
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string"
162
+ },
163
+ "description": "Proyectos"
164
+ },
165
+ "topics": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string"
169
+ },
170
+ "description": "Temas"
171
+ },
172
+ "rating": {
173
+ "type": "number",
174
+ "description": "Puntuación del artículo"
175
+ }
176
+ },
177
+ "required": [
178
+ "status",
179
+ "projects",
180
+ "topics",
181
+ "rating"
182
+ ],
183
+ "additionalProperties": false,
184
+ "description": "Artículo: Datos adicionales"
185
+ },
186
+ "MetaArticleSchema": {
187
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
188
+ "type": "object",
189
+ "properties": {
190
+ "type": {
191
+ "type": "string",
192
+ "const": "[[Fuentes]]"
193
+ },
194
+ "format": {
195
+ "type": "string",
196
+ "const": "[[Artículos]]"
197
+ },
198
+ "areas": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "string",
202
+ "const": "[[Conocimiento]]"
203
+ }
204
+ },
205
+ "color": {
206
+ "type": "string",
207
+ "const": "#3171B2"
208
+ },
209
+ "icon": {
210
+ "type": "string",
211
+ "const": "newspaper"
212
+ },
213
+ "banner": {
214
+ "type": "string"
215
+ },
216
+ "url": {
217
+ "type": "string",
218
+ "description": "URL del artículo"
219
+ }
220
+ },
221
+ "required": [
222
+ "type",
223
+ "format",
224
+ "areas",
225
+ "color",
226
+ "icon",
227
+ "url"
228
+ ],
229
+ "additionalProperties": false,
230
+ "description": "Artículo: Metadatos de Nota"
231
+ }
232
+ }
233
+ }
@@ -0,0 +1,103 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "description": "Título del artículo"
8
+ },
9
+ "description": {
10
+ "description": "Descripción",
11
+ "type": "string"
12
+ },
13
+ "excerpt": {
14
+ "description": "Extracto del artículo",
15
+ "type": "string"
16
+ },
17
+ "author": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ },
22
+ "description": "Autores"
23
+ },
24
+ "published": {
25
+ "description": "Año de publicación",
26
+ "type": "string"
27
+ },
28
+ "status": {
29
+ "type": "string",
30
+ "enum": [
31
+ "Pendiente",
32
+ "En Proceso",
33
+ "Leído",
34
+ "Consolidado"
35
+ ],
36
+ "description": "Estado de lectura"
37
+ },
38
+ "projects": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "Proyectos"
44
+ },
45
+ "topics": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ },
50
+ "description": "Temas"
51
+ },
52
+ "rating": {
53
+ "type": "number",
54
+ "description": "Puntuación del artículo"
55
+ },
56
+ "type": {
57
+ "type": "string",
58
+ "const": "[[Fuentes]]"
59
+ },
60
+ "format": {
61
+ "type": "string",
62
+ "const": "[[Artículos]]"
63
+ },
64
+ "areas": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string",
68
+ "const": "[[Conocimiento]]"
69
+ }
70
+ },
71
+ "color": {
72
+ "type": "string",
73
+ "const": "#3171B2"
74
+ },
75
+ "icon": {
76
+ "type": "string",
77
+ "const": "newspaper"
78
+ },
79
+ "banner": {
80
+ "type": "string"
81
+ },
82
+ "url": {
83
+ "type": "string",
84
+ "description": "URL del artículo"
85
+ }
86
+ },
87
+ "required": [
88
+ "title",
89
+ "author",
90
+ "status",
91
+ "projects",
92
+ "topics",
93
+ "rating",
94
+ "type",
95
+ "format",
96
+ "areas",
97
+ "color",
98
+ "icon",
99
+ "url"
100
+ ],
101
+ "additionalProperties": false,
102
+ "description": "Artículo"
103
+ }