@shakerquiz/contracts 0.0.182 → 0.0.183
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/package.json +1 -2
- package/source/contracts/PATCH/game/{admin.json → Admin.json} +9 -9
- package/source/contracts/PATCH/game/{organizer.json → Organizer.json} +9 -9
- package/source/contracts/PATCH/game/Service.json +9 -9
- package/source/contracts/PATCH/games/{admin.json → Admin.json} +9 -9
- package/source/contracts/PATCH/games/{organizer.json → Organizer.json} +9 -9
- package/source/contracts/PATCH/games/Service.json +9 -9
- package/source/contracts/PATCH/registration/channel/{admin.json → Admin.json} +11 -11
- package/source/contracts/PATCH/registration/channel/{organizer.json → Organizer.json} +11 -11
- package/source/contracts/PATCH/registration/channel/Service.json +11 -11
- package/source/contracts/PATCH/registration/channel/Unknown.json +11 -11
- package/source/contracts/POST/games/{search/admin.json → city/search/Admin.json} +9 -9
- package/source/contracts/POST/games/{search/organizer.json → city/search/Organizer.json} +9 -9
- package/source/contracts/POST/games/{city/search/admin.json → search/Admin.json} +9 -9
- package/source/contracts/POST/games/{city/search/organizer.json → search/Organizer.json} +9 -9
- package/source/contracts/POST/games/summary/search/Admin.json +33 -0
- package/source/contracts/POST/games/summary/search/Organizer.json +33 -0
- package/source/contracts/POST/games/theme/search/Admin.json +33 -0
- package/source/contracts/POST/games/theme/search/Organizer.json +33 -0
- package/source/contracts/POST/games/venue/search/Admin.json +33 -0
- package/source/contracts/POST/games/venue/search/Organizer.json +33 -0
- package/source/contracts/POST/registration/Unknown.json +11 -11
- package/source/index.js +464 -464
- package/source/contracts/POST/games/summary/search/admin.json +0 -33
- package/source/contracts/POST/games/summary/search/organizer.json +0 -33
- package/source/contracts/POST/games/theme/search/admin.json +0 -33
- package/source/contracts/POST/games/theme/search/organizer.json +0 -33
- package/source/contracts/POST/games/venue/search/admin.json +0 -33
- package/source/contracts/POST/games/venue/search/organizer.json +0 -33
- /package/source/contracts/PATCH/city/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/city/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/city/country/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/city/country/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/city/currency/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/city/currency/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/city/timezone/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/city/timezone/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/city/vk_group_token/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/city/vk_group_token/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/registration/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/registration/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/registration/lineup/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/registration/lineup/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/registration/status/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/registration/status/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/registrations/lineup/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/registrations/lineup/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/registrations/status/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/registrations/status/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/theme/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/themes/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/user/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/user/password/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/user/role/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/venue/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/venue/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PATCH/venues/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PATCH/venues/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/chatapp/registration/mailing/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/chatapp/registration/mailing/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/checkin/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/checkin/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/cities/country/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/cities/country/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/cities/currency/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/cities/currency/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/cities/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/cities/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/cities/timezone/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/cities/timezone/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/cities/venues/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/cities/venues/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/city/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/city/vk_group_token/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/game/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/game/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registration/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registration/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registration/mailing/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registration/mailing/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/cancellation/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/cancellation/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/city/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/city/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/confirmation/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/confirmation/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/cover/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/cover/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/game/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/game/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/lineup/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/lineup/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/promotion/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/promotion/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/reservation/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/reservation/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/status/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/status/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/theme/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/theme/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/registrations/venue/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/registrations/venue/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/roles/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/theme/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/theme/cover/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/themes/cover/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/themes/cover/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/themes/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/themes/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/user/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/user/city/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/user/password/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/user/role/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/users/cities/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/users/password/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/users/role/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/users/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/venue/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/venue/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/venues/city/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/venues/city/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/venues/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/venues/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/POST/venues/status/search/{admin.json → Admin.json} +0 -0
- /package/source/contracts/POST/venues/status/search/{organizer.json → Organizer.json} +0 -0
- /package/source/contracts/PUT/theme/cover/{admin.json → Admin.json} +0 -0
- /package/source/contracts/PUT/theme/cover/{organizer.json → Organizer.json} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/contracts",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.183",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": "./source/index.js",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@shakerquiz/utilities": "4.0.78",
|
|
20
19
|
"@types/bun": "1.3.7"
|
|
21
20
|
}
|
|
22
21
|
}
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"status": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"enum": [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
24
|
+
"Approve",
|
|
25
|
+
"Archive",
|
|
26
|
+
"Close",
|
|
27
|
+
"Finish",
|
|
28
|
+
"Invite",
|
|
29
|
+
"Reserve",
|
|
30
|
+
"Moderate",
|
|
31
|
+
"Publish",
|
|
32
|
+
"Reject"
|
|
33
33
|
]
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"status": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"enum": [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
24
|
+
"Approve",
|
|
25
|
+
"Archive",
|
|
26
|
+
"Close",
|
|
27
|
+
"Finish",
|
|
28
|
+
"Invite",
|
|
29
|
+
"Reserve",
|
|
30
|
+
"Moderate",
|
|
31
|
+
"Publish",
|
|
32
|
+
"Reject"
|
|
33
33
|
]
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"status": {
|
|
22
22
|
"type": "string",
|
|
23
23
|
"enum": [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
24
|
+
"Approve",
|
|
25
|
+
"Archive",
|
|
26
|
+
"Close",
|
|
27
|
+
"Finish",
|
|
28
|
+
"Invite",
|
|
29
|
+
"Reserve",
|
|
30
|
+
"Moderate",
|
|
31
|
+
"Publish",
|
|
32
|
+
"Reject"
|
|
33
33
|
]
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"status": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"enum": [
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
14
|
+
"Approve",
|
|
15
|
+
"Archive",
|
|
16
|
+
"Close",
|
|
17
|
+
"Finish",
|
|
18
|
+
"Invite",
|
|
19
|
+
"Reserve",
|
|
20
|
+
"Moderate",
|
|
21
|
+
"Publish",
|
|
22
|
+
"Reject"
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"status": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"enum": [
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
14
|
+
"Approve",
|
|
15
|
+
"Archive",
|
|
16
|
+
"Close",
|
|
17
|
+
"Finish",
|
|
18
|
+
"Invite",
|
|
19
|
+
"Reserve",
|
|
20
|
+
"Moderate",
|
|
21
|
+
"Publish",
|
|
22
|
+
"Reject"
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"status": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"enum": [
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
14
|
+
"Approve",
|
|
15
|
+
"Archive",
|
|
16
|
+
"Close",
|
|
17
|
+
"Finish",
|
|
18
|
+
"Invite",
|
|
19
|
+
"Reserve",
|
|
20
|
+
"Moderate",
|
|
21
|
+
"Publish",
|
|
22
|
+
"Reject"
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"channel": {
|
|
6
6
|
"type": "string",
|
|
7
7
|
"enum": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Vkontakte",
|
|
9
|
+
"Telegram",
|
|
10
|
+
"Email"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"confirmed_channel": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"enum": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"Vkontakte",
|
|
17
|
+
"Telegram",
|
|
18
|
+
"Email"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"email": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"vkontakte": {
|
|
25
25
|
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"telegram": {
|
|
28
28
|
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{
|
|
37
37
|
"if": {
|
|
38
38
|
"properties": {
|
|
39
|
-
"channel": { "const": "
|
|
39
|
+
"channel": { "const": "Vkontakte" }
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"then": {
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
{
|
|
47
47
|
"if": {
|
|
48
48
|
"properties": {
|
|
49
|
-
"channel": { "const": "
|
|
49
|
+
"channel": { "const": "Telegram" }
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"then": {
|
|
53
|
-
"required": ["
|
|
53
|
+
"required": ["telegram", "confirmed_channel"]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"if": {
|
|
58
58
|
"properties": {
|
|
59
|
-
"channel": { "const": "
|
|
59
|
+
"channel": { "const": "Email" }
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"then": {
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"channel": {
|
|
6
6
|
"type": "string",
|
|
7
7
|
"enum": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Vkontakte",
|
|
9
|
+
"Telegram",
|
|
10
|
+
"Email"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"confirmed_channel": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"enum": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"Vkontakte",
|
|
17
|
+
"Telegram",
|
|
18
|
+
"Email"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"email": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"vkontakte": {
|
|
25
25
|
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"telegram": {
|
|
28
28
|
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{
|
|
37
37
|
"if": {
|
|
38
38
|
"properties": {
|
|
39
|
-
"channel": { "const": "
|
|
39
|
+
"channel": { "const": "Vkontakte" }
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"then": {
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
{
|
|
47
47
|
"if": {
|
|
48
48
|
"properties": {
|
|
49
|
-
"channel": { "const": "
|
|
49
|
+
"channel": { "const": "Telegram" }
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"then": {
|
|
53
|
-
"required": ["
|
|
53
|
+
"required": ["telegram", "confirmed_channel"]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"if": {
|
|
58
58
|
"properties": {
|
|
59
|
-
"channel": { "const": "
|
|
59
|
+
"channel": { "const": "Email" }
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"then": {
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"channel": {
|
|
6
6
|
"type": "string",
|
|
7
7
|
"enum": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Vkontakte",
|
|
9
|
+
"Telegram",
|
|
10
|
+
"Email"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"confirmed_channel": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"enum": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"Vkontakte",
|
|
17
|
+
"Telegram",
|
|
18
|
+
"Email"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"email": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"vkontakte": {
|
|
25
25
|
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"telegram": {
|
|
28
28
|
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{
|
|
37
37
|
"if": {
|
|
38
38
|
"properties": {
|
|
39
|
-
"channel": { "const": "
|
|
39
|
+
"channel": { "const": "Vkontakte" }
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"then": {
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
{
|
|
47
47
|
"if": {
|
|
48
48
|
"properties": {
|
|
49
|
-
"channel": { "const": "
|
|
49
|
+
"channel": { "const": "Telegram" }
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"then": {
|
|
53
|
-
"required": ["
|
|
53
|
+
"required": ["telegram", "confirmed_channel"]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"if": {
|
|
58
58
|
"properties": {
|
|
59
|
-
"channel": { "const": "
|
|
59
|
+
"channel": { "const": "Email" }
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"then": {
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"channel": {
|
|
6
6
|
"type": "string",
|
|
7
7
|
"enum": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Vkontakte",
|
|
9
|
+
"Telegram",
|
|
10
|
+
"Email"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"confirmed_channel": {
|
|
14
14
|
"type": "string",
|
|
15
15
|
"enum": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
16
|
+
"Vkontakte",
|
|
17
|
+
"Telegram",
|
|
18
|
+
"Email"
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"email": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"vkontakte": {
|
|
25
25
|
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"telegram": {
|
|
28
28
|
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{
|
|
37
37
|
"if": {
|
|
38
38
|
"properties": {
|
|
39
|
-
"channel": { "const": "
|
|
39
|
+
"channel": { "const": "Vkontakte" }
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"then": {
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
{
|
|
47
47
|
"if": {
|
|
48
48
|
"properties": {
|
|
49
|
-
"channel": { "const": "
|
|
49
|
+
"channel": { "const": "Telegram" }
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"then": {
|
|
53
|
-
"required": ["
|
|
53
|
+
"required": ["telegram", "confirmed_channel"]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"if": {
|
|
58
58
|
"properties": {
|
|
59
|
-
"channel": { "const": "
|
|
59
|
+
"channel": { "const": "Email" }
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"then": {
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"items": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"enum": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"uniqueItems": true
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"items": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"enum": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"uniqueItems": true
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"items": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"enum": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"uniqueItems": true
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"items": {
|
|
15
15
|
"type": "string",
|
|
16
16
|
"enum": [
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"uniqueItems": true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"uniqueItems": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"uniqueItems": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"uniqueItems": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"game": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game/status": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"Approve",
|
|
18
|
+
"Archive",
|
|
19
|
+
"Close",
|
|
20
|
+
"Finish",
|
|
21
|
+
"Invite",
|
|
22
|
+
"Reserve",
|
|
23
|
+
"Moderate",
|
|
24
|
+
"Publish",
|
|
25
|
+
"Reject"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"uniqueItems": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|