@segha/catalog 2.2.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 (245) hide show
  1. package/CHANGELOG.md +187 -0
  2. package/es/Article/index.ts +17 -26
  3. package/es/Article/types.ts +1 -4
  4. package/es/Book/index.ts +21 -28
  5. package/es/Book/types.ts +1 -4
  6. package/es/Clothing/Cares.ts +1 -5
  7. package/es/Clothing/Colors.ts +2 -2
  8. package/es/Clothing/Fit.ts +1 -1
  9. package/es/Clothing/Formality.ts +12 -6
  10. package/es/Clothing/Layer.ts +7 -3
  11. package/es/Clothing/Materials.ts +1 -5
  12. package/es/Clothing/Measurements.ts +1 -3
  13. package/es/Clothing/Season.ts +10 -5
  14. package/es/Clothing/Status.ts +12 -6
  15. package/es/Clothing/UseCases.ts +1 -5
  16. package/es/Clothing/Variants.ts +2 -5
  17. package/es/Clothing/index.ts +30 -35
  18. package/es/Clothing/types.ts +1 -3
  19. package/es/Core/Area.ts +66 -0
  20. package/es/Core/Common.ts +43 -0
  21. package/es/Core/Format.ts +28 -0
  22. package/es/Core/Rating.ts +33 -0
  23. package/es/Core/Resource.ts +18 -0
  24. package/es/Core/Source.ts +37 -0
  25. package/es/Core/Subtype.ts +8 -0
  26. package/es/Core/Type.ts +36 -0
  27. package/es/Core/index.ts +9 -0
  28. package/es/DataTypes/Color.ts +22 -0
  29. package/es/DataTypes/Date.ts +45 -0
  30. package/es/DataTypes/Icon.ts +7 -0
  31. package/es/DataTypes/Image.ts +9 -0
  32. package/es/DataTypes/Language.ts +11 -0
  33. package/es/DataTypes/Status.ts +8 -0
  34. package/es/DataTypes/Wikilink.ts +16 -0
  35. package/es/DataTypes/index.ts +7 -0
  36. package/es/EncyclopediaEntry/index.ts +30 -0
  37. package/es/EncyclopediaEntry/types.ts +8 -0
  38. package/es/Movie/MovieExternalId.ts +7 -0
  39. package/es/Movie/index.ts +22 -27
  40. package/es/Movie/types.ts +1 -4
  41. package/es/Note.ts +4 -4
  42. package/es/Painting/index.ts +16 -23
  43. package/es/Painting/types.ts +1 -4
  44. package/es/Video/index.ts +35 -0
  45. package/es/Video/types.ts +9 -0
  46. package/es/index.ts +2 -2
  47. package/es/types.ts +2 -2
  48. package/json-schemas/common/Palette.json +14 -0
  49. package/json-schemas/common/Scheme.json +11 -0
  50. package/json-schemas/common/index.json +32 -0
  51. package/json-schemas/es/Article/ArticleSchema.json +184 -78
  52. package/json-schemas/es/Article/index.json +143 -193
  53. package/json-schemas/es/ArticleSchema.json +184 -78
  54. package/json-schemas/es/Book/BookSchema.json +227 -84
  55. package/json-schemas/es/Book/index.json +197 -213
  56. package/json-schemas/es/BookSchema.json +227 -84
  57. package/json-schemas/es/Clothing/AllYear.json +6 -0
  58. package/json-schemas/es/Clothing/Autumn.json +6 -0
  59. package/json-schemas/es/Clothing/Base.json +6 -0
  60. package/json-schemas/es/Clothing/BlackTie.json +6 -0
  61. package/json-schemas/es/Clothing/Care.json +2 -1
  62. package/json-schemas/es/Clothing/Casual.json +6 -0
  63. package/json-schemas/es/Clothing/ClothingSchema.json +195 -81
  64. package/json-schemas/es/Clothing/Damaged.json +6 -0
  65. package/json-schemas/es/Clothing/Exterior.json +6 -0
  66. package/json-schemas/es/Clothing/Fit.json +2 -2
  67. package/json-schemas/es/Clothing/Formal.json +6 -0
  68. package/json-schemas/es/Clothing/Formality.json +2 -2
  69. package/json-schemas/es/Clothing/Good.json +6 -0
  70. package/json-schemas/es/Clothing/Intermediate.json +6 -0
  71. package/json-schemas/es/Clothing/Material.json +2 -1
  72. package/json-schemas/es/Clothing/Measurements.json +2 -2
  73. package/json-schemas/es/Clothing/New.json +6 -0
  74. package/json-schemas/es/Clothing/Pattern.json +2 -2
  75. package/json-schemas/es/Clothing/Retire.json +6 -0
  76. package/json-schemas/es/Clothing/Season.json +2 -2
  77. package/json-schemas/es/Clothing/SecondaryColor.json +2 -2
  78. package/json-schemas/es/Clothing/SmartCasual.json +6 -0
  79. package/json-schemas/es/Clothing/Status.json +2 -3
  80. package/json-schemas/es/Clothing/Summer.json +6 -0
  81. package/json-schemas/es/Clothing/UseCase.json +2 -1
  82. package/json-schemas/es/Clothing/Variant.json +2 -1
  83. package/json-schemas/es/Clothing/VeryCasual.json +6 -0
  84. package/json-schemas/es/Clothing/Winter.json +6 -0
  85. package/json-schemas/es/Clothing/Worn.json +6 -0
  86. package/json-schemas/es/Clothing/index.json +367 -685
  87. package/json-schemas/es/ClothingSchema.json +195 -81
  88. package/json-schemas/es/Core/Articles.json +6 -0
  89. package/json-schemas/es/Core/Atrocious.json +6 -0
  90. package/json-schemas/es/Core/Bad.json +6 -0
  91. package/json-schemas/es/Core/Books.json +6 -0
  92. package/json-schemas/es/Core/Capabilities.json +6 -0
  93. package/json-schemas/es/Core/Chronicles.json +6 -0
  94. package/json-schemas/es/Core/Clothes.json +6 -0
  95. package/json-schemas/es/Core/CommonSchema.json +165 -0
  96. package/json-schemas/es/Core/Creativity.json +6 -0
  97. package/json-schemas/es/Core/EncyclopediaEntries.json +6 -0
  98. package/json-schemas/es/Core/Energy.json +6 -0
  99. package/json-schemas/es/Core/Entities.json +6 -0
  100. package/json-schemas/es/Core/Evil.json +6 -0
  101. package/json-schemas/es/Core/Excellent.json +6 -0
  102. package/json-schemas/es/Core/Exercise.json +6 -0
  103. package/json-schemas/es/Core/Exploration.json +6 -0
  104. package/json-schemas/es/Core/Extracts.json +6 -0
  105. package/json-schemas/es/Core/Finances.json +6 -0
  106. package/json-schemas/es/Core/Food.json +6 -0
  107. package/json-schemas/es/Core/Format.json +13 -0
  108. package/json-schemas/es/Core/Good.json +6 -0
  109. package/json-schemas/es/Core/Health.json +6 -0
  110. package/json-schemas/es/Core/Home.json +6 -0
  111. package/json-schemas/es/Core/Knowledge.json +6 -0
  112. package/json-schemas/es/Core/Links.json +6 -0
  113. package/json-schemas/es/Core/MentalHealth.json +6 -0
  114. package/json-schemas/es/Core/Movies.json +6 -0
  115. package/json-schemas/es/Core/Paintings.json +6 -0
  116. package/json-schemas/es/Core/Passable.json +6 -0
  117. package/json-schemas/es/Core/Perfect.json +6 -0
  118. package/json-schemas/es/Core/Productivity.json +6 -0
  119. package/json-schemas/es/Core/Publications.json +6 -0
  120. package/json-schemas/es/Core/Rating.json +41 -0
  121. package/json-schemas/es/Core/ResourceSchema.json +171 -0
  122. package/json-schemas/es/Core/Resources.json +6 -0
  123. package/json-schemas/es/Core/ResourcesSubtype.json +11 -0
  124. package/json-schemas/es/Core/Scenarios.json +6 -0
  125. package/json-schemas/es/Core/SourceSchema.json +209 -0
  126. package/json-schemas/es/Core/Sources.json +6 -0
  127. package/json-schemas/es/Core/SourcesFormat.json +16 -0
  128. package/json-schemas/es/Core/StructuredThinking.json +6 -0
  129. package/json-schemas/es/Core/Subtype.json +8 -0
  130. package/json-schemas/es/Core/Type.json +15 -0
  131. package/json-schemas/es/Core/Videos.json +6 -0
  132. package/json-schemas/es/Core/Work.json +6 -0
  133. package/json-schemas/es/Core/index.json +939 -0
  134. package/json-schemas/es/DataTypes/Blue.json +6 -0
  135. package/json-schemas/es/DataTypes/Color.json +6 -0
  136. package/json-schemas/es/DataTypes/Consolidated.json +5 -0
  137. package/json-schemas/es/DataTypes/Date.json +21 -0
  138. package/json-schemas/es/DataTypes/DateTime.json +6 -0
  139. package/json-schemas/es/DataTypes/DateTimeOffset.json +6 -0
  140. package/json-schemas/es/DataTypes/Embedding.json +6 -0
  141. package/json-schemas/es/DataTypes/FullDate.json +6 -0
  142. package/json-schemas/es/DataTypes/Hex.json +6 -0
  143. package/json-schemas/es/DataTypes/Icon.json +6 -0
  144. package/json-schemas/es/DataTypes/Image.json +15 -0
  145. package/json-schemas/es/DataTypes/InProgress.json +5 -0
  146. package/json-schemas/es/DataTypes/Language.json +6 -0
  147. package/json-schemas/es/DataTypes/LanguageTag.json +6 -0
  148. package/json-schemas/es/DataTypes/Month.json +6 -0
  149. package/json-schemas/es/DataTypes/Orange.json +6 -0
  150. package/json-schemas/es/DataTypes/OrdinalDate.json +6 -0
  151. package/json-schemas/es/DataTypes/Pending.json +5 -0
  152. package/json-schemas/es/DataTypes/Read.json +5 -0
  153. package/json-schemas/es/DataTypes/Seen.json +5 -0
  154. package/json-schemas/es/DataTypes/Time.json +6 -0
  155. package/json-schemas/es/DataTypes/Watched.json +5 -0
  156. package/json-schemas/es/DataTypes/Week.json +6 -0
  157. package/json-schemas/es/DataTypes/WeekWithWeekDay.json +6 -0
  158. package/json-schemas/es/DataTypes/Wikilink.json +6 -0
  159. package/json-schemas/es/DataTypes/WikilinkOrEmbedding.json +6 -0
  160. package/json-schemas/es/DataTypes/Year.json +6 -0
  161. package/json-schemas/es/DataTypes/Yellow.json +6 -0
  162. package/json-schemas/es/DataTypes/index.json +193 -0
  163. package/json-schemas/es/EncyclopediaEntry/EncyclopediaEntrySchema.json +252 -0
  164. package/json-schemas/es/EncyclopediaEntry/WikipediaEntrySchema.json +257 -0
  165. package/json-schemas/es/EncyclopediaEntry/index.json +516 -0
  166. package/json-schemas/es/EncyclopediaEntrySchema.json +252 -0
  167. package/json-schemas/es/Movie/MovieExternalId.json +5 -0
  168. package/json-schemas/es/Movie/MovieSchema.json +224 -93
  169. package/json-schemas/es/Movie/index.json +193 -225
  170. package/json-schemas/es/MovieSchema.json +224 -93
  171. package/json-schemas/es/NoteSchema.json +1323 -506
  172. package/json-schemas/es/Painting/PaintingSchema.json +182 -56
  173. package/json-schemas/es/Painting/index.json +160 -154
  174. package/json-schemas/es/PaintingSchema.json +182 -56
  175. package/json-schemas/es/Video/VideoSchema.json +230 -0
  176. package/json-schemas/es/Video/VimeoSchema.json +221 -0
  177. package/json-schemas/es/Video/YoutubeSchema.json +221 -0
  178. package/json-schemas/es/Video/index.json +679 -0
  179. package/json-schemas/es/VideoSchema.json +230 -0
  180. package/json-schemas/es/VimeoSchema.json +221 -0
  181. package/json-schemas/es/WikipediaEntrySchema.json +257 -0
  182. package/json-schemas/es/YoutubeSchema.json +158 -79
  183. package/json-schemas/es/index.json +3138 -3896
  184. package/package.json +8 -2
  185. package/es/Areas.ts +0 -24
  186. package/es/Icon.ts +0 -1673
  187. package/es/Wikipedia/index.ts +0 -18
  188. package/es/Wikipedia/types.ts +0 -10
  189. package/es/Youtube/index.ts +0 -19
  190. package/es/Youtube/types.ts +0 -10
  191. package/json-schemas/es/Article/CatalogArticleSchema.json +0 -47
  192. package/json-schemas/es/Article/DetailedArticleSchema.json +0 -38
  193. package/json-schemas/es/Article/MetaArticleSchema.json +0 -71
  194. package/json-schemas/es/Book/CatalogBookSchema.json +0 -48
  195. package/json-schemas/es/Book/DetailedBookSchema.json +0 -43
  196. package/json-schemas/es/Book/MetaBookSchema.json +0 -68
  197. package/json-schemas/es/CatalogArticleSchema.json +0 -47
  198. package/json-schemas/es/CatalogBookSchema.json +0 -48
  199. package/json-schemas/es/CatalogClothingSchema.json +0 -292
  200. package/json-schemas/es/CatalogMovieSchema.json +0 -50
  201. package/json-schemas/es/CatalogPaintingSchema.json +0 -26
  202. package/json-schemas/es/CatalogWikipediaSchema.json +0 -47
  203. package/json-schemas/es/CatalogYoutubeSchema.json +0 -47
  204. package/json-schemas/es/Clothing/Cares.json +0 -17
  205. package/json-schemas/es/Clothing/CatalogClothingSchema.json +0 -292
  206. package/json-schemas/es/Clothing/DetailedClothingSchema.json +0 -73
  207. package/json-schemas/es/Clothing/Materials.json +0 -32
  208. package/json-schemas/es/Clothing/MetaClothingSchema.json +0 -60
  209. package/json-schemas/es/Clothing/UseCases.json +0 -22
  210. package/json-schemas/es/Clothing/Variants.json +0 -41
  211. package/json-schemas/es/DetailedArticleSchema.json +0 -38
  212. package/json-schemas/es/DetailedBookSchema.json +0 -43
  213. package/json-schemas/es/DetailedClothingSchema.json +0 -73
  214. package/json-schemas/es/DetailedMovieSchema.json +0 -49
  215. package/json-schemas/es/DetailedPaintingSchema.json +0 -33
  216. package/json-schemas/es/DetailedWikipediaSchema.json +0 -38
  217. package/json-schemas/es/DetailedYoutubeSchema.json +0 -37
  218. package/json-schemas/es/Icon.json +0 -1675
  219. package/json-schemas/es/MetaArticleSchema.json +0 -71
  220. package/json-schemas/es/MetaBookSchema.json +0 -68
  221. package/json-schemas/es/MetaClothingSchema.json +0 -60
  222. package/json-schemas/es/MetaMovieSchema.json +0 -69
  223. package/json-schemas/es/MetaPaintingSchema.json +0 -61
  224. package/json-schemas/es/MetaWikipediaSchema.json +0 -76
  225. package/json-schemas/es/MetaYoutubeSchema.json +0 -76
  226. package/json-schemas/es/Movie/CatalogMovieSchema.json +0 -50
  227. package/json-schemas/es/Movie/DetailedMovieSchema.json +0 -49
  228. package/json-schemas/es/Movie/MetaMovieSchema.json +0 -69
  229. package/json-schemas/es/Painting/CatalogPaintingSchema.json +0 -26
  230. package/json-schemas/es/Painting/DetailedPaintingSchema.json +0 -33
  231. package/json-schemas/es/Painting/MetaPaintingSchema.json +0 -61
  232. package/json-schemas/es/Wikipedia/CatalogWikipediaSchema.json +0 -47
  233. package/json-schemas/es/Wikipedia/DetailedWikipediaSchema.json +0 -38
  234. package/json-schemas/es/Wikipedia/MetaWikipediaSchema.json +0 -76
  235. package/json-schemas/es/Wikipedia/WikipediaSchema.json +0 -143
  236. package/json-schemas/es/Wikipedia/index.json +0 -311
  237. package/json-schemas/es/WikipediaSchema.json +0 -143
  238. package/json-schemas/es/Youtube/CatalogYoutubeSchema.json +0 -47
  239. package/json-schemas/es/Youtube/DetailedYoutubeSchema.json +0 -37
  240. package/json-schemas/es/Youtube/MetaYoutubeSchema.json +0 -76
  241. package/json-schemas/es/Youtube/YoutubeSchema.json +0 -142
  242. package/json-schemas/es/Youtube/index.json +0 -309
  243. /package/json-schemas/es/{Area.json → Core/Area.json} +0 -0
  244. /package/json-schemas/es/{Areas.json → Core/Areas.json} +0 -0
  245. /package/json-schemas/es/{FirstLevelArea.json → Core/FirstLevelArea.json} +0 -0
