@segha/catalog 2.1.0 → 3.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 (240) hide show
  1. package/CHANGELOG.md +179 -0
  2. package/README.md +83 -0
  3. package/en/Note.ts +2 -0
  4. package/en/Wikipedia/index.ts +18 -0
  5. package/en/Wikipedia/types.ts +10 -0
  6. package/en/index.ts +1 -0
  7. package/es/Article/index.ts +19 -23
  8. package/es/Article/types.ts +1 -4
  9. package/es/Book/index.ts +23 -27
  10. package/es/Book/types.ts +1 -4
  11. package/es/Clothing/index.ts +29 -14
  12. package/es/Clothing/types.ts +1 -3
  13. package/es/Core/Area.ts +66 -0
  14. package/es/Core/Common.ts +43 -0
  15. package/es/Core/Format.ts +28 -0
  16. package/es/Core/Rating.ts +33 -0
  17. package/es/Core/Resource.ts +18 -0
  18. package/es/Core/Source.ts +37 -0
  19. package/es/Core/Subtype.ts +8 -0
  20. package/es/Core/Type.ts +36 -0
  21. package/es/Core/index.ts +9 -0
  22. package/es/DataTypes/Color.ts +22 -0
  23. package/es/DataTypes/Date.ts +45 -0
  24. package/es/DataTypes/Icon.ts +7 -0
  25. package/es/DataTypes/Image.ts +9 -0
  26. package/es/DataTypes/Language.ts +11 -0
  27. package/es/DataTypes/Status.ts +8 -0
  28. package/es/DataTypes/Wikilink.ts +16 -0
  29. package/es/DataTypes/index.ts +7 -0
  30. package/es/EncyclopediaEntry/index.ts +30 -0
  31. package/es/EncyclopediaEntry/types.ts +8 -0
  32. package/es/Movie/MovieExternalId.ts +7 -0
  33. package/es/Movie/index.ts +25 -28
  34. package/es/Movie/types.ts +1 -4
  35. package/es/Note.ts +6 -0
  36. package/es/Painting/index.ts +23 -0
  37. package/es/Painting/types.ts +6 -0
  38. package/es/Video/index.ts +35 -0
  39. package/es/Video/types.ts +9 -0
  40. package/es/index.ts +3 -0
  41. package/es/types.ts +3 -0
  42. package/json-schemas/ArticleSchema.json +0 -1
  43. package/json-schemas/BookSchema.json +0 -1
  44. package/json-schemas/CatalogArticleSchema.json +0 -1
  45. package/json-schemas/CatalogBookSchema.json +0 -1
  46. package/json-schemas/CatalogClothingSchema.json +0 -1
  47. package/json-schemas/CatalogMovieSchema.json +0 -1
  48. package/json-schemas/{es/CatalogArticleSchema.json → CatalogWikipediaSchema.json} +6 -7
  49. package/json-schemas/ClothingSchema.json +0 -2
  50. package/json-schemas/DetailedArticleSchema.json +0 -1
  51. package/json-schemas/DetailedBookSchema.json +0 -1
  52. package/json-schemas/DetailedClothingSchema.json +0 -2
  53. package/json-schemas/DetailedMovieSchema.json +0 -1
  54. package/json-schemas/{es/Article/DetailedArticleSchema.json → DetailedWikipediaSchema.json} +9 -10
  55. package/json-schemas/MetaArticleSchema.json +0 -1
  56. package/json-schemas/MetaBookSchema.json +0 -1
  57. package/json-schemas/MetaClothingSchema.json +0 -1
  58. package/json-schemas/MetaMovieSchema.json +0 -1
  59. package/json-schemas/{es/Book/MetaBookSchema.json → MetaWikipediaSchema.json} +11 -12
  60. package/json-schemas/MovieSchema.json +0 -1
  61. package/json-schemas/NoteSchema.json +106 -5
  62. package/json-schemas/WikipediaSchema.json +107 -0
  63. package/json-schemas/common/Palette.json +14 -0
  64. package/json-schemas/common/Scheme.json +11 -0
  65. package/json-schemas/common/index.json +32 -0
  66. package/json-schemas/en/Article/ArticleSchema.json +0 -1
  67. package/json-schemas/en/Article/CatalogArticleSchema.json +0 -1
  68. package/json-schemas/en/Article/DetailedArticleSchema.json +0 -1
  69. package/json-schemas/en/Article/MetaArticleSchema.json +0 -1
  70. package/json-schemas/en/Article/index.json +0 -4
  71. package/json-schemas/en/ArticleSchema.json +0 -1
  72. package/json-schemas/en/Book/BookSchema.json +0 -1
  73. package/json-schemas/en/Book/CatalogBookSchema.json +0 -1
  74. package/json-schemas/en/Book/DetailedBookSchema.json +0 -1
  75. package/json-schemas/en/Book/MetaBookSchema.json +0 -1
  76. package/json-schemas/en/Book/index.json +0 -4
  77. package/json-schemas/en/BookSchema.json +0 -1
  78. package/json-schemas/en/CatalogArticleSchema.json +0 -1
  79. package/json-schemas/en/CatalogBookSchema.json +0 -1
  80. package/json-schemas/en/CatalogClothingSchema.json +0 -1
  81. package/json-schemas/en/CatalogMovieSchema.json +0 -1
  82. package/json-schemas/{es/Article/CatalogArticleSchema.json → en/CatalogWikipediaSchema.json} +6 -7
  83. package/json-schemas/en/Clothing/CatalogClothingSchema.json +0 -1
  84. package/json-schemas/en/Clothing/ClothingSchema.json +0 -2
  85. package/json-schemas/en/Clothing/DetailedClothingSchema.json +0 -2
  86. package/json-schemas/en/Clothing/MetaClothingSchema.json +0 -1
  87. package/json-schemas/en/Clothing/index.json +0 -6
  88. package/json-schemas/en/ClothingSchema.json +0 -2
  89. package/json-schemas/en/DetailedArticleSchema.json +0 -1
  90. package/json-schemas/en/DetailedBookSchema.json +0 -1
  91. package/json-schemas/en/DetailedClothingSchema.json +0 -2
  92. package/json-schemas/en/DetailedMovieSchema.json +0 -1
  93. package/json-schemas/{es/DetailedArticleSchema.json → en/DetailedWikipediaSchema.json} +9 -10
  94. package/json-schemas/en/MetaArticleSchema.json +0 -1
  95. package/json-schemas/en/MetaBookSchema.json +0 -1
  96. package/json-schemas/en/MetaClothingSchema.json +0 -1
  97. package/json-schemas/en/MetaMovieSchema.json +0 -1
  98. package/json-schemas/{es/MetaBookSchema.json → en/MetaWikipediaSchema.json} +11 -12
  99. package/json-schemas/en/Movie/CatalogMovieSchema.json +0 -1
  100. package/json-schemas/en/Movie/DetailedMovieSchema.json +0 -1
  101. package/json-schemas/en/Movie/MetaMovieSchema.json +0 -1
  102. package/json-schemas/en/Movie/MovieSchema.json +0 -1
  103. package/json-schemas/en/Movie/index.json +0 -4
  104. package/json-schemas/en/MovieSchema.json +0 -1
  105. package/json-schemas/en/NoteSchema.json +106 -5
  106. package/json-schemas/en/Wikipedia/CatalogWikipediaSchema.json +34 -0
  107. package/json-schemas/en/Wikipedia/DetailedWikipediaSchema.json +41 -0
  108. package/json-schemas/{es/Article/MetaArticleSchema.json → en/Wikipedia/MetaWikipediaSchema.json} +14 -10
  109. package/json-schemas/en/Wikipedia/WikipediaSchema.json +107 -0
  110. package/json-schemas/en/Wikipedia/index.json +239 -0
  111. package/json-schemas/en/WikipediaSchema.json +107 -0
  112. package/json-schemas/en/index.json +338 -23
  113. package/json-schemas/es/Article/ArticleSchema.json +202 -61
  114. package/json-schemas/es/Article/index.json +196 -178
  115. package/json-schemas/es/ArticleSchema.json +202 -61
  116. package/json-schemas/es/Book/BookSchema.json +240 -80
  117. package/json-schemas/es/Book/index.json +226 -210
  118. package/json-schemas/es/BookSchema.json +240 -80
  119. package/json-schemas/es/CatalogClothingSchema.json +1 -1
  120. package/json-schemas/es/Clothing/CatalogClothingSchema.json +1 -1
  121. package/json-schemas/es/Clothing/ClothingSchema.json +173 -46
  122. package/json-schemas/es/Clothing/index.json +174 -163
  123. package/json-schemas/es/ClothingSchema.json +173 -46
  124. package/json-schemas/es/Core/Articles.json +6 -0
  125. package/json-schemas/es/Core/Atrocious.json +6 -0
  126. package/json-schemas/es/Core/Bad.json +6 -0
  127. package/json-schemas/es/Core/Books.json +6 -0
  128. package/json-schemas/es/Core/Capabilities.json +6 -0
  129. package/json-schemas/es/Core/Chronicles.json +6 -0
  130. package/json-schemas/es/Core/Clothes.json +6 -0
  131. package/json-schemas/es/Core/CommonSchema.json +165 -0
  132. package/json-schemas/es/Core/Creativity.json +6 -0
  133. package/json-schemas/es/Core/EncyclopediaEntries.json +6 -0
  134. package/json-schemas/es/Core/Energy.json +6 -0
  135. package/json-schemas/es/Core/Entities.json +6 -0
  136. package/json-schemas/es/Core/Evil.json +6 -0
  137. package/json-schemas/es/Core/Excellent.json +6 -0
  138. package/json-schemas/es/Core/Exercise.json +6 -0
  139. package/json-schemas/es/Core/Exploration.json +6 -0
  140. package/json-schemas/es/Core/Extracts.json +6 -0
  141. package/json-schemas/es/Core/Finances.json +6 -0
  142. package/json-schemas/es/Core/Food.json +6 -0
  143. package/json-schemas/es/Core/Format.json +13 -0
  144. package/json-schemas/es/Core/Good.json +6 -0
  145. package/json-schemas/es/Core/Health.json +6 -0
  146. package/json-schemas/es/Core/Home.json +6 -0
  147. package/json-schemas/es/Core/Knowledge.json +6 -0
  148. package/json-schemas/es/Core/Links.json +6 -0
  149. package/json-schemas/es/Core/MentalHealth.json +6 -0
  150. package/json-schemas/es/Core/Movies.json +6 -0
  151. package/json-schemas/es/Core/Paintings.json +6 -0
  152. package/json-schemas/es/Core/Passable.json +6 -0
  153. package/json-schemas/es/Core/Perfect.json +6 -0
  154. package/json-schemas/es/Core/Productivity.json +6 -0
  155. package/json-schemas/es/Core/Publications.json +6 -0
  156. package/json-schemas/es/Core/Rating.json +41 -0
  157. package/json-schemas/es/Core/ResourceSchema.json +171 -0
  158. package/json-schemas/es/Core/Resources.json +6 -0
  159. package/json-schemas/es/Core/ResourcesSubtype.json +11 -0
  160. package/json-schemas/es/Core/Scenarios.json +6 -0
  161. package/json-schemas/es/Core/SourceSchema.json +209 -0
  162. package/json-schemas/es/Core/Sources.json +6 -0
  163. package/json-schemas/es/Core/SourcesFormat.json +16 -0
  164. package/json-schemas/es/Core/StructuredThinking.json +6 -0
  165. package/json-schemas/es/Core/Subtype.json +8 -0
  166. package/json-schemas/es/Core/Type.json +15 -0
  167. package/json-schemas/es/Core/Videos.json +6 -0
  168. package/json-schemas/es/Core/Work.json +6 -0
  169. package/json-schemas/es/Core/index.json +939 -0
  170. package/json-schemas/es/DataTypes/Blue.json +6 -0
  171. package/json-schemas/es/DataTypes/Color.json +6 -0
  172. package/json-schemas/es/DataTypes/Consolidated.json +5 -0
  173. package/json-schemas/es/DataTypes/Date.json +21 -0
  174. package/json-schemas/es/DataTypes/DateTime.json +6 -0
  175. package/json-schemas/es/DataTypes/DateTimeOffset.json +6 -0
  176. package/json-schemas/es/DataTypes/Embedding.json +6 -0
  177. package/json-schemas/es/DataTypes/FullDate.json +6 -0
  178. package/json-schemas/es/DataTypes/Hex.json +6 -0
  179. package/json-schemas/es/DataTypes/Icon.json +6 -0
  180. package/json-schemas/es/DataTypes/Image.json +15 -0
  181. package/json-schemas/es/DataTypes/InProgress.json +5 -0
  182. package/json-schemas/es/DataTypes/Language.json +6 -0
  183. package/json-schemas/es/DataTypes/LanguageTag.json +6 -0
  184. package/json-schemas/es/DataTypes/Month.json +6 -0
  185. package/json-schemas/es/DataTypes/Orange.json +6 -0
  186. package/json-schemas/es/DataTypes/OrdinalDate.json +6 -0
  187. package/json-schemas/es/DataTypes/Pending.json +5 -0
  188. package/json-schemas/es/DataTypes/Read.json +5 -0
  189. package/json-schemas/es/DataTypes/Seen.json +5 -0
  190. package/json-schemas/es/DataTypes/Time.json +6 -0
  191. package/json-schemas/es/DataTypes/Watched.json +5 -0
  192. package/json-schemas/es/DataTypes/Week.json +6 -0
  193. package/json-schemas/es/DataTypes/WeekWithWeekDay.json +6 -0
  194. package/json-schemas/es/DataTypes/Wikilink.json +6 -0
  195. package/json-schemas/es/DataTypes/WikilinkOrEmbedding.json +6 -0
  196. package/json-schemas/es/DataTypes/Year.json +6 -0
  197. package/json-schemas/es/DataTypes/Yellow.json +6 -0
  198. package/json-schemas/es/DataTypes/index.json +193 -0
  199. package/json-schemas/es/EncyclopediaEntry/EncyclopediaEntrySchema.json +252 -0
  200. package/json-schemas/es/EncyclopediaEntry/WikipediaEntrySchema.json +257 -0
  201. package/json-schemas/es/EncyclopediaEntry/index.json +516 -0
  202. package/json-schemas/es/EncyclopediaEntrySchema.json +252 -0
  203. package/json-schemas/es/Movie/MovieExternalId.json +5 -0
  204. package/json-schemas/es/Movie/MovieSchema.json +233 -80
  205. package/json-schemas/es/Movie/index.json +224 -214
  206. package/json-schemas/es/MovieSchema.json +233 -80
  207. package/json-schemas/es/NoteSchema.json +1540 -248
  208. package/json-schemas/es/Painting/PaintingSchema.json +232 -0
  209. package/json-schemas/es/Painting/index.json +239 -0
  210. package/json-schemas/es/PaintingSchema.json +232 -0
  211. package/json-schemas/es/Video/VideoSchema.json +230 -0
  212. package/json-schemas/es/Video/VimeoSchema.json +221 -0
  213. package/json-schemas/es/Video/YoutubeSchema.json +221 -0
  214. package/json-schemas/es/Video/index.json +679 -0
  215. package/json-schemas/es/VideoSchema.json +230 -0
  216. package/json-schemas/es/VimeoSchema.json +221 -0
  217. package/json-schemas/es/WikipediaEntrySchema.json +257 -0
  218. package/json-schemas/es/YoutubeSchema.json +221 -0
  219. package/json-schemas/es/index.json +3655 -967
  220. package/json-schemas/index.json +338 -23
  221. package/package.json +10 -4
  222. package/es/Areas.ts +0 -24
  223. package/json-schemas/es/Book/CatalogBookSchema.json +0 -44
  224. package/json-schemas/es/Book/DetailedBookSchema.json +0 -49
  225. package/json-schemas/es/CatalogBookSchema.json +0 -44
  226. package/json-schemas/es/CatalogMovieSchema.json +0 -49
  227. package/json-schemas/es/Clothing/DetailedClothingSchema.json +0 -75
  228. package/json-schemas/es/Clothing/MetaClothingSchema.json +0 -41
  229. package/json-schemas/es/DetailedBookSchema.json +0 -49
  230. package/json-schemas/es/DetailedClothingSchema.json +0 -75
  231. package/json-schemas/es/DetailedMovieSchema.json +0 -48
  232. package/json-schemas/es/MetaArticleSchema.json +0 -46
  233. package/json-schemas/es/MetaClothingSchema.json +0 -41
  234. package/json-schemas/es/MetaMovieSchema.json +0 -51
  235. package/json-schemas/es/Movie/CatalogMovieSchema.json +0 -49
  236. package/json-schemas/es/Movie/DetailedMovieSchema.json +0 -48
  237. package/json-schemas/es/Movie/MetaMovieSchema.json +0 -51
  238. /package/json-schemas/es/{Area.json → Core/Area.json} +0 -0
  239. /package/json-schemas/es/{Areas.json → Core/Areas.json} +0 -0
  240. /package/json-schemas/es/{FirstLevelArea.json → Core/FirstLevelArea.json} +0 -0
