-
Notifications
You must be signed in to change notification settings - Fork 45
/
custom_mappings_schema.json
80 lines (80 loc) · 1.97 KB
/
custom_mappings_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "http://plexanisync.github.com/mapping.json",
"type": "object",
"title": "PlexAniSync Mapping Schema",
"properties": {
"remote-urls": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"entries": {
"type": "array",
"default": [],
"items": {
"type": "object",
"required": [
"title",
"seasons"
],
"properties": {
"title": {
"type": "string",
"examples": [
"The Rising of the Shield Hero",
"Re:ZERO -Starting Life in Another World-",
"Code Geass: Lelouch of the Rebellion",
"Gintama",
"Shaman King (2021)"
]
},
"synonyms": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"guid": {
"type": "string",
"format": "uri",
"pattern": "^plex://(show|movie)/[a-f0-9]{24}$",
"examples": [
"plex://show/5d9c0845ffd9ef001e990bb2"
]
},
"seasons": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"season",
"anilist-id"
],
"properties": {
"season": {
"type": "integer",
"minimum": 1
},
"anilist-id": {
"type": "integer",
"minimum": 1
},
"start": {
"type": "integer"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}