@shakerquiz/contracts 0.0.166 → 0.0.168
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 -1
- package/source/contracts/PATCH/city/admin.json +33 -695
- package/source/contracts/PATCH/city/country/admin.json +4 -267
- package/source/contracts/PATCH/city/country/organizer.json +13 -0
- package/source/contracts/PATCH/city/currency/admin.json +1 -162
- package/source/contracts/PATCH/city/currency/organizer.json +11 -0
- package/source/contracts/PATCH/city/organizer.json +140 -0
- package/source/contracts/PATCH/city/timezone/admin.json +1 -490
- package/source/contracts/PATCH/city/timezone/organizer.json +11 -0
- package/source/contracts/PATCH/city/vk_group_token/organizer.json +11 -0
- package/source/contracts/PATCH/registration/Unknown.json +10 -3
- package/source/contracts/PATCH/registration/admin.json +3 -9
- package/source/contracts/PATCH/registration/organizer.json +3 -9
- package/source/contracts/PATCH/venue/admin.json +17 -17
- package/source/contracts/PATCH/venue/organizer.json +17 -17
- package/source/contracts/POST/games/cover/search/Unknown.json +25 -0
- package/source/contracts/POST/games/search/Unknown.json +25 -0
- package/source/contracts/POST/games/theme/search/Unknown.json +25 -0
- package/source/contracts/POST/games/venue/search/Unknown.json +25 -0
- package/source/contracts/POST/registration/admin.json +3 -3
- package/source/contracts/POST/registrations/cancellation/search/Service.json +67 -0
- package/source/contracts/POST/registrations/cancellation/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/cancellation/search/admin.json +67 -0
- package/source/contracts/POST/registrations/cancellation/search/organizer.json +67 -0
- package/source/contracts/POST/registrations/channel/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/city/search/Service.json +67 -0
- package/source/contracts/POST/registrations/city/search/Unknown.json +67 -0
- package/source/contracts/POST/registrations/city/search/admin.json +7 -0
- package/source/contracts/POST/registrations/city/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/confirmation/search/Service.json +67 -0
- package/source/contracts/POST/registrations/confirmation/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/confirmation/search/admin.json +67 -0
- package/source/contracts/POST/registrations/confirmation/search/organizer.json +67 -0
- package/source/contracts/POST/registrations/cover/search/Service.json +67 -0
- package/source/contracts/POST/registrations/cover/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/cover/search/admin.json +67 -0
- package/source/contracts/POST/registrations/cover/search/organizer.json +67 -0
- package/source/contracts/POST/registrations/game/search/Service.json +67 -0
- package/source/contracts/POST/registrations/game/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/game/search/admin.json +7 -0
- package/source/contracts/POST/registrations/game/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/lineup/search/Service.json +67 -0
- package/source/contracts/POST/registrations/lineup/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/lineup/search/admin.json +7 -0
- package/source/contracts/POST/registrations/lineup/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/search/admin.json +8 -1
- package/source/contracts/POST/registrations/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/status/search/Service.json +67 -0
- package/source/contracts/POST/registrations/status/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/status/search/admin.json +7 -0
- package/source/contracts/POST/registrations/status/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/theme/search/Service.json +67 -0
- package/source/contracts/POST/registrations/theme/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/theme/search/admin.json +7 -0
- package/source/contracts/POST/registrations/theme/search/organizer.json +7 -0
- package/source/contracts/POST/registrations/venue/search/Service.json +67 -0
- package/source/contracts/POST/registrations/venue/search/Unknown.json +18 -0
- package/source/contracts/POST/registrations/venue/search/admin.json +7 -0
- package/source/contracts/POST/registrations/venue/search/organizer.json +7 -0
- package/source/contracts/PUT/theme/cover/admin.json +2 -2
- package/source/contracts/PUT/theme/cover/organizer.json +13 -0
- package/source/index.js +147 -11
- package/source/contracts/POST/game/registrations/export/admin.json +0 -18
- package/source/contracts/POST/game/registrations/export/organizer.json +0 -18
|
@@ -11,41 +11,41 @@
|
|
|
11
11
|
"house_number": {
|
|
12
12
|
"type": "string"
|
|
13
13
|
},
|
|
14
|
+
"game_time": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "iso-time"
|
|
17
|
+
},
|
|
18
|
+
"audience": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"Open",
|
|
22
|
+
"Adults"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
14
25
|
"people_capacity": {
|
|
15
26
|
"type": "integer"
|
|
16
27
|
},
|
|
17
28
|
"team_capacity": {
|
|
18
29
|
"type": "integer"
|
|
19
30
|
},
|
|
20
|
-
"game_time": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": "iso-time"
|
|
23
|
-
},
|
|
24
31
|
"location_info": {
|
|
25
32
|
"type": [
|
|
26
33
|
"string",
|
|
27
34
|
"null"
|
|
28
35
|
]
|
|
29
36
|
},
|
|
37
|
+
"href": {
|
|
38
|
+
"type": [
|
|
39
|
+
"string",
|
|
40
|
+
"null"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
30
43
|
"status": {
|
|
31
44
|
"type": "string",
|
|
32
45
|
"enum": [
|
|
33
46
|
"Active",
|
|
34
47
|
"Archive"
|
|
35
48
|
]
|
|
36
|
-
},
|
|
37
|
-
"audience": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"enum": [
|
|
40
|
-
"Open",
|
|
41
|
-
"Adults"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"href": {
|
|
45
|
-
"type": [
|
|
46
|
-
"string",
|
|
47
|
-
"null"
|
|
48
|
-
]
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"required": [],
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"city": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"city",
|
|
22
|
+
"game"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"city": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"city",
|
|
22
|
+
"game"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"city": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"city",
|
|
22
|
+
"game"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"city": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"uniqueItems": true
|
|
11
|
+
},
|
|
12
|
+
"game": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"uniqueItems": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"city",
|
|
22
|
+
"game"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"is_alone": {
|
|
22
22
|
"type": "boolean"
|
|
23
23
|
},
|
|
24
|
-
"
|
|
24
|
+
"is_first": {
|
|
25
25
|
"type": "boolean"
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"is_birthday": {
|
|
28
28
|
"type": "boolean"
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"is_extensible": {
|
|
31
31
|
"type": "boolean"
|
|
32
32
|
},
|
|
33
33
|
"note": {
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"uniqueItems": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"registration"
|
|
16
|
+
],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"uniqueItems": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"registration"
|
|
16
|
+
],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
"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
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"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
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"uniqueItems": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"registration",
|
|
62
|
+
"registration/status",
|
|
63
|
+
"registration/lineup",
|
|
64
|
+
"registration/interval"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"registration": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"uniqueItems": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"registration"
|
|
16
|
+
],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|