@@ -0,0 +1,230 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "default": "[[Fuentes]]",
7
+ "type": "string",
8
+ "const": "[[Fuentes]]",
9
+ "description": "Bibliografías, recursos validados sobre los que acumular información."
10
+ },
11
+ "areas": {
12
+ "default": [
13
+ "[[Conocimiento]]"
14
+ ],
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string",
18
+ "enum": [
19
+ "[[Alimentación]]",
20
+ "[[Salud]]",
21
+ "[[Conocimiento]]",
22
+ "[[Pensamiento Estructurado]]",
23
+ "[[Hogar]]",
24
+ "[[Productividad]]",
25
+ "[[Exploración]]",
26
+ "[[Vínculos]]",
27
+ "[[Ejercicio]]",
28
+ "[[Energía Vital]]",
29
+ "[[Trabajo]]",
30
+ "[[Finanzas]]",
31
+ "[[Salud Mental]]",
32
+ "[[Creatividad]]"
33
+ ],
34
+ "description": "Área"
35
+ },
36
+ "description": "Áreas"
37
+ },
38
+ "color": {
39
+ "default": "#3171B2",
40
+ "description": "Color de la nota.",
41
+ "type": "string",
42
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
43
+ },
44
+ "icon": {
45
+ "default": "video",
46
+ "description": "Icono de Lucide.",
47
+ "type": "string",
48
+ "pattern": "^[a-z-]+$"
49
+ },
50
+ "banner": {
51
+ "description": "Imagen",
52
+ "anyOf": [
53
+ {
54
+ "type": "string",
55
+ "format": "uri"
56
+ },
57
+ {
58
+ "type": "string",
59
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
60
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
61
+ }
62
+ ]
63
+ },
64
+ "cover": {
65
+ "description": "Cubierta",
66
+ "anyOf": [
67
+ {
68
+ "type": "string",
69
+ "format": "uri"
70
+ },
71
+ {
72
+ "type": "string",
73
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
74
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
75
+ }
76
+ ]
77
+ },
78
+ "projects": {
79
+ "description": "Proyectos asociados.",
80
+ "type": "array",
81
+ "items": {
82
+ "type": "string",
83
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
84
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
85
+ }
86
+ },
87
+ "topics": {
88
+ "type": "array",
89
+ "items": {
90
+ "description": "Temas: Wikilink o texto libre",
91
+ "anyOf": [
92
+ {
93
+ "type": "string",
94
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
95
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
96
+ },
97
+ {
98
+ "type": "string"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ "status": {
104
+ "default": "Pendiente",
105
+ "anyOf": [
106
+ {
107
+ "type": "string",
108
+ "const": "Pendiente"
109
+ },
110
+ {
111
+ "type": "string",
112
+ "const": "En Proceso"
113
+ },
114
+ {
115
+ "type": "string",
116
+ "const": "Visto"
117
+ }
118
+ ],
119
+ "description": "Estado de visualización de la película"
120
+ },
121
+ "rating": {
122
+ "description": "Valoración personal de la fuente.",
123
+ "anyOf": [
124
+ {
125
+ "type": "number",
126
+ "const": 7,
127
+ "description": "Perfecto, hay que probarlo, te cambia la vida, haz un esfuerzo por buscarlo."
128
+ },
129
+ {
130
+ "type": "number",
131
+ "const": 6,
132
+ "description": "Excelente, vale la pena repetirlo"
133
+ },
134
+ {
135
+ "type": "number",
136
+ "const": 5,
137
+ "description": "Bueno, no hagas un esfuerzo especial, pero es agradable."
138
+ },
139
+ {
140
+ "type": "number",
141
+ "const": 4,
142
+ "description": "Aceptable, sirve en caso de apuro."
143
+ },
144
+ {
145
+ "type": "number",
146
+ "const": 3,
147
+ "description": "Malo, no lo hagas si puedes evitarlo."
148
+ },
149
+ {
150
+ "type": "number",
151
+ "const": 2,
152
+ "description": "Atroz, evítalo activamente, repulsivo"
153
+ },
154
+ {
155
+ "type": "number",
156
+ "const": 1,
157
+ "description": "Malvado, te cambia la vida para mal."
158
+ }
159
+ ]
160
+ },
161
+ "aliases": {
162
+ "description": "Alias de la nota.",
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string"
166
+ }
167
+ },
168
+ "format": {
169
+ "default": "[[Vídeos]]",
170
+ "type": "string",
171
+ "const": "[[Vídeos]]",
172
+ "description": "Vídeos"
173
+ },
174
+ "url": {
175
+ "description": "URL de la fuente.",
176
+ "type": "string",
177
+ "format": "uri"
178
+ },
179
+ "author": {
180
+ "description": "Autores de la fuente.",
181
+ "type": "array",
182
+ "items": {
183
+ "type": "string"
184
+ }
185
+ },
186
+ "published": {
187
+ "description": "Fecha de publicación de la fuente.",
188
+ "anyOf": [
189
+ {
190
+ "type": "string",
191
+ "pattern": "^[0-9]{4}$",
192
+ "description": "Año: YYYY"
193
+ },
194
+ {
195
+ "type": "string",
196
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
197
+ "description": "Mes: YYYY-MM"
198
+ },
199
+ {
200
+ "type": "string",
201
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
202
+ "description": "Fecha: YYYY-MM-DD"
203
+ }
204
+ ]
205
+ },
206
+ "title": {
207
+ "type": "string",
208
+ "description": "Título de la película"
209
+ },
210
+ "platform": {
211
+ "anyOf": [
212
+ {
213
+ "type": "string",
214
+ "const": "YouTube"
215
+ },
216
+ {
217
+ "type": "string",
218
+ "const": "Vimeo"
219
+ }
220
+ ],
221
+ "description": "Plataforma de visualización del vídeo"
222
+ }
223
+ },
224
+ "required": [
225
+ "topics",
226
+ "title",
227
+ "platform"
228
+ ],
229
+ "description": "Vídeo"
230
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "default": "[[Fuentes]]",
7
+ "type": "string",
8
+ "const": "[[Fuentes]]",
9
+ "description": "Bibliografías, recursos validados sobre los que acumular información."
10
+ },
11
+ "areas": {
12
+ "default": [
13
+ "[[Conocimiento]]"
14
+ ],
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string",
18
+ "enum": [
19
+ "[[Alimentación]]",
20
+ "[[Salud]]",
21
+ "[[Conocimiento]]",
22
+ "[[Pensamiento Estructurado]]",
23
+ "[[Hogar]]",
24
+ "[[Productividad]]",
25
+ "[[Exploración]]",
26
+ "[[Vínculos]]",
27
+ "[[Ejercicio]]",
28
+ "[[Energía Vital]]",
29
+ "[[Trabajo]]",
30
+ "[[Finanzas]]",
31
+ "[[Salud Mental]]",
32
+ "[[Creatividad]]"
33
+ ],
34
+ "description": "Área"
35
+ },
36
+ "description": "Áreas"
37
+ },
38
+ "color": {
39
+ "default": "#3171B2",
40
+ "description": "Color de la nota.",
41
+ "type": "string",
42
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
43
+ },
44
+ "icon": {
45
+ "default": "video",
46
+ "description": "Icono de Lucide.",
47
+ "type": "string",
48
+ "pattern": "^[a-z-]+$"
49
+ },
50
+ "banner": {
51
+ "description": "Imagen",
52
+ "anyOf": [
53
+ {
54
+ "type": "string",
55
+ "format": "uri"
56
+ },
57
+ {
58
+ "type": "string",
59
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
60
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
61
+ }
62
+ ]
63
+ },
64
+ "cover": {
65
+ "description": "Cubierta",
66
+ "anyOf": [
67
+ {
68
+ "type": "string",
69
+ "format": "uri"
70
+ },
71
+ {
72
+ "type": "string",
73
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
74
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
75
+ }
76
+ ]
77
+ },
78
+ "projects": {
79
+ "description": "Proyectos asociados.",
80
+ "type": "array",
81
+ "items": {
82
+ "type": "string",
83
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
84
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
85
+ }
86
+ },
87
+ "topics": {
88
+ "type": "array",
89
+ "items": {
90
+ "description": "Temas: Wikilink o texto libre",
91
+ "anyOf": [
92
+ {
93
+ "type": "string",
94
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
95
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
96
+ },
97
+ {
98
+ "type": "string"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ "status": {
104
+ "default": "Pendiente",
105
+ "anyOf": [
106
+ {
107
+ "type": "string",
108
+ "const": "Pendiente"
109
+ },
110
+ {
111
+ "type": "string",
112
+ "const": "En Proceso"
113
+ },
114
+ {
115
+ "type": "string",
116
+ "const": "Visto"
117
+ }
118
+ ],
119
+ "description": "Estado de visualización de la película"
120
+ },
121
+ "rating": {
122
+ "description": "Valoración personal de la fuente.",
123
+ "anyOf": [
124
+ {
125
+ "type": "number",
126
+ "const": 7,
127
+ "description": "Perfecto, hay que probarlo, te cambia la vida, haz un esfuerzo por buscarlo."
128
+ },
129
+ {
130
+ "type": "number",
131
+ "const": 6,
132
+ "description": "Excelente, vale la pena repetirlo"
133
+ },
134
+ {
135
+ "type": "number",
136
+ "const": 5,
137
+ "description": "Bueno, no hagas un esfuerzo especial, pero es agradable."
138
+ },
139
+ {
140
+ "type": "number",
141
+ "const": 4,
142
+ "description": "Aceptable, sirve en caso de apuro."
143
+ },
144
+ {
145
+ "type": "number",
146
+ "const": 3,
147
+ "description": "Malo, no lo hagas si puedes evitarlo."
148
+ },
149
+ {
150
+ "type": "number",
151
+ "const": 2,
152
+ "description": "Atroz, evítalo activamente, repulsivo"
153
+ },
154
+ {
155
+ "type": "number",
156
+ "const": 1,
157
+ "description": "Malvado, te cambia la vida para mal."
158
+ }
159
+ ]
160
+ },
161
+ "aliases": {
162
+ "description": "Alias de la nota.",
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string"
166
+ }
167
+ },
168
+ "format": {
169
+ "default": "[[Vídeos]]",
170
+ "type": "string",
171
+ "const": "[[Vídeos]]",
172
+ "description": "Vídeos"
173
+ },
174
+ "url": {
175
+ "description": "URL de la fuente.",
176
+ "type": "string",
177
+ "format": "uri"
178
+ },
179
+ "author": {
180
+ "description": "Autores de la fuente.",
181
+ "type": "array",
182
+ "items": {
183
+ "type": "string"
184
+ }
185
+ },
186
+ "published": {
187
+ "description": "Fecha de publicación de la fuente.",
188
+ "anyOf": [
189
+ {
190
+ "type": "string",
191
+ "pattern": "^[0-9]{4}$",
192
+ "description": "Año: YYYY"
193
+ },
194
+ {
195
+ "type": "string",
196
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
197
+ "description": "Mes: YYYY-MM"
198
+ },
199
+ {
200
+ "type": "string",
201
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
202
+ "description": "Fecha: YYYY-MM-DD"
203
+ }
204
+ ]
205
+ },
206
+ "title": {
207
+ "type": "string",
208
+ "description": "Título de la película"
209
+ },
210
+ "platform": {
211
+ "type": "string",
212
+ "const": "Vimeo"
213
+ }
214
+ },
215
+ "required": [
216
+ "topics",
217
+ "title",
218
+ "platform"
219
+ ],
220
+ "description": "Vídeo de Vimeo"
221
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "default": "[[Fuentes]]",
7
+ "type": "string",
8
+ "const": "[[Fuentes]]",
9
+ "description": "Bibliografías, recursos validados sobre los que acumular información."
10
+ },
11
+ "areas": {
12
+ "default": [
13
+ "[[Conocimiento]]"
14
+ ],
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string",
18
+ "enum": [
19
+ "[[Alimentación]]",
20
+ "[[Salud]]",
21
+ "[[Conocimiento]]",
22
+ "[[Pensamiento Estructurado]]",
23
+ "[[Hogar]]",
24
+ "[[Productividad]]",
25
+ "[[Exploración]]",
26
+ "[[Vínculos]]",
27
+ "[[Ejercicio]]",
28
+ "[[Energía Vital]]",
29
+ "[[Trabajo]]",
30
+ "[[Finanzas]]",
31
+ "[[Salud Mental]]",
32
+ "[[Creatividad]]"
33
+ ],
34
+ "description": "Área"
35
+ },
36
+ "description": "Áreas"
37
+ },
38
+ "color": {
39
+ "default": "#3171B2",
40
+ "description": "Color de la nota.",
41
+ "type": "string",
42
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
43
+ },
44
+ "icon": {
45
+ "default": "youtube",
46
+ "description": "Icono de Lucide.",
47
+ "type": "string",
48
+ "pattern": "^[a-z-]+$"
49
+ },
50
+ "banner": {
51
+ "description": "Imagen",
52
+ "anyOf": [
53
+ {
54
+ "type": "string",
55
+ "format": "uri"
56
+ },
57
+ {
58
+ "type": "string",
59
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
60
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
61
+ }
62
+ ]
63
+ },
64
+ "cover": {
65
+ "description": "Cubierta",
66
+ "anyOf": [
67
+ {
68
+ "type": "string",
69
+ "format": "uri"
70
+ },
71
+ {
72
+ "type": "string",
73
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
74
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
75
+ }
76
+ ]
77
+ },
78
+ "projects": {
79
+ "description": "Proyectos asociados.",
80
+ "type": "array",
81
+ "items": {
82
+ "type": "string",
83
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
84
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
85
+ }
86
+ },
87
+ "topics": {
88
+ "type": "array",
89
+ "items": {
90
+ "description": "Temas: Wikilink o texto libre",
91
+ "anyOf": [
92
+ {
93
+ "type": "string",
94
+ "pattern": "\\[\\[([^\\]|]+)(?:\\|([^\\]]+))?\\]\\]",
95
+ "description": "Wikilink: [[Wikilink]] o [[Wikilink|Display Text]]"
96
+ },
97
+ {
98
+ "type": "string"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ "status": {
104
+ "default": "Pendiente",
105
+ "anyOf": [
106
+ {
107
+ "type": "string",
108
+ "const": "Pendiente"
109
+ },
110
+ {
111
+ "type": "string",
112
+ "const": "En Proceso"
113
+ },
114
+ {
115
+ "type": "string",
116
+ "const": "Visto"
117
+ }
118
+ ],
119
+ "description": "Estado de visualización de la película"
120
+ },
121
+ "rating": {
122
+ "description": "Valoración personal de la fuente.",
123
+ "anyOf": [
124
+ {
125
+ "type": "number",
126
+ "const": 7,
127
+ "description": "Perfecto, hay que probarlo, te cambia la vida, haz un esfuerzo por buscarlo."
128
+ },
129
+ {
130
+ "type": "number",
131
+ "const": 6,
132
+ "description": "Excelente, vale la pena repetirlo"
133
+ },
134
+ {
135
+ "type": "number",
136
+ "const": 5,
137
+ "description": "Bueno, no hagas un esfuerzo especial, pero es agradable."
138
+ },
139
+ {
140
+ "type": "number",
141
+ "const": 4,
142
+ "description": "Aceptable, sirve en caso de apuro."
143
+ },
144
+ {
145
+ "type": "number",
146
+ "const": 3,
147
+ "description": "Malo, no lo hagas si puedes evitarlo."
148
+ },
149
+ {
150
+ "type": "number",
151
+ "const": 2,
152
+ "description": "Atroz, evítalo activamente, repulsivo"
153
+ },
154
+ {
155
+ "type": "number",
156
+ "const": 1,
157
+ "description": "Malvado, te cambia la vida para mal."
158
+ }
159
+ ]
160
+ },
161
+ "aliases": {
162
+ "description": "Alias de la nota.",
163
+ "type": "array",
164
+ "items": {
165
+ "type": "string"
166
+ }
167
+ },
168
+ "format": {
169
+ "default": "[[Vídeos]]",
170
+ "type": "string",
171
+ "const": "[[Vídeos]]",
172
+ "description": "Vídeos"
173
+ },
174
+ "url": {
175
+ "description": "URL de la fuente.",
176
+ "type": "string",
177
+ "format": "uri"
178
+ },
179
+ "author": {
180
+ "description": "Autores de la fuente.",
181
+ "type": "array",
182
+ "items": {
183
+ "type": "string"
184
+ }
185
+ },
186
+ "published": {
187
+ "description": "Fecha de publicación de la fuente.",
188
+ "anyOf": [
189
+ {
190
+ "type": "string",
191
+ "pattern": "^[0-9]{4}$",
192
+ "description": "Año: YYYY"
193
+ },
194
+ {
195
+ "type": "string",
196
+ "pattern": "^[0-9]{4}-[0-9]{2}$",
197
+ "description": "Mes: YYYY-MM"
198
+ },
199
+ {
200
+ "type": "string",
201
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
202
+ "description": "Fecha: YYYY-MM-DD"
203
+ }
204
+ ]
205
+ },
206
+ "title": {
207
+ "type": "string",
208
+ "description": "Título de la película"
209
+ },
210
+ "platform": {
211
+ "type": "string",
212
+ "const": "YouTube"
213
+ }
214
+ },
215
+ "required": [
216
+ "topics",
217
+ "title",
218
+ "platform"
219
+ ],
220
+ "description": "Vídeo de YouTube"
221
+ }