@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.
- package/CHANGELOG.md +18 -0
- package/README.md +272 -4
- package/en/Areas.ts +24 -0
- package/en/Article/index.ts +29 -0
- package/en/Article/types.ts +9 -0
- package/en/Book/index.ts +33 -0
- package/en/Book/types.ts +9 -0
- package/en/Clothing/index.ts +9 -9
- package/en/Movie/index.ts +34 -0
- package/en/Movie/types.ts +9 -0
- package/en/Note.ts +13 -0
- package/en/index.ts +4 -1
- package/en/types.ts +7 -0
- package/es/Areas.ts +24 -0
- package/es/Article/index.ts +29 -0
- package/es/Article/types.ts +9 -0
- package/es/Book/index.ts +33 -0
- package/es/Book/types.ts +9 -0
- package/es/Clothing/index.ts +10 -10
- package/es/Movie/index.ts +34 -0
- package/es/Movie/types.ts +9 -0
- package/es/Note.ts +13 -0
- package/es/index.ts +4 -0
- package/es/types.ts +7 -0
- package/json-schemas/ArticleSchema.json +103 -0
- package/json-schemas/BookSchema.json +124 -0
- package/json-schemas/CatalogArticleSchema.json +35 -0
- package/json-schemas/CatalogBookSchema.json +44 -0
- package/json-schemas/CatalogMovieSchema.json +49 -0
- package/json-schemas/DetailedArticleSchema.json +42 -0
- package/json-schemas/DetailedBookSchema.json +49 -0
- package/json-schemas/DetailedMovieSchema.json +48 -0
- package/json-schemas/MetaArticleSchema.json +46 -0
- package/json-schemas/MetaBookSchema.json +51 -0
- package/json-schemas/MetaMovieSchema.json +51 -0
- package/json-schemas/MovieSchema.json +128 -0
- package/json-schemas/NoteSchema.json +745 -0
- package/json-schemas/en/Area.json +21 -0
- package/json-schemas/en/Areas.json +25 -0
- package/json-schemas/en/Article/ArticleSchema.json +103 -0
- package/json-schemas/en/Article/CatalogArticleSchema.json +35 -0
- package/json-schemas/en/Article/DetailedArticleSchema.json +42 -0
- package/json-schemas/en/Article/MetaArticleSchema.json +46 -0
- package/json-schemas/en/Article/index.json +233 -0
- package/json-schemas/en/ArticleSchema.json +103 -0
- package/json-schemas/en/Book/BookSchema.json +124 -0
- package/json-schemas/en/Book/CatalogBookSchema.json +44 -0
- package/json-schemas/en/Book/DetailedBookSchema.json +49 -0
- package/json-schemas/en/Book/MetaBookSchema.json +51 -0
- package/json-schemas/en/Book/index.json +275 -0
- package/json-schemas/en/BookSchema.json +124 -0
- package/json-schemas/en/CatalogArticleSchema.json +35 -0
- package/json-schemas/en/CatalogBookSchema.json +44 -0
- package/json-schemas/en/CatalogMovieSchema.json +49 -0
- package/json-schemas/en/DetailedArticleSchema.json +42 -0
- package/json-schemas/en/DetailedBookSchema.json +49 -0
- package/json-schemas/en/DetailedMovieSchema.json +48 -0
- package/json-schemas/en/FirstLevelArea.json +21 -0
- package/json-schemas/en/MetaArticleSchema.json +46 -0
- package/json-schemas/en/MetaBookSchema.json +51 -0
- package/json-schemas/en/MetaMovieSchema.json +51 -0
- package/json-schemas/en/Movie/CatalogMovieSchema.json +49 -0
- package/json-schemas/en/Movie/DetailedMovieSchema.json +48 -0
- package/json-schemas/en/Movie/MetaMovieSchema.json +51 -0
- package/json-schemas/en/Movie/MovieSchema.json +128 -0
- package/json-schemas/en/Movie/index.json +283 -0
- package/json-schemas/en/MovieSchema.json +128 -0
- package/json-schemas/en/NoteSchema.json +745 -0
- package/json-schemas/en/index.json +1582 -0
- package/json-schemas/es/Area.json +21 -0
- package/json-schemas/es/Areas.json +25 -0
- package/json-schemas/es/Article/ArticleSchema.json +103 -0
- package/json-schemas/es/Article/CatalogArticleSchema.json +35 -0
- package/json-schemas/es/Article/DetailedArticleSchema.json +42 -0
- package/json-schemas/es/Article/MetaArticleSchema.json +46 -0
- package/json-schemas/es/Article/index.json +233 -0
- package/json-schemas/es/ArticleSchema.json +103 -0
- package/json-schemas/es/Book/BookSchema.json +124 -0
- package/json-schemas/es/Book/CatalogBookSchema.json +44 -0
- package/json-schemas/es/Book/DetailedBookSchema.json +49 -0
- package/json-schemas/es/Book/MetaBookSchema.json +51 -0
- package/json-schemas/es/Book/index.json +275 -0
- package/json-schemas/es/BookSchema.json +124 -0
- package/json-schemas/es/CatalogArticleSchema.json +35 -0
- package/json-schemas/es/CatalogBookSchema.json +44 -0
- package/json-schemas/es/CatalogMovieSchema.json +49 -0
- package/json-schemas/es/Clothing/DetailedClothingSchema.json +1 -1
- package/json-schemas/es/Clothing/index.json +1 -1
- package/json-schemas/es/DetailedArticleSchema.json +42 -0
- package/json-schemas/es/DetailedBookSchema.json +49 -0
- package/json-schemas/es/DetailedClothingSchema.json +1 -1
- package/json-schemas/es/DetailedMovieSchema.json +48 -0
- package/json-schemas/es/FirstLevelArea.json +21 -0
- package/json-schemas/es/MetaArticleSchema.json +46 -0
- package/json-schemas/es/MetaBookSchema.json +51 -0
- package/json-schemas/es/MetaMovieSchema.json +51 -0
- package/json-schemas/es/Movie/CatalogMovieSchema.json +49 -0
- package/json-schemas/es/Movie/DetailedMovieSchema.json +48 -0
- package/json-schemas/es/Movie/MetaMovieSchema.json +51 -0
- package/json-schemas/es/Movie/MovieSchema.json +128 -0
- package/json-schemas/es/Movie/index.json +283 -0
- package/json-schemas/es/MovieSchema.json +128 -0
- package/json-schemas/es/NoteSchema.json +746 -0
- package/json-schemas/es/index.json +1584 -1
- package/json-schemas/index.json +1515 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"title": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Title of the book"
|
|
8
|
+
},
|
|
9
|
+
"subtitle": {
|
|
10
|
+
"description": "Subtitle of the book",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"description": "Description of the book",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"author": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"description": "Authors"
|
|
23
|
+
},
|
|
24
|
+
"published": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Year of publication"
|
|
27
|
+
},
|
|
28
|
+
"categories": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"description": "Categories"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"title",
|
|
38
|
+
"author",
|
|
39
|
+
"published",
|
|
40
|
+
"categories"
|
|
41
|
+
],
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"description": "Book: Data obtained from catalogation"
|
|
44
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"title": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Title of the movie"
|
|
8
|
+
},
|
|
9
|
+
"description": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Description of the movie"
|
|
12
|
+
},
|
|
13
|
+
"author": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"description": "Authors. Writers, directors, producers, etc."
|
|
19
|
+
},
|
|
20
|
+
"actors": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"description": "Actors"
|
|
26
|
+
},
|
|
27
|
+
"published": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Year of publication"
|
|
30
|
+
},
|
|
31
|
+
"genres": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "Genres"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"title",
|
|
41
|
+
"description",
|
|
42
|
+
"author",
|
|
43
|
+
"actors",
|
|
44
|
+
"published",
|
|
45
|
+
"genres"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"description": "Movie: Data obtained from catalogation"
|
|
49
|
+
}
|
|
@@ -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
|
+
"Pending",
|
|
9
|
+
"In Progress",
|
|
10
|
+
"Read",
|
|
11
|
+
"Consolidated"
|
|
12
|
+
],
|
|
13
|
+
"description": "Reading status"
|
|
14
|
+
},
|
|
15
|
+
"projects": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Projects"
|
|
21
|
+
},
|
|
22
|
+
"topics": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"description": "Topics"
|
|
28
|
+
},
|
|
29
|
+
"rating": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "Rating of the article"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"status",
|
|
36
|
+
"projects",
|
|
37
|
+
"topics",
|
|
38
|
+
"rating"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"description": "Article: Additional data"
|
|
42
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"status": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"Pending",
|
|
9
|
+
"In Progress",
|
|
10
|
+
"Read",
|
|
11
|
+
"Consolidated"
|
|
12
|
+
],
|
|
13
|
+
"description": "Reading status"
|
|
14
|
+
},
|
|
15
|
+
"topics": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Topics"
|
|
21
|
+
},
|
|
22
|
+
"rating": {
|
|
23
|
+
"type": "number",
|
|
24
|
+
"description": "Rating of the book"
|
|
25
|
+
},
|
|
26
|
+
"online_rating": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"description": "Online rating"
|
|
29
|
+
},
|
|
30
|
+
"last_time_read": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Last time read"
|
|
33
|
+
},
|
|
34
|
+
"times_read": {
|
|
35
|
+
"type": "number",
|
|
36
|
+
"description": "Times read"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"status",
|
|
41
|
+
"topics",
|
|
42
|
+
"rating",
|
|
43
|
+
"online_rating",
|
|
44
|
+
"last_time_read",
|
|
45
|
+
"times_read"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"description": "Book: Additional data"
|
|
49
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"status": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"Pending",
|
|
9
|
+
"In Progress",
|
|
10
|
+
"Completed"
|
|
11
|
+
],
|
|
12
|
+
"description": "Watching status"
|
|
13
|
+
},
|
|
14
|
+
"topics": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"description": "Topics"
|
|
20
|
+
},
|
|
21
|
+
"rating": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "Rating of the movie"
|
|
24
|
+
},
|
|
25
|
+
"online_rating": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "Online rating"
|
|
28
|
+
},
|
|
29
|
+
"last_time_watched": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Last time watched"
|
|
32
|
+
},
|
|
33
|
+
"times_watched": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"description": "Times watched"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"status",
|
|
40
|
+
"topics",
|
|
41
|
+
"rating",
|
|
42
|
+
"online_rating",
|
|
43
|
+
"last_time_watched",
|
|
44
|
+
"times_watched"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "Movie: Additional data"
|
|
48
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "string",
|
|
4
|
+
"enum": [
|
|
5
|
+
"[[Food]]",
|
|
6
|
+
"[[Health]]",
|
|
7
|
+
"[[Knowledge]]",
|
|
8
|
+
"[[Structured Thinking]]",
|
|
9
|
+
"[[Home]]",
|
|
10
|
+
"[[Productivity]]",
|
|
11
|
+
"[[Exploration]]",
|
|
12
|
+
"[[Links]]",
|
|
13
|
+
"[[Exercise]]",
|
|
14
|
+
"[[Energy]]",
|
|
15
|
+
"[[Work]]",
|
|
16
|
+
"[[Finances]]",
|
|
17
|
+
"[[Mental Health]]",
|
|
18
|
+
"[[Creativity]]"
|
|
19
|
+
],
|
|
20
|
+
"description": "First level area"
|
|
21
|
+
}
|
|
@@ -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": "[[Sources]]"
|
|
8
|
+
},
|
|
9
|
+
"format": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "[[Articles]]"
|
|
12
|
+
},
|
|
13
|
+
"areas": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "[[Knowledge]]"
|
|
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 of the article"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"type",
|
|
38
|
+
"format",
|
|
39
|
+
"areas",
|
|
40
|
+
"color",
|
|
41
|
+
"icon",
|
|
42
|
+
"url"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"description": "Article: Metadata of Note"
|
|
46
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "[[Sources]]"
|
|
8
|
+
},
|
|
9
|
+
"format": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "[[Books]]"
|
|
12
|
+
},
|
|
13
|
+
"areas": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "[[Knowledge]]"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"color": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "#3171B2"
|
|
23
|
+
},
|
|
24
|
+
"icon": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "book"
|
|
27
|
+
},
|
|
28
|
+
"cover": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"url": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "URL of the book in Amazon or similar"
|
|
34
|
+
},
|
|
35
|
+
"read_url": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "URL of the reading of the book"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"type",
|
|
42
|
+
"format",
|
|
43
|
+
"areas",
|
|
44
|
+
"color",
|
|
45
|
+
"icon",
|
|
46
|
+
"url",
|
|
47
|
+
"read_url"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"description": "Book: Metadata of Note"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "[[Sources]]"
|
|
8
|
+
},
|
|
9
|
+
"format": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "[[Movies]]"
|
|
12
|
+
},
|
|
13
|
+
"areas": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "[[Creativity]]"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"color": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "#BE9207"
|
|
23
|
+
},
|
|
24
|
+
"icon": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "movie"
|
|
27
|
+
},
|
|
28
|
+
"cover": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"url": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "URL of the movie in IMDB or similar"
|
|
34
|
+
},
|
|
35
|
+
"watch_url": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "URL of the movie in streaming"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"type",
|
|
42
|
+
"format",
|
|
43
|
+
"areas",
|
|
44
|
+
"color",
|
|
45
|
+
"icon",
|
|
46
|
+
"url",
|
|
47
|
+
"watch_url"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"description": "Movie: Metadata of Note"
|
|
51
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"title": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Title of the movie"
|
|
8
|
+
},
|
|
9
|
+
"description": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Description of the movie"
|
|
12
|
+
},
|
|
13
|
+
"author": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"description": "Authors. Writers, directors, producers, etc."
|
|
19
|
+
},
|
|
20
|
+
"actors": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"description": "Actors"
|
|
26
|
+
},
|
|
27
|
+
"published": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Year of publication"
|
|
30
|
+
},
|
|
31
|
+
"genres": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "Genres"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"title",
|
|
41
|
+
"description",
|
|
42
|
+
"author",
|
|
43
|
+
"actors",
|
|
44
|
+
"published",
|
|
45
|
+
"genres"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"description": "Movie: Data obtained from catalogation"
|
|
49
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"status": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"Pending",
|
|
9
|
+
"In Progress",
|
|
10
|
+
"Completed"
|
|
11
|
+
],
|
|
12
|
+
"description": "Watching status"
|
|
13
|
+
},
|
|
14
|
+
"topics": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"description": "Topics"
|
|
20
|
+
},
|
|
21
|
+
"rating": {
|
|
22
|
+
"type": "number",
|
|
23
|
+
"description": "Rating of the movie"
|
|
24
|
+
},
|
|
25
|
+
"online_rating": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"description": "Online rating"
|
|
28
|
+
},
|
|
29
|
+
"last_time_watched": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Last time watched"
|
|
32
|
+
},
|
|
33
|
+
"times_watched": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"description": "Times watched"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"status",
|
|
40
|
+
"topics",
|
|
41
|
+
"rating",
|
|
42
|
+
"online_rating",
|
|
43
|
+
"last_time_watched",
|
|
44
|
+
"times_watched"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "Movie: Additional data"
|
|
48
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "[[Sources]]"
|
|
8
|
+
},
|
|
9
|
+
"format": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "[[Movies]]"
|
|
12
|
+
},
|
|
13
|
+
"areas": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "[[Creativity]]"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"color": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"const": "#BE9207"
|
|
23
|
+
},
|
|
24
|
+
"icon": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"const": "movie"
|
|
27
|
+
},
|
|
28
|
+
"cover": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"url": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "URL of the movie in IMDB or similar"
|
|
34
|
+
},
|
|
35
|
+
"watch_url": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "URL of the movie in streaming"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"type",
|
|
42
|
+
"format",
|
|
43
|
+
"areas",
|
|
44
|
+
"color",
|
|
45
|
+
"icon",
|
|
46
|
+
"url",
|
|
47
|
+
"watch_url"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"description": "Movie: Metadata of Note"
|
|
51
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"title": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "Title of the movie"
|
|
8
|
+
},
|
|
9
|
+
"description": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Description of the movie"
|
|
12
|
+
},
|
|
13
|
+
"author": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"description": "Authors. Writers, directors, producers, etc."
|
|
19
|
+
},
|
|
20
|
+
"actors": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"description": "Actors"
|
|
26
|
+
},
|
|
27
|
+
"published": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Year of publication"
|
|
30
|
+
},
|
|
31
|
+
"genres": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"description": "Genres"
|
|
37
|
+
},
|
|
38
|
+
"status": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"Pending",
|
|
42
|
+
"In Progress",
|
|
43
|
+
"Completed"
|
|
44
|
+
],
|
|
45
|
+
"description": "Watching status"
|
|
46
|
+
},
|
|
47
|
+
"topics": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"description": "Topics"
|
|
53
|
+
},
|
|
54
|
+
"rating": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"description": "Rating of the movie"
|
|
57
|
+
},
|
|
58
|
+
"online_rating": {
|
|
59
|
+
"type": "number",
|
|
60
|
+
"description": "Online rating"
|
|
61
|
+
},
|
|
62
|
+
"last_time_watched": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Last time watched"
|
|
65
|
+
},
|
|
66
|
+
"times_watched": {
|
|
67
|
+
"type": "number",
|
|
68
|
+
"description": "Times watched"
|
|
69
|
+
},
|
|
70
|
+
"type": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"const": "[[Sources]]"
|
|
73
|
+
},
|
|
74
|
+
"format": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"const": "[[Movies]]"
|
|
77
|
+
},
|
|
78
|
+
"areas": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"const": "[[Creativity]]"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"color": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"const": "#BE9207"
|
|
88
|
+
},
|
|
89
|
+
"icon": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"const": "movie"
|
|
92
|
+
},
|
|
93
|
+
"cover": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"url": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "URL of the movie in IMDB or similar"
|
|
99
|
+
},
|
|
100
|
+
"watch_url": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "URL of the movie in streaming"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": [
|
|
106
|
+
"title",
|
|
107
|
+
"description",
|
|
108
|
+
"author",
|
|
109
|
+
"actors",
|
|
110
|
+
"published",
|
|
111
|
+
"genres",
|
|
112
|
+
"status",
|
|
113
|
+
"topics",
|
|
114
|
+
"rating",
|
|
115
|
+
"online_rating",
|
|
116
|
+
"last_time_watched",
|
|
117
|
+
"times_watched",
|
|
118
|
+
"type",
|
|
119
|
+
"format",
|
|
120
|
+
"areas",
|
|
121
|
+
"color",
|
|
122
|
+
"icon",
|
|
123
|
+
"url",
|
|
124
|
+
"watch_url"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"description": "Movie"
|
|
128
|
+
}
|