blob: c33dc6caf43d56cfdf3ea839327f43351cba3642 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001{
Austin Schuh272c6132020-11-14 16:37:52 -08002 "$schema": "https://json-schema.org/draft/2019-09/schema",
Austin Schuhe89fa2d2019-08-14 20:24:23 -07003 "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" : {
Austin Schuh272c6132020-11-14 16:37:52 -080012 "type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
Austin Schuhe89fa2d2019-08-14 20:24:23 -070013 "minItems": 2,
14 "maxItems": 2
15 },
16 "b" : {
17 "$ref" : "#/definitions/MyGame_Example_TestEnum"
18 },
19 "c" : {
Austin Schuh58b9b472020-11-25 19:12:44 -080020 "type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_TestEnum"},
Austin Schuhe89fa2d2019-08-14 20:24:23 -070021 "minItems": 2,
22 "maxItems": 2
Austin Schuh272c6132020-11-14 16:37:52 -080023 },
24 "d" : {
25 "type" : "array", "items" : {"type" : "integer", "minimum" : -9223372036854775808, "maximum" : 9223372036854775807},
26 "minItems": 2,
27 "maxItems": 2
Austin Schuhe89fa2d2019-08-14 20:24:23 -070028 }
29 },
30 "additionalProperties" : false
31 },
32 "MyGame_Example_ArrayStruct" : {
33 "type" : "object",
34 "properties" : {
35 "a" : {
36 "type" : "number"
37 },
38 "b" : {
Austin Schuh272c6132020-11-14 16:37:52 -080039 "type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
Austin Schuhe89fa2d2019-08-14 20:24:23 -070040 "minItems": 15,
41 "maxItems": 15
42 },
43 "c" : {
James Kuszmaul8e62b022022-03-22 09:33:25 -070044 "type" : "integer", "minimum" : -128, "maximum" : 127
Austin Schuhe89fa2d2019-08-14 20:24:23 -070045 },
46 "d" : {
Austin Schuh58b9b472020-11-25 19:12:44 -080047 "type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_NestedStruct"},
Austin Schuh272c6132020-11-14 16:37:52 -080048 "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},
Austin Schuhe89fa2d2019-08-14 20:24:23 -070056 "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}