2019-06-17 22:15:13 +00:00
|
|
|
{
|
2020-07-16 20:49:42 +00:00
|
|
|
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
2019-06-17 22:15:13 +00:00
|
|
|
"definitions": {
|
|
|
|
"MyGame_Example_TestEnum" : {
|
|
|
|
"type" : "string",
|
|
|
|
"enum": ["A", "B", "C"]
|
|
|
|
},
|
|
|
|
"MyGame_Example_NestedStruct" : {
|
|
|
|
"type" : "object",
|
|
|
|
"properties" : {
|
|
|
|
"a" : {
|
2020-10-16 17:43:09 +00:00
|
|
|
"type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
|
2019-06-17 22:15:13 +00:00
|
|
|
"minItems": 2,
|
|
|
|
"maxItems": 2
|
|
|
|
},
|
|
|
|
"b" : {
|
|
|
|
"$ref" : "#/definitions/MyGame_Example_TestEnum"
|
|
|
|
},
|
|
|
|
"c" : {
|
2020-11-20 00:17:03 +00:00
|
|
|
"type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_TestEnum"},
|
2019-06-17 22:15:13 +00:00
|
|
|
"minItems": 2,
|
|
|
|
"maxItems": 2
|
2019-08-23 17:46:47 +00:00
|
|
|
},
|
|
|
|
"d" : {
|
2020-10-16 17:43:09 +00:00
|
|
|
"type" : "array", "items" : {"type" : "integer", "minimum" : -9223372036854775808, "maximum" : 9223372036854775807},
|
2019-08-23 17:46:47 +00:00
|
|
|
"minItems": 2,
|
|
|
|
"maxItems": 2
|
2019-06-17 22:15:13 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties" : false
|
|
|
|
},
|
|
|
|
"MyGame_Example_ArrayStruct" : {
|
|
|
|
"type" : "object",
|
|
|
|
"properties" : {
|
|
|
|
"a" : {
|
|
|
|
"type" : "number"
|
|
|
|
},
|
|
|
|
"b" : {
|
2020-10-16 17:43:09 +00:00
|
|
|
"type" : "array", "items" : {"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647},
|
2019-06-17 22:15:13 +00:00
|
|
|
"minItems": 15,
|
|
|
|
"maxItems": 15
|
|
|
|
},
|
|
|
|
"c" : {
|
2021-02-10 19:45:34 +00:00
|
|
|
"type" : "integer", "minimum" : -128, "maximum" : 127
|
2019-06-17 22:15:13 +00:00
|
|
|
},
|
|
|
|
"d" : {
|
2020-11-20 00:17:03 +00:00
|
|
|
"type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_NestedStruct"},
|
2019-06-17 22:15:13 +00:00
|
|
|
"minItems": 2,
|
|
|
|
"maxItems": 2
|
2019-08-23 17:46:47 +00:00
|
|
|
},
|
|
|
|
"e" : {
|
2020-10-16 17:43:09 +00:00
|
|
|
"type" : "integer", "minimum" : -2147483648, "maximum" : 2147483647
|
2019-08-23 17:46:47 +00:00
|
|
|
},
|
|
|
|
"f" : {
|
2020-10-16 17:43:09 +00:00
|
|
|
"type" : "array", "items" : {"type" : "integer", "minimum" : -9223372036854775808, "maximum" : 9223372036854775807},
|
2019-08-23 17:46:47 +00:00
|
|
|
"minItems": 2,
|
|
|
|
"maxItems": 2
|
2019-06-17 22:15:13 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties" : false
|
|
|
|
},
|
|
|
|
"MyGame_Example_ArrayTable" : {
|
|
|
|
"type" : "object",
|
|
|
|
"properties" : {
|
|
|
|
"a" : {
|
|
|
|
"$ref" : "#/definitions/MyGame_Example_ArrayStruct"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties" : false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"$ref" : "#/definitions/MyGame_Example_ArrayTable"
|
|
|
|
}
|