fix: json data validation (#514)

* json data validation

* 使用 jsonDataValidation 自动更正

* fix: 字段缺失时补全而不是报错
This commit is contained in:
秋云
2025-04-03 22:02:37 +08:00
committed by GitHub
parent b865b200bc
commit fbef10776b
2595 changed files with 125405 additions and 122363 deletions

View File

@@ -5,93 +5,93 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3923.1181640625,
"y": 4233.869140625,
"x": 3923.12,
"y": 4233.87,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 3941.8662109375,
"y": 4273.91943359375,
"x": 3941.87,
"y": 4273.92,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 3967.7861328125,
"y": 4299.7705078125,
"x": 3967.79,
"y": 4299.77,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 3985.50390625,
"y": 4314.5625,
"x": 3985.5,
"y": 4314.56,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 5,
"x": 3994.3466796875,
"y": 4299.537109375,
"x": 3994.35,
"y": 4299.54,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 6,
"x": 4001.0146484375,
"y": 4275.40576171875,
"x": 4001.01,
"y": 4275.41,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 7,
"x": 4009.9296875,
"y": 4261.091796875,
"x": 4009.93,
"y": 4261.09,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 8,
"x": 4005.36328125,
"y": 4327.70947265625,
"x": 4005.36,
"y": 4327.71,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": 4004.4267578125,
"y": 4347.208984375,
"x": 4004.43,
"y": 4347.21,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 11,
"x": 4006.796875,
"y": 4401.439453125,
"x": 4006.8,
"y": 4401.44,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 11,
"x": 4006.646484375,
"y": 4401.0166015625,
"x": 4006.65,
"y": 4401.02,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,7 +5,7 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,37 +13,37 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4143.9150390625,
"y": 4423.52685546875
"x": 4143.92,
"y": 4423.53
},
{
"id": 2,
"x": 4169.95703125,
"y": 4424.96337890625,
"x": 4169.96,
"y": 4424.96,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 4181.611328125,
"y": 4421.5068359375,
"x": 4181.61,
"y": 4421.51,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": 4211.861328125,
"y": 4412.6181640625,
"x": 4211.86,
"y": 4412.62,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 5,
"x": 4211.87255859375,
"y": 4412.62744140625,
"x": 4211.87,
"y": 4412.63,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,29 +5,29 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3864.1962890625,
"y": 4492.5849609375,
"x": 3864.2,
"y": 4492.58,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 3821.9150390625,
"y": 4502.1611328125,
"x": 3821.92,
"y": 4502.16,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 3798.171875,
"y": 4518.34912109375,
"x": 3798.17,
"y": 4518.35,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,29 +5,29 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 4,
"x": 3846.876953125,
"y": 4652.93359375,
"x": 3846.88,
"y": 4652.93,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 3813.77734375,
"y": 4684.03271484375,
"x": 3813.78,
"y": 4684.03,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 3789.123046875,
"y": 4701.0078125,
"x": 3789.12,
"y": 4701.01,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,45 +5,45 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3636.0498046875,
"y": 4796.0576171875,
"x": 3636.05,
"y": 4796.06,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 3632.9794921875,
"y": 4845.61962890625,
"x": 3632.98,
"y": 4845.62,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 3600.662109375,
"y": 4900.33154296875,
"x": 3600.66,
"y": 4900.33,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 4,
"x": 3687.5185546875,
"y": 4961.0146484375,
"x": 3687.52,
"y": 4961.01,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 5,
"x": 3710.9833984375,
"y": 4906.0595703125,
"x": 3710.98,
"y": 4906.06,
"type": "path",
"move_mode": "walk",
"action": "fight"
@@ -57,40 +57,40 @@
},
{
"id": 7,
"x": 3811.439453125,
"y": 4869.79296875,
"x": 3811.44,
"y": 4869.79,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 9,
"x": 3799.5400390625,
"y": 4943.4052734375,
"x": 3799.54,
"y": 4943.41,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": 3783.517578125,
"y": 4971.1875,
"x": 3783.52,
"y": 4971.19,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 10,
"x": 3765.0546875,
"y": 4991.2451171875,
"x": 3765.05,
"y": 4991.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 11,
"x": 3752.921875,
"y": 4996.0458984375,
"x": 3752.92,
"y": 4996.05,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,61 +5,61 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3965.4345703125,
"y": 4718.44091796875,
"x": 3965.43,
"y": 4718.44,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 3939.56640625,
"y": 4720.44677734375,
"x": 3939.57,
"y": 4720.45,
"type": "path",
"move_mode": "fly",
"action": ""
},
{
"id": 3,
"x": 3920.57421875,
"y": 4713.30322265625,
"x": 3920.57,
"y": 4713.3,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": 3912.2412109375,
"y": 4706.5439453125,
"x": 3912.24,
"y": 4706.54,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": 3900.9365234375,
"y": 4698.27978515625,
"x": 3900.94,
"y": 4698.28,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 6,
"x": 3904.0419921875,
"y": 4724.9501953125,
"x": 3904.04,
"y": 4724.95,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 7,
"x": 3905.271484375,
"y": 4753.15087890625,
"x": 3905.27,
"y": 4753.15,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,85 +5,85 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3965.390625,
"y": 4718.3798828125,
"x": 3965.39,
"y": 4718.38,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 3961.1435546875,
"y": 4720.3173828125,
"x": 3961.14,
"y": 4720.32,
"type": "path",
"move_mode": "walk",
"action": "stop_flying"
},
{
"id": 3,
"x": 3969.3134765625,
"y": 4728.27734375,
"x": 3969.31,
"y": 4728.28,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": 3950.0546875,
"y": 4764.63134765625,
"x": 3950.05,
"y": 4764.63,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 5,
"x": 3987.953125,
"y": 4739.9599609375,
"x": 3987.95,
"y": 4739.96,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 6,
"x": 4077.9248046875,
"y": 4694.287109375,
"x": 4077.92,
"y": 4694.29,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 7,
"x": 4180.5634765625,
"y": 4685.6728515625,
"x": 4180.56,
"y": 4685.67,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 8,
"x": 4160.47265625,
"y": 4729.62060546875,
"x": 4160.47,
"y": 4729.62,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": 4124.3583984375,
"y": 4770.40478515625,
"x": 4124.36,
"y": 4770.4,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": 4113.15380859375,
"y": 4780.3271484375,
"x": 4113.15,
"y": 4780.33,
"type": "path",
"move_mode": "walk",
"action": "fight"

View File

@@ -5,45 +5,45 @@
"author": "½",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4301.30810546875,
"y": 4764.98828125,
"x": 4301.31,
"y": 4764.99,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 4337.1005859375,
"y": 4759.2763671875,
"x": 4337.1,
"y": 4759.28,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 4373.9208984375,
"y": 4763.50390625,
"x": 4373.92,
"y": 4763.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": 4392.0791015625,
"y": 4729.2255859375,
"x": 4392.08,
"y": 4729.23,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": 4411.05126953125,
"y": 4718.93359375,
"x": 4411.05,
"y": 4718.93,
"type": "path",
"move_mode": "walk",
"action": "fight"