@shakerquiz/contracts 0.0.173 → 0.0.175

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/contracts",
4
- "version": "0.0.173",
4
+ "version": "0.0.175",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "lineup": {
12
+ "type": "string",
13
+ "enum": [
14
+ "Main",
15
+ "Reserve"
16
+ ]
17
+ }
18
+ },
19
+ "required": [
20
+ "id",
21
+ "lineup"
22
+ ],
23
+ "additionalProperties": false
24
+ },
25
+ "minItems": 1
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "lineup": {
12
+ "type": "string",
13
+ "enum": [
14
+ "Main",
15
+ "Reserve"
16
+ ]
17
+ }
18
+ },
19
+ "required": [
20
+ "id",
21
+ "lineup"
22
+ ],
23
+ "additionalProperties": false
24
+ },
25
+ "minItems": 1
26
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "status": {
12
+ "type": "string",
13
+ "enum": [
14
+ "Created",
15
+ "Confirmed",
16
+ "Cancelled"
17
+ ]
18
+ }
19
+ },
20
+ "required": [
21
+ "id",
22
+ "status"
23
+ ],
24
+ "additionalProperties": false
25
+ },
26
+ "minItems": 1
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "status": {
12
+ "type": "string",
13
+ "enum": [
14
+ "Created",
15
+ "Confirmed",
16
+ "Cancelled"
17
+ ]
18
+ }
19
+ },
20
+ "required": [
21
+ "id",
22
+ "status"
23
+ ],
24
+ "additionalProperties": false
25
+ },
26
+ "minItems": 1
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "status": {
12
+ "type": "string",
13
+ "enum": [
14
+ "Created",
15
+ "Confirmed",
16
+ "Cancelled"
17
+ ]
18
+ }
19
+ },
20
+ "required": [
21
+ "id",
22
+ "status"
23
+ ],
24
+ "additionalProperties": false
25
+ },
26
+ "minItems": 1
27
+ }
@@ -2,6 +2,13 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "city": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ },
10
+ "uniqueItems": true
11
+ },
5
12
  "venue": {
6
13
  "type": "array",
7
14
  "items": {
@@ -31,6 +38,20 @@
31
38
  ]
32
39
  },
33
40
  "uniqueItems": true
41
+ },
42
+ "game": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "uniqueItems": true
48
+ },
49
+ "registration": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ },
54
+ "uniqueItems": true
34
55
  }
35
56
  },
36
57
  "required": [],
@@ -2,6 +2,13 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "city": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ },
10
+ "uniqueItems": true
11
+ },
5
12
  "venue": {
6
13
  "type": "array",
7
14
  "items": {
@@ -31,6 +38,20 @@
31
38
  ]
32
39
  },
33
40
  "uniqueItems": true
41
+ },
42
+ "game": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "uniqueItems": true
48
+ },
49
+ "registration": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ },
54
+ "uniqueItems": true
34
55
  }
35
56
  },
36
57
  "required": [],
@@ -0,0 +1,59 @@
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
+ "venue": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string",
16
+ "format": "uuid"
17
+ },
18
+ "uniqueItems": true
19
+ },
20
+ "venue/status": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string",
24
+ "enum": [
25
+ "Active",
26
+ "Archive"
27
+ ]
28
+ },
29
+ "uniqueItems": true
30
+ },
31
+ "venue/audience": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "enum": [
36
+ "Open",
37
+ "Adults"
38
+ ]
39
+ },
40
+ "uniqueItems": true
41
+ },
42
+ "game": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "uniqueItems": true
48
+ },
49
+ "registration": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ },
54
+ "uniqueItems": true
55
+ }
56
+ },
57
+ "required": [],
58
+ "additionalProperties": false
59
+ }
@@ -0,0 +1,59 @@
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
+ "venue": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string",
16
+ "format": "uuid"
17
+ },
18
+ "uniqueItems": true
19
+ },
20
+ "venue/status": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string",
24
+ "enum": [
25
+ "Active",
26
+ "Archive"
27
+ ]
28
+ },
29
+ "uniqueItems": true
30
+ },
31
+ "venue/audience": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "enum": [
36
+ "Open",
37
+ "Adults"
38
+ ]
39
+ },
40
+ "uniqueItems": true
41
+ },
42
+ "game": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string"
46
+ },
47
+ "uniqueItems": true
48
+ },
49
+ "registration": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ },
54
+ "uniqueItems": true
55
+ }
56
+ },
57
+ "required": [],
58
+ "additionalProperties": false
59
+ }