1{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
3 "definitions": {
4 "MyGame_Example_TestEnum" : {
5 "type" : "string",
6 "enum": ["A", "B", "C"]
7 },
8 "MyGame_Example_NestedStruct" : {
9 "type" : "object",
10 "properties" : {
11 "a" : {
12 "type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
13 "minItems": 2,
14 "maxItems": 2
15 },
16 "b" : {
17 "$ref" : "#/definitions/MyGame_Example_TestEnum"
18 },
19 "c" : {
20 "type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_TestEnum"},
21 "minItems": 2,
22 "maxItems": 2
23 },
24 "d" : {
25 "type" : "array", "items" : {"type" : "integer", "minimum" : -9223372036854775808, "maximum" : 9223372036854775807},
26 "minItems": 2,
27 "maxItems": 2
28 }
29 },
30 "additionalProperties" : false
31 },
32 "MyGame_Example_ArrayStruct" : {
33 "type" : "object",
34 "properties" : {
35 "a" : {
36 "type" : "number"
37 },
38 "b" : {
39 "type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
40 "minItems": 15,
41 "maxItems": 15
42 },
43 "c" : {
44 "type" : "integer", "minimum" : -128, "maximum" : 127
45 },
46 "d" : {
47 "type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_NestedStruct"},
48 "minItems": 2,
49 "maxItems": 2
50 },
51 "e" : {
52 "type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647
53 },
54 "f" : {
55 "type" : "array", "items" : {"type" : "integer", "minimum" : -9223372036854775808, "maximum" : 9223372036854775807},
56 "minItems": 2,
57 "maxItems": 2
58 }
59 },
60 "additionalProperties" : false
61 },
62 "MyGame_Example_ArrayTable" : {
63 "type" : "object",
64 "properties" : {
65 "a" : {
66 "$ref" : "#/definitions/MyGame_Example_ArrayStruct"
67 }
68 },
69 "additionalProperties" : false
70 }
71 },
72 "$ref" : "#/definitions/MyGame_Example_ArrayTable"
73}
View as plain text