@shakerquiz/contracts 0.0.167 → 0.0.169

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 (101) hide show
  1. package/package.json +1 -1
  2. package/source/contracts/PATCH/city/admin.json +33 -695
  3. package/source/contracts/PATCH/city/country/admin.json +4 -267
  4. package/source/contracts/PATCH/city/country/organizer.json +13 -0
  5. package/source/contracts/PATCH/city/currency/admin.json +1 -162
  6. package/source/contracts/PATCH/city/currency/organizer.json +11 -0
  7. package/source/contracts/PATCH/city/organizer.json +140 -0
  8. package/source/contracts/PATCH/city/timezone/admin.json +1 -490
  9. package/source/contracts/PATCH/city/timezone/organizer.json +11 -0
  10. package/source/contracts/PATCH/city/vk_group_token/organizer.json +11 -0
  11. package/source/contracts/PATCH/registration/Unknown.json +10 -3
  12. package/source/contracts/PATCH/registration/admin.json +3 -9
  13. package/source/contracts/PATCH/registration/organizer.json +3 -9
  14. package/source/contracts/PATCH/venue/admin.json +17 -17
  15. package/source/contracts/PATCH/venue/organizer.json +17 -17
  16. package/source/contracts/POST/cities/country/search/Unknown.json +1 -3
  17. package/source/contracts/POST/cities/country/search/admin.json +1 -4
  18. package/source/contracts/POST/cities/country/search/organizer.json +1 -4
  19. package/source/contracts/POST/cities/currency/search/Unknown.json +1 -3
  20. package/source/contracts/POST/cities/currency/search/admin.json +1 -4
  21. package/source/contracts/POST/cities/currency/search/organizer.json +1 -4
  22. package/source/contracts/POST/cities/search/Unknown.json +1 -3
  23. package/source/contracts/POST/cities/search/admin.json +1 -3
  24. package/source/contracts/POST/cities/search/organizer.json +1 -3
  25. package/source/contracts/POST/cities/timezone/search/Unknown.json +1 -3
  26. package/source/contracts/POST/cities/timezone/search/admin.json +1 -4
  27. package/source/contracts/POST/cities/timezone/search/organizer.json +1 -4
  28. package/source/contracts/POST/cities/venues/search/Unknown.json +1 -3
  29. package/source/contracts/POST/cities/venues/search/admin.json +1 -4
  30. package/source/contracts/POST/cities/venues/search/organizer.json +1 -4
  31. package/source/contracts/POST/games/city/search/admin.json +1 -4
  32. package/source/contracts/POST/games/city/search/organizer.json +1 -4
  33. package/source/contracts/POST/games/cover/search/Unknown.json +22 -0
  34. package/source/contracts/POST/games/search/Unknown.json +22 -0
  35. package/source/contracts/POST/games/search/admin.json +1 -4
  36. package/source/contracts/POST/games/search/organizer.json +1 -4
  37. package/source/contracts/POST/games/summary/search/admin.json +1 -4
  38. package/source/contracts/POST/games/summary/search/organizer.json +1 -4
  39. package/source/contracts/POST/games/theme/search/Unknown.json +22 -0
  40. package/source/contracts/POST/games/theme/search/admin.json +1 -4
  41. package/source/contracts/POST/games/theme/search/organizer.json +1 -4
  42. package/source/contracts/POST/games/venue/search/Unknown.json +22 -0
  43. package/source/contracts/POST/games/venue/search/admin.json +1 -4
  44. package/source/contracts/POST/games/venue/search/organizer.json +1 -4
  45. package/source/contracts/POST/registration/admin.json +3 -3
  46. package/source/contracts/POST/registrations/cancellation/search/Service.json +1 -6
  47. package/source/contracts/POST/registrations/cancellation/search/Unknown.json +2 -53
  48. package/source/contracts/POST/registrations/cancellation/search/admin.json +1 -6
  49. package/source/contracts/POST/registrations/cancellation/search/organizer.json +1 -6
  50. package/source/contracts/POST/registrations/channel/search/Unknown.json +16 -0
  51. package/source/contracts/POST/registrations/city/search/Service.json +1 -6
  52. package/source/contracts/POST/registrations/city/search/Unknown.json +1 -6
  53. package/source/contracts/POST/registrations/city/search/admin.json +1 -6
  54. package/source/contracts/POST/registrations/city/search/organizer.json +1 -6
  55. package/source/contracts/POST/registrations/confirmation/search/Service.json +1 -6
  56. package/source/contracts/POST/registrations/confirmation/search/Unknown.json +2 -53
  57. package/source/contracts/POST/registrations/confirmation/search/admin.json +1 -6
  58. package/source/contracts/POST/registrations/confirmation/search/organizer.json +1 -6
  59. package/source/contracts/POST/registrations/cover/search/Service.json +1 -6
  60. package/source/contracts/POST/registrations/cover/search/Unknown.json +2 -53
  61. package/source/contracts/POST/registrations/cover/search/admin.json +1 -6
  62. package/source/contracts/POST/registrations/cover/search/organizer.json +1 -6
  63. package/source/contracts/POST/registrations/game/search/Service.json +1 -6
  64. package/source/contracts/POST/registrations/game/search/Unknown.json +2 -53
  65. package/source/contracts/POST/registrations/game/search/admin.json +1 -6
  66. package/source/contracts/POST/registrations/game/search/organizer.json +1 -6
  67. package/source/contracts/POST/registrations/lineup/search/Service.json +1 -6
  68. package/source/contracts/POST/registrations/lineup/search/Unknown.json +2 -53
  69. package/source/contracts/POST/registrations/lineup/search/admin.json +1 -6
  70. package/source/contracts/POST/registrations/lineup/search/organizer.json +1 -6
  71. package/source/contracts/POST/registrations/search/Unknown.json +16 -0
  72. package/source/contracts/POST/registrations/search/admin.json +2 -7
  73. package/source/contracts/POST/registrations/search/organizer.json +1 -6
  74. package/source/contracts/POST/registrations/status/search/Service.json +1 -6
  75. package/source/contracts/POST/registrations/status/search/Unknown.json +2 -53
  76. package/source/contracts/POST/registrations/status/search/admin.json +1 -6
  77. package/source/contracts/POST/registrations/status/search/organizer.json +1 -6
  78. package/source/contracts/POST/registrations/theme/search/Service.json +1 -6
  79. package/source/contracts/POST/registrations/theme/search/Unknown.json +2 -53
  80. package/source/contracts/POST/registrations/theme/search/admin.json +1 -6
  81. package/source/contracts/POST/registrations/theme/search/organizer.json +1 -6
  82. package/source/contracts/POST/registrations/venue/search/Service.json +1 -6
  83. package/source/contracts/POST/registrations/venue/search/Unknown.json +2 -53
  84. package/source/contracts/POST/registrations/venue/search/admin.json +1 -6
  85. package/source/contracts/POST/registrations/venue/search/organizer.json +1 -6
  86. package/source/contracts/POST/roles/search/admin.json +1 -3
  87. package/source/contracts/POST/themes/cover/search/admin.json +1 -5
  88. package/source/contracts/POST/themes/cover/search/organizer.json +1 -5
  89. package/source/contracts/POST/themes/search/admin.json +1 -4
  90. package/source/contracts/POST/themes/search/organizer.json +1 -4
  91. package/source/contracts/POST/users/cities/search/admin.json +1 -5
  92. package/source/contracts/POST/users/password/search/admin.json +1 -4
  93. package/source/contracts/POST/users/role/search/admin.json +1 -4
  94. package/source/contracts/POST/users/search/admin.json +1 -4
  95. package/source/contracts/POST/venues/city/search/admin.json +1 -6
  96. package/source/contracts/POST/venues/city/search/organizer.json +1 -6
  97. package/source/contracts/POST/venues/search/admin.json +1 -5
  98. package/source/contracts/POST/venues/search/organizer.json +1 -5
  99. package/source/contracts/PUT/theme/cover/admin.json +2 -2
  100. package/source/contracts/PUT/theme/cover/organizer.json +13 -0
  101. package/source/index.js +526 -478