@@ -1,18 +0,0 @@
1
-
2
- import z from "zod";
3
- import { MetaArticleSchema, CatalogArticleSchema, DetailedArticleSchema } from "../Article";
4
-
5
- export const MetaWikipediaSchema = MetaArticleSchema.extend({
6
- icon: z.string().optional().default('wikipedia').describe('Icono de Lucide.'),
7
- format: z.literal("[[Entradas de Enciclopedia]]"),
8
- platform: z.literal("Wikipedia"),
9
- }).describe('Entrada de Wikipedia: Metadatos de Nota');
10
-
11
- export const CatalogWikipediaSchema = CatalogArticleSchema.extend({
12
- title: z.string().describe('Título de la entrada de Wikipedia'),
13
- }).describe('Entrada de Wikipedia: Datos obtenibles de catalogación');
14
-
15
- export const DetailedWikipediaSchema = DetailedArticleSchema.extend({
16
- }).describe('Entrada de Wikipedia: Datos adicionales');
17
-
18
- export const WikipediaSchema = CatalogWikipediaSchema.extend(DetailedWikipediaSchema.shape).extend(MetaWikipediaSchema.shape).describe('Entrada de Wikipedia');
@@ -1,10 +0,0 @@
1
-
2
-
3
- import type { z } from 'zod';
4
-
5
- import type { WikipediaSchema, CatalogWikipediaSchema, DetailedWikipediaSchema, MetaWikipediaSchema } from ".";
6
-
7
- export type Wikipedia = z.infer<typeof WikipediaSchema>;
8
- export type CatalogWikipedia = z.infer<typeof CatalogWikipediaSchema>;
9
- export type DetailedWikipedia = z.infer<typeof DetailedWikipediaSchema>;
10
- export type MetaWikipedia = z.infer<typeof MetaWikipediaSchema>;
@@ -1,19 +0,0 @@
1
-
2
- import z from "zod";
3
- import { MetaArticleSchema, CatalogArticleSchema, DetailedArticleSchema } from "../Article";
4
-
5
- export const MetaYoutubeSchema = MetaArticleSchema.extend({
6
- icon: z.string().optional().default('youtube').describe('Icono de Lucide.'),
7
- format: z.literal("[[Vídeos]]"),
8
- platform: z.literal("YouTube"),
9
- }).describe('Vídeo de YouTube: Metadatos de Nota');
10
-
11
- export const CatalogYoutubeSchema = CatalogArticleSchema.extend({
12
- title: z.string().describe('Título del vídeo de YouTube'),
13
- }).describe('Vídeo de YouTube: Datos obtenibles de catalogación');
14
-
15
- export const DetailedYoutubeSchema = DetailedArticleSchema.extend({
16
- status: z.enum(["Pendiente", "En progreso", "Visto"]).describe('Estado de visualización'),
17
- }).describe('Vídeo de YouTube: Datos adicionales');
18
-
19
- export const YoutubeSchema = CatalogYoutubeSchema.extend(DetailedYoutubeSchema.shape).extend(MetaYoutubeSchema.shape).describe('Vídeo de YouTube');
@@ -1,10 +0,0 @@
1
-
2
-
3
- import type { z } from 'zod';
4
-
5
- import type { YoutubeSchema, CatalogYoutubeSchema, DetailedYoutubeSchema, MetaYoutubeSchema } from ".";
6
-
7
- export type Youtube = z.infer<typeof YoutubeSchema>;
8
- export type CatalogYoutube = z.infer<typeof CatalogYoutubeSchema>;
9
- export type DetailedYoutube = z.infer<typeof DetailedYoutubeSchema>;
10
- export type MetaYoutube = z.infer<typeof MetaYoutubeSchema>;
@@ -1,47 +0,0 @@
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
- "anyOf": [
12
- {
13
- "type": "string"
14
- },
15
- {
16
- "type": "null"
17
- }
18
- ]
19
- },
20
- "excerpt": {
21
- "description": "Extracto del artículo",
22
- "type": "string"
23
- },
24
- "author": {
25
- "description": "Autores",
26
- "type": "array",
27
- "items": {
28
- "type": "string"
29
- }
30
- },
31
- "published": {
32
- "description": "Año de publicación",
33
- "anyOf": [
34
- {
35
- "type": "string"
36
- },
37
- {
38
- "type": "number"
39
- }
40
- ]
41
- }
42
- },
43
- "required": [
44
- "title"
45
- ],
46
- "description": "Artículo: Datos obtenibles de catalogación"
47
- }
@@ -1,38 +0,0 @@
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
- "description": "Proyectos",
17
- "type": "array",
18
- "items": {
19
- "type": "string"
20
- }
21
- },
22
- "topics": {
23
- "description": "Temas",
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- }
28
- },
29
- "rating": {
30
- "description": "Puntuación del artículo",
31
- "type": "number"
32
- }
33
- },
34
- "required": [
35
- "status"
36
- ],
37
- "description": "Artículo: Datos adicionales"
38
- }
@@ -1,71 +0,0 @@
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
- "default": [
15
- "[[Conocimiento]]"
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": "#3171B2",
42
- "description": "Color de la nota.",
43
- "type": "string"
44
- },
45
- "icon": {
46
- "default": "newspaper",
47
- "description": "Icono de Lucide.",
48
- "type": "string"
49
- },
50
- "banner": {
51
- "description": "Banner de la nota.",
52
- "anyOf": [
53
- {
54
- "type": "string"
55
- },
56
- {
57
- "type": "null"
58
- }
59
- ]
60
- },
61
- "url": {
62
- "description": "URL del artículo",
63
- "type": "string"
64
- }
65
- },
66
- "required": [
67
- "type",
68
- "format"
69
- ],
70
- "description": "Artículo: Metadatos de Nota"
71
- }
@@ -1,48 +0,0 @@
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 libro"
8
- },
9
- "subtitle": {
10
- "description": "Subtítulo del libro",
11
- "type": "string"
12
- },
13
- "description": {
14
- "description": "Descripción del libro",
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
- "anyOf": [
27
- {
28
- "type": "string"
29
- },
30
- {
31
- "type": "number"
32
- }
33
- ]
34
- },
35
- "categories": {
36
- "description": "Géneros",
37
- "type": "array",
38
- "items": {
39
- "type": "string"
40
- }
41
- }
42
- },
43
- "required": [
44
- "title",
45
- "author"
46
- ],
47
- "description": "Libro: Datos obtenibles de catalogación"
48
- }
@@ -1,43 +0,0 @@
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
- "topics": {
16
- "description": "Temas",
17
- "type": "array",
18
- "items": {
19
- "type": "string"
20
- }
21
- },
22
- "rating": {
23
- "description": "Puntuación del libro",
24
- "type": "number"
25
- },
26
- "online_rating": {
27
- "description": "Puntuación en línea",
28
- "type": "number"
29
- },
30
- "last_time_read": {
31
- "description": "Última vez leído",
32
- "type": "string"
33
- },
34
- "times_read": {
35
- "description": "Veces leído",
36
- "type": "number"
37
- }
38
- },
39
- "required": [
40
- "status"
41
- ],
42
- "description": "Libro: Datos adicionales"
43
- }
@@ -1,68 +0,0 @@
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": "[[Libros]]"
12
- },
13
- "areas": {
14
- "default": [
15
- "[[Conocimiento]]"
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": "#3171B2",
42
- "description": "Color de la nota.",
43
- "type": "string"
44
- },
45
- "icon": {
46
- "default": "book",
47
- "description": "Icono de Lucide.",
48
- "type": "string"
49
- },
50
- "cover": {
51
- "description": "Portada del libro.",
52
- "type": "string"
53
- },
54
- "url": {
55
- "description": "URL del libro en Amazon o similar",
56
- "type": "string"
57
- },
58
- "read_url": {
59
- "description": "URL de la lectura del libro",
60
- "type": "string"
61
- }
62
- },
63
- "required": [
64
- "type",
65
- "format"
66
- ],
67
- "description": "Libro: Metadatos de Nota"
68
- }
@@ -1,47 +0,0 @@
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
- "anyOf": [
12
- {
13
- "type": "string"
14
- },
15
- {
16
- "type": "null"
17
- }
18
- ]
19
- },
20
- "excerpt": {
21
- "description": "Extracto del artículo",
22
- "type": "string"
23
- },
24
- "author": {
25
- "description": "Autores",
26
- "type": "array",
27
- "items": {
28
- "type": "string"
29
- }
30
- },
31
- "published": {
32
- "description": "Año de publicación",
33
- "anyOf": [
34
- {
35
- "type": "string"
36
- },
37
- {
38
- "type": "number"
39
- }
40
- ]
41
- }
42
- },
43
- "required": [
44
- "title"
45
- ],
46
- "description": "Artículo: Datos obtenibles de catalogación"
47
- }
@@ -1,48 +0,0 @@
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 libro"
8
- },
9
- "subtitle": {
10
- "description": "Subtítulo del libro",
11
- "type": "string"
12
- },
13
- "description": {
14
- "description": "Descripción del libro",
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
- "anyOf": [
27
- {
28
- "type": "string"
29
- },
30
- {
31
- "type": "number"
32
- }
33
- ]
34
- },
35
- "categories": {
36
- "description": "Géneros",
37
- "type": "array",
38
- "items": {
39
- "type": "string"
40
- }
41
- }
42
- },
43
- "required": [
44
- "title",
45
- "author"
46
- ],
47
- "description": "Libro: Datos obtenibles de catalogación"
48
- }