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,101 +5,101 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 2,
"x": 4693.970703125,
"y": -261.982421875,
"x": 4693.97,
"y": -261.98,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 4706.97314453125,
"y": -262.287109375,
"x": 4706.97,
"y": -262.29,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 4717.8173828125,
"y": -256.5595703125,
"x": 4717.82,
"y": -256.56,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 5,
"x": 4719.08984375,
"y": -254.90576171875,
"x": 4719.09,
"y": -254.91,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 6,
"x": 4729.123046875,
"y": -237.65576171875,
"x": 4729.12,
"y": -237.66,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 7,
"x": 4707.802734375,
"y": -234.171875,
"x": 4707.8,
"y": -234.17,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 8,
"x": 4689.7744140625,
"y": -240.42822265625,
"x": 4689.77,
"y": -240.43,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 9,
"x": 4691.40380859375,
"y": -242.70166015625,
"x": 4691.4,
"y": -242.7,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": 4675.53515625,
"y": -249.19775390625,
"x": 4675.54,
"y": -249.2,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 11,
"x": 4672.623046875,
"y": -250.16943359375,
"x": 4672.62,
"y": -250.17,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 12,
"x": 4649.4853515625,
"y": -264.5048828125,
"x": 4649.49,
"y": -264.5,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 13,
"x": 4643.69970703125,
"y": -268.28515625,
"x": 4643.7,
"y": -268.29,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,133 +5,133 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3021.14599609375,
"y": -94.978515625,
"x": 3021.15,
"y": -94.98,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 3023.82373046875,
"y": -104.31103515625,
"x": 3023.82,
"y": -104.31,
"type": "target",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 3,
"x": 2482.8349609375,
"y": 6.08203125,
"x": 2482.83,
"y": 6.08,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 4,
"x": 2464.79150390625,
"y": -11.556640625,
"x": 2464.79,
"y": -11.56,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 5,
"x": 2462.505859375,
"y": -13.55078125,
"x": 2462.51,
"y": -13.55,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": 2470.47314453125,
"y": -21.86669921875,
"x": 2470.47,
"y": -21.87,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 7,
"x": 2477.47509765625,
"y": -28.6123046875,
"x": 2477.48,
"y": -28.61,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 2454.35400390625,
"y": -88.97509765625,
"x": 2454.35,
"y": -88.98,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 9,
"x": 2446.66650390625,
"y": -101.0791015625,
"x": 2446.67,
"y": -101.08,
"action": "nahida_collect",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 2342.3310546875,
"y": -4.7001953125,
"x": 2342.33,
"y": -4.7,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 11,
"x": 2345.27783203125,
"y": -7.5751953125,
"x": 2345.28,
"y": -7.58,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 12,
"x": 2288.6728515625,
"y": -1197.65234375,
"x": 2288.67,
"y": -1197.65,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 13,
"x": 2332.61572265625,
"y": -1221.57568359375,
"x": 2332.62,
"y": -1221.58,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 14,
"x": 2343.76318359375,
"y": -1223.80419921875,
"x": 2343.76,
"y": -1223.8,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 15,
"x": 2360.0966796875,
"y": -1233.7880859375,
"x": 2360.1,
"y": -1233.79,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 16,
"x": 2363.9541015625,
"y": -1236.484375,
"x": 2363.95,
"y": -1236.48,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,173 +13,173 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3128.755859375,
"y": -1734.64697265625
"x": 3128.76,
"y": -1734.65
},
{
"id": 2,
"x": 3124.89892578125,
"y": -1734.919921875,
"x": 3124.9,
"y": -1734.92,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 3110.1591796875,
"y": -1736.8935546875,
"x": 3110.16,
"y": -1736.89,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 4,
"x": 3105.6357421875,
"y": -1739.42333984375,
"x": 3105.64,
"y": -1739.42,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 3077.4443359375,
"y": -1754.62841796875,
"x": 3077.44,
"y": -1754.63,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": 3062.02587890625,
"y": -1762.7421875,
"x": 3062.03,
"y": -1762.74,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 7,
"x": 3057.37255859375,
"y": -1764.697265625,
"x": 3057.37,
"y": -1764.7,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 8,
"x": 3058.80859375,
"y": -1767.755859375,
"x": 3058.81,
"y": -1767.76,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": 3051.744140625,
"y": -1778.32275390625,
"x": 3051.74,
"y": -1778.32,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 10,
"x": 3128.72314453125,
"y": -1734.58349609375,
"x": 3128.72,
"y": -1734.58,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 11,
"x": 3139.73779296875,
"y": -1743.185546875,
"x": 3139.74,
"y": -1743.19,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 12,
"x": 3166.6435546875,
"y": -1762.41357421875,
"x": 3166.64,
"y": -1762.41,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 13,
"x": 3166.98974609375,
"y": -1766.47509765625,
"x": 3166.99,
"y": -1766.48,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 14,
"x": 3168.15966796875,
"y": -1775.99365234375,
"x": 3168.16,
"y": -1775.99,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 15,
"x": 3162.9208984375,
"y": -1776.08984375,
"x": 3162.92,
"y": -1776.09,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 16,
"x": 3466.8212890625,
"y": -1747.03759765625,
"x": 3466.82,
"y": -1747.04,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 17,
"x": 3469.02734375,
"y": -1730.80908203125,
"x": 3469.03,
"y": -1730.81,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 18,
"x": 3473.98974609375,
"y": -1717.7822265625,
"x": 3473.99,
"y": -1717.78,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 19,
"x": 3475.93115234375,
"y": -1717.37548828125,
"x": 3475.93,
"y": -1717.38,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 21,
"x": 3473.2099609375,
"y": -1708.5947265625,
"x": 3473.21,
"y": -1708.59,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 22,
"x": 2567.60107421875,
"y": -1424.056640625,
"x": 2567.6,
"y": -1424.06,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 23,
"x": 2569.06689453125,
"y": -1420.23583984375,
"x": 2569.07,
"y": -1420.24,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"