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,13 +5,13 @@
"author": "无狐",
"version": "1.0",
"description": "之前有些路径不太准确,修正了路径",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5759.4140625,
"y": -1307.65625,
"x": 5759.41,
"y": -1307.66,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 5736.2412109375,
"y": -1283.7939453125,
"x": 5736.24,
"y": -1283.79,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 5736.55224609375,
"y": -1267.609375,
"x": 5736.55,
"y": -1267.61,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 5723.6015625,
"y": -1256.9643554687502,
"x": 5723.6,
"y": -1256.96,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 5720.6015625,
"y": -1255.9643554687502,
"x": 5720.6,
"y": -1255.96,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 5684.716796875001,
"y": -1281.947265625,
"x": 5684.72,
"y": -1281.95,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 5664.6572265625,
"y": -1314.5200195312498,
"x": 5664.66,
"y": -1314.52,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 5668.74951171875,
"y": -1316.396484375,
"x": 5668.75,
"y": -1316.4,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -82,8 +82,8 @@
},
{
"id": 9,
"x": 5657.4365234375,
"y": -1311.72265625,
"x": 5657.44,
"y": -1311.72,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -91,8 +91,8 @@
},
{
"id": 10,
"x": 5636.7919921875,
"y": -1293.1162109375,
"x": 5636.79,
"y": -1293.12,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -100,8 +100,8 @@
},
{
"id": 11,
"x": 5626.41845703125,
"y": -1302.73046875,
"x": 5626.42,
"y": -1302.73,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -109,8 +109,8 @@
},
{
"id": 12,
"x": 5629.18701171875,
"y": -1340.2109375,
"x": 5629.19,
"y": -1340.21,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -118,8 +118,8 @@
},
{
"id": 13,
"x": 5620.796875,
"y": -1347.689453125,
"x": 5620.8,
"y": -1347.69,
"type": "path",
"move_mode": "climb",
"action": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-2巨人峡谷",
"name": "沙脂蛹-2巨人峡谷(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.1",
"version": "1.0",
"description": "之前有些路径不太准确,修正了路径",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5487.28857421875,
"y": -1232.4208984375,
"x": 5487.29,
"y": -1232.42,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 5471.68115234375,
"y": -1230.72216796875,
"x": 5471.68,
"y": -1230.72,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 5464.1201171875,
"y": -1230.009765625,
"x": 5464.12,
"y": -1230.01,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 5433.564453125,
"y": -1220.453125,
"x": 5433.56,
"y": -1220.45,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 5440.98388671875,
"y": -1219.04833984375,
"x": 5440.98,
"y": -1219.05,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 5440.759765625,
"y": -1207.580078125,
"x": 5440.76,
"y": -1207.58,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 5429.974609375,
"y": -1174.21044921875,
"x": 5429.97,
"y": -1174.21,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 5434.06201171875,
"y": -1163.16455078125,
"x": 5434.06,
"y": -1163.16,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -82,8 +82,8 @@
},
{
"id": 9,
"x": 5449.224609375,
"y": -1161.390625,
"x": 5449.22,
"y": -1161.39,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -91,8 +91,8 @@
},
{
"id": 10,
"x": 5462.33447265625,
"y": -1170.55078125,
"x": 5462.33,
"y": -1170.55,
"type": "path",
"move_mode": "climb",
"action": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-3塔尼特露营地",
"name": "沙脂蛹-3塔尼特露营地(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.1",
"version": "1.0",
"description": "之前有些路径不太准确,修正了路径",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5197.12646484375,
"y": -1336.59912109375,
"x": 5197.13,
"y": -1336.6,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 5157.260253906249,
"y": -1325.490234375,
"x": 5157.26,
"y": -1325.49,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 5114.1982421875,
"y": -1320.5043945312498,
"x": 5114.2,
"y": -1320.5,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 5059.12451171875,
"y": -1306.275390625,
"x": 5059.12,
"y": -1306.28,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 5025.1669921875,
"y": -1337.41162109375,
"x": 5025.17,
"y": -1337.41,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 5025.1669921875,
"y": -1337.41162109375,
"x": 5025.17,
"y": -1337.41,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 5025.096191406251,
"y": -1344.6645507812498,
"x": 5025.1,
"y": -1344.66,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 5017.544921875,
"y": -1350.69482421875,
"x": 5017.54,
"y": -1350.69,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -82,8 +82,8 @@
},
{
"id": 9,
"x": 5014.544921875,
"y": -1344.6948242187498,
"x": 5014.54,
"y": -1344.69,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -91,8 +91,8 @@
},
{
"id": 10,
"x": 5021.63623046875,
"y": -1337.92724609375,
"x": 5021.64,
"y": -1337.93,
"action": "",
"move_mode": "climb",
"action_params": "",
@@ -100,8 +100,8 @@
},
{
"id": 11,
"x": 5002.14404296875,
"y": -1314.744140625,
"x": 5002.14,
"y": -1314.74,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -109,8 +109,8 @@
},
{
"id": 12,
"x": 4986.59130859375,
"y": -1306.18994140625,
"x": 4986.59,
"y": -1306.19,
"type": "path",
"move_mode": "climb",
"action": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-4亡者狭廊2",
"name": "沙脂蛹-4亡者狭廊2(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.1",
"version": "1.0",
"description": "修正了路径;多次下落改为一次下落,因为发现血量还挺健康的",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4762.45068359375,
"y": -982.89208984375,
"x": 4762.45,
"y": -982.89,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 4802.01171875,
"y": -974.7763671875,
"x": 4802.01,
"y": -974.78,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 4826.01171875,
"y": -981.7763671875,
"x": 4826.01,
"y": -981.78,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 4826.01171875,
"y": -981.7763671875,
"x": 4826.01,
"y": -981.78,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 4826.733886718749,
"y": -972.7436523437501,
"x": 4826.73,
"y": -972.74,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 4820.720703125,
"y": -968.27685546875,
"x": 4820.72,
"y": -968.28,
"action": "",
"move_mode": "climb",
"action_params": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-4亡者狭廊2",
"name": "沙脂蛹-4亡者狭廊(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4762.45068359375,
"y": -982.89208984375,
"x": 4762.45,
"y": -982.89,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 4802.01171875,
"y": -974.7763671875,
"x": 4802.01,
"y": -974.78,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -29,8 +29,8 @@
},
{
"id": 3,
"x": 4826.01171875,
"y": -981.7763671875,
"x": 4826.01,
"y": -981.78,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -39,8 +39,8 @@
},
{
"id": 4,
"x": 4826.01171875,
"y": -981.7763671875,
"x": 4826.01,
"y": -981.78,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -48,8 +48,8 @@
},
{
"id": 5,
"x": 4824.73388671875,
"y": -971.74365234375,
"x": 4824.73,
"y": -971.74,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -57,8 +57,8 @@
},
{
"id": 6,
"x": 4820.720703125,
"y": -968.27685546875,
"x": 4820.72,
"y": -968.28,
"action": "",
"move_mode": "walk",
"action_params": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-5三运河之地",
"name": "沙脂蛹-5三运河之地(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.1",
"version": "1.0",
"description": "修正了路径;邪恶的沙虫不要再撅我了",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5168.41748046875,
"y": -499.32861328125,
"x": 5168.42,
"y": -499.33,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 5170.7890625,
"y": -502.20947265625,
"x": 5170.79,
"y": -502.21,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 5195.10107421875,
"y": -561.3701171875,
"x": 5195.1,
"y": -561.37,
"type": "path",
"move_mode": "fly",
"action": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 5180.48486328125,
"y": -560.98974609375,
"x": 5180.48,
"y": -560.99,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 5171.39111328125,
"y": -595.75830078125,
"x": 5171.39,
"y": -595.76,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 5176.7080078125,
"y": -599.4658203125,
"x": 5176.71,
"y": -599.47,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 5170.1376953125,
"y": -605.52099609375,
"x": 5170.14,
"y": -605.52,
"type": "path",
"move_mode": "climb",
"action": "",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "沙脂蛹-6折胫谷",
"name": "沙脂蛹-6折胫谷(低成功率)",
"type": "collect",
"author": "无狐",
"version": "1.1",
"version": "1.0",
"description": "修正了路径;小饶了一圈,避免进入战斗被蕈兽肘飞",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5690.23583984375,
"y": -706.8984375,
"x": 5690.24,
"y": -706.9,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 5668.58935546875,
"y": -731.56640625,
"x": 5668.59,
"y": -731.57,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 5666.3623046875,
"y": -733.5703125,
"x": 5666.36,
"y": -733.57,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 5635.55224609375,
"y": -747.203125,
"x": 5635.55,
"y": -747.2,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 5598.01611328125,
"y": -742.90771484375,
"x": 5598.02,
"y": -742.91,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 5594.85302734375,
"y": -725.37451171875,
"x": 5594.85,
"y": -725.37,
"type": "path",
"move_mode": "climb",
"action": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 5594.562011718749,
"y": -691.2783203125,
"x": 5594.56,
"y": -691.28,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 5608.04541015625,
"y": -701.35107421875,
"x": 5608.05,
"y": -701.35,
"type": "path",
"move_mode": "climb",
"action": "",