@@ -57,11 +57,6 @@
57
57
  "uniqueItems": true
58
58
  }
59
59
  },
60
- "required": [
61
- "registration",
62
- "registration/status",
63
- "registration/lineup",
64
- "registration/interval"
65
- ],
60
+ "required": [],
66
61
  "additionalProperties": false
67
62
  }
@@ -57,11 +57,6 @@
57
57
  "uniqueItems": true
58
58
  }
59
59
  },
60
- "required": [
61
- "registration",
62
- "registration/status",
63
- "registration/lineup",
64
- "registration/interval"
65
- ],
60
+ "required": [],
66
61
  "additionalProperties": false
67
62
  }
@@ -2,66 +2,15 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "game": {
6
- "type": "array",
7
- "items": {
8
- "type": "string"
9
- },
10
- "uniqueItems": true
11
- },
12
5
  "registration": {
13
- "type": "array",
14
- "items": {
15
- "type": "string"
16
- },
17
- "uniqueItems": true
18
- },
19
- "registration/status": {
20
- "type": "array",
21
- "items": {
22
- "type": "string",
23
- "enum": [
24
- "Created",
25
- "Confirmed",
26
- "Cancelled"
27
- ]
28
- },
29
- "uniqueItems": true
30
- },
31
- "registration/lineup": {
32
- "type": "array",
33
- "items": {
34
- "type": "string",
35
- "enum": [
36
- "Main",
37
- "Reserve"
38
- ]
39
- },
40
- "uniqueItems": true
41
- },
42
- "registration/interval": {
43
6
  "type": "array",
44
7
  "items": {
45
8
  "type": "string",
46
- "enum": [
47
- "1 day",
48
- "3 days",
49
- "1 week",
50
- "1 month",
51
- "3 months",
52
- "6 months",
53
- "1 year",
54
- "all time"
55
- ]
9
+ "format": "uuid"
56
10
  },
57
11
  "uniqueItems": true
58
12
  }
