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,165 +5,165 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 207.470703125,
"y": 1573.01171875,
"x": 207.47,
"y": 1573.01,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 209.2578125,
"y": 1566.9365234375,
"x": 209.26,
"y": 1566.94,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 216.025390625,
"y": 1547.08154296875,
"x": 216.03,
"y": 1547.08,
"action": "stop_flying",
"move_mode": "fly",
"type": "path"
},
{
"id": 4,
"x": 219.5556640625,
"y": 1537.3447265625,
"x": 219.56,
"y": 1537.34,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": 252.166015625,
"y": 1509.82275390625,
"x": 252.17,
"y": 1509.82,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 6,
"x": 262.775390625,
"y": 1503.455078125,
"x": 262.78,
"y": 1503.46,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": 282.3623046875,
"y": 1493.6982421875,
"x": 282.36,
"y": 1493.7,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 8,
"x": 293.806640625,
"y": 1489.25048828125,
"x": 293.81,
"y": 1489.25,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 9,
"x": 290.880859375,
"y": 1468.11474609375,
"x": 290.88,
"y": 1468.11,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 10,
"x": 290.2099609375,
"y": 1465.296875,
"x": 290.21,
"y": 1465.3,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 11,
"x": 311.955078125,
"y": 1451.04150390625,
"x": 311.96,
"y": 1451.04,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 12,
"x": 319.3984375,
"y": 1442.90380859375,
"x": 319.4,
"y": 1442.9,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 13,
"x": 301.998046875,
"y": 1446.36474609375,
"x": 302.0,
"y": 1446.36,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 14,
"x": 297.12890625,
"y": 1396.162109375,
"x": 297.13,
"y": 1396.16,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 15,
"x": 299.251953125,
"y": 1391.73486328125,
"x": 299.25,
"y": 1391.73,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": 244.1484375,
"y": 1385.62451171875,
"x": 244.15,
"y": 1385.62,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 17,
"x": 229.9111328125,
"y": 1386.78515625,
"x": 229.91,
"y": 1386.79,
"action": "",
"move_mode": "swim",
"type": "path"
},
{
"id": 18,
"x": 216.9794921875,
"y": 1386.6640625,
"x": 216.98,
"y": 1386.66,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 20,
"x": 190.138671875,
"y": 1437.4521484375,
"x": 190.14,
"y": 1437.45,
"action": "",
"move_mode": "swim",
"type": "path"
},
{
"id": 21,
"x": 186.4453125,
"y": 1450.32568359375,
"x": 186.45,
"y": 1450.33,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,117 +13,117 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 253.146484375,
"y": 1285.17138671875
"x": 253.15,
"y": 1285.17
},
{
"id": 2,
"x": 284.6474609375,
"y": 1299.103515625,
"x": 284.65,
"y": 1299.1,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 322.8681640625,
"y": 1313.54931640625,
"x": 322.87,
"y": 1313.55,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 335.2998046875,
"y": 1318.95068359375,
"x": 335.3,
"y": 1318.95,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 347.2744140625,
"y": 1322.142578125,
"x": 347.27,
"y": 1322.14,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": 351.6484375,
"y": 1324.57666015625,
"x": 351.65,
"y": 1324.58,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 7,
"x": 253.1337890625,
"y": 1285.14599609375,
"x": 253.13,
"y": 1285.15,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 8,
"x": 253.1572265625,
"y": 1282.1552734375,
"x": 253.16,
"y": 1282.16,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 9,
"x": 242.9873046875,
"y": 1253.94384765625,
"x": 242.99,
"y": 1253.94,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 10,
"x": 271.35546875,
"y": 1226.8642578125,
"x": 271.36,
"y": 1226.86,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 11,
"x": 283.189453125,
"y": 1223.8408203125,
"x": 283.19,
"y": 1223.84,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 12,
"x": 314.3251953125,
"y": 1241.18701171875,
"x": 314.33,
"y": 1241.19,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 13,
"x": 306.9951171875,
"y": 1207.869140625,
"x": 307.0,
"y": 1207.87,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 14,
"x": 267.8583984375,
"y": 1190.08837890625,
"x": 267.86,
"y": 1190.09,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 15,
"x": 249.2666015625,
"y": 1178.4599609375,
"x": 249.27,
"y": 1178.46,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,77 +13,77 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 341.458984375,
"y": 547.76806640625
"x": 341.46,
"y": 547.77
},
{
"id": 2,
"x": 333.751953125,
"y": 564.46240234375,
"x": 333.75,
"y": 564.46,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 331.7705078125,
"y": 595.13427734375,
"x": 331.77,
"y": 595.13,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 318.779296875,
"y": 607.5986328125,
"x": 318.78,
"y": 607.6,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 315.40625,
"y": 611.783203125,
"x": 315.41,
"y": 611.78,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 8,
"x": 316.8037109375,
"y": 616.2919921875,
"x": 316.8,
"y": 616.29,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 7,
"x": 321.0791015625,
"y": 618.65576171875,
"x": 321.08,
"y": 618.66,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 8,
"x": 315.8408203125,
"y": 634.58935546875,
"x": 315.84,
"y": 634.59,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 10,
"x": 321.068359375,
"y": 633.9560546875,
"x": 321.07,
"y": 633.96,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 10,
"x": 320.6796875,
"y": 633.74755859375,
"x": 320.68,
"y": 633.75,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"