59
13
  },
60
- "required": [
61
- "registration",
62
- "registration/status",
63
- "registration/lineup",
64
- "registration/interval"
65
- ],
14
+ "required": [],
66
15
  "additionalProperties": false
67
16
  }
@@ -57,11 +57,6 @@
57
57
  "uniqueItems": true
58
58
  }
59
59
  },
60
- "required": [
61
- "registration",
62
- "registration/status",
63
- "registration/lineup",
64
- "registration/interval"
65
- ],
60
+ "required": [],
66
61
  "additionalProperties": false
67
62
  }
@@ -57,11 +57,6 @@
57
57
  "uniqueItems": true
58
58
  }
59
59
  },
60
- "required": [
61
- "registration",
62
- "registration/status",
63
- "registration/lineup",
64
- "registration/interval"
65
- ],
60
+ "required": [],
66
61
  "additionalProperties": false
67
62
  }
@@ -11,8 +11,6 @@
11
11
  "uniqueItems": true
12
12
  }
13
13
  },
14
- "required": [
15
- "role"
16
- ],
14
+ "required": [],
17
15
  "additionalProperties": false
18
16
  }
@@ -30,10 +30,6 @@
30
30
  "uniqueItems": true
31
31
  }
32
32
  },
33
- "required": [
34
- "theme",
35
- "theme/status",
36
- "cover"
37
- ],
33
+ "required": [],
38
34
  "additionalProperties": false
39
35
  }
@@ -30,10 +30,6 @@
30
30
  "uniqueItems": true
31
31
  }
32
32
  },
33
- "required": [
34
- "theme",
35
- "theme/status",
36
- "cover"
37
- ],
33
+ "required": [],
38
34
  "additionalProperties": false
39
35
  }
@@ -22,9 +22,6 @@
22
22
  "uniqueItems": true
23
23
  }
24
24
  },
25
- "required": [
26
- "theme",
27
- "theme/status"
28
- ],
25
+ "required": [],
29
26
  "additionalProperties": false
30
27
  }
@@ -22,9 +22,6 @@
22
22
  "uniqueItems": true
23
23
  }
24
24
  },
25
- "required": [
26
- "theme",
27
- "theme/status"
28
- ],
25
+ "required": [],
29
26
  "additionalProperties": false
30
27
  }
@@ -26,10 +26,6 @@
26
26
  "uniqueItems": true
27
27
  }
28
28
  },
29
- "required": [
30
- "user",
31
- "role",
32
- "city"
33
- ],
29
+ "required": [],
34
30
  "additionalProperties": false
35
31
  }
@@ -19,9 +19,6 @@
19
19
  "uniqueItems": true
20
20
  }
21
21
  },
22
- "required": [
23
- "user",
24
- "role"
25
- ],
22
+ "required": [],
26
23
  "additionalProperties": false
27
24
  }
@@ -19,9 +19,6 @@
19
19
  "uniqueItems": true
20
20
  }
21
21
  },
22
- "required": [
23
- "user",
24
- "role"
25
- ],
22
+ "required": [],
26
23
  "additionalProperties": false
27
24
  }
@@ -19,9 +19,6 @@
19
19
  "uniqueItems": true
20
20
  }
21
21
  },
22
- "required": [
23
- "user",
24
- "role"
25
- ],
22
+ "required": [],
26
23
  "additionalProperties": false
27
24
  }
@@ -40,11 +40,6 @@
40
40
  "uniqueItems": true
41
41
  }
42
42
  },
43
- "required": [
44
- "city",
45
- "venue",
46
- "venue/status",
47
- "venue/audience"
48
- ],
43
+ "required": [],
49
44
  "additionalProperties": false
50
45
  }
@@ -40,11 +40,6 @@
40
40
  "uniqueItems": true
41
41
  }
42
42
  },
43
- "required": [
44
- "city",
45
- "venue",
46
- "venue/status",
47
- "venue/audience"
48
- ],
43
+ "required": [],
49
44
  "additionalProperties": false
50
45
  }
@@ -33,10 +33,6 @@
33
33
  "uniqueItems": true
34
34
  }
35
35
  },
36
- "required": [
37
- "venue",
38
- "venue/status",
39
- "venue/audience"
40
- ],
36
+ "required": [],
41
37
  "additionalProperties": false
42
38
  }
@@ -33,10 +33,6 @@
33
33
  "uniqueItems": true
34
34
  }
35
35
  },
36
- "required": [
37
- "venue",
38
- "venue/status",
39
- "venue/audience"
40
- ],
36
+ "required": [],
41
37
  "additionalProperties": false
42
38
  }
@@ -2,12 +2,12 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "file": {
5
+ "cover": {
6
6
  "type": "string"
7
7
  }
8
8
  },
9
9
  "required": [
10
- "file"
10
+ "cover"
11
11
  ],
12
12
  "additionalProperties": false
13
13
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "cover": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": [
10
+ "cover"
11
+ ],
12
+ "additionalProperties": false
13
+ }