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,37 +5,37 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1273.748046875,
"y": 2721.670166015625,
"x": -1273.75,
"y": 2721.67,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1280.74609375,
"y": 2745.615966796875,
"x": -1280.75,
"y": 2745.62,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -1281.9892578125,
"y": 2748.589111328125,
"x": -1281.99,
"y": 2748.59,
"type": "path",
"move_mode": "climb",
"action": ""
},
{
"id": 5,
"x": -1297.44921875,
"y": 2771.353271484375,
"x": -1297.45,
"y": 2771.35,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"

View File

@@ -5,29 +5,29 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1120.9921875,
"y": 2190.64794921875,
"x": -1120.99,
"y": 2190.65,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1144.2177734375,
"y": 2174.553955078125,
"x": -1144.22,
"y": 2174.55,
"action": "nahida_collect",
"move_mode": "run",
"type": "target"
},
{
"id": 3,
"x": -1154.4736328125,
"y": 2174.3466796875,
"x": -1154.47,
"y": 2174.35,
"action": "nahida_collect",
"move_mode": "walk",
"type": "target"

View File

@@ -5,29 +5,29 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1120.8701171875,
"y": 2190.551025390625,
"x": -1120.87,
"y": 2190.55,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1053.0078125,
"y": 2196.9384765625,
"x": -1053.01,
"y": 2196.94,
"action": "nahida_collect",
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": -1034.9979641190348,
"y": 2135.493636020872,
"x": -1035.0,
"y": 2135.49,
"action": "nahida_collect",
"move_mode": "run",
"type": "target"

View File

@@ -1,153 +1,153 @@
{
"info": {
"name": "日落果4-星落湖-蒙德36个",
"name": "日落果04-星落湖-蒙德36个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1330.001953125,
"y": 2563.96044921875,
"x": -1330.0,
"y": 2563.96,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1320.408203125,
"y": 2562.971435546875,
"x": -1320.41,
"y": 2562.97,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -1297.228515625,
"y": 2573.897216796875,
"x": -1297.23,
"y": 2573.9,
"action": "",
"move_mode": "swim",
"type": "path"
},
{
"id": 4,
"x": -1266.87890625,
"y": 2593.08740234375,
"x": -1266.88,
"y": 2593.09,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 5,
"x": -1254.783203125,
"y": 2578.5478515625,
"x": -1254.78,
"y": 2578.55,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": -1210.62890625,
"y": 2542.3056640625,
"x": -1210.63,
"y": 2542.31,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 7,
"x": -1173.7353515625,
"y": 2519.455322265625,
"x": -1173.74,
"y": 2519.46,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 8,
"x": -1162.6591796875,
"y": 2512.1220703125,
"x": -1162.66,
"y": 2512.12,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 9,
"x": -1195.0625,
"y": 2473.677978515625,
"x": -1195.06,
"y": 2473.68,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 10,
"x": -1233.1217005302733,
"y": 2430.4166812736203,
"x": -1233.12,
"y": 2430.42,
"type": "path",
"move_mode": "climb",
"action": ""
},
{
"id": 11,
"x": -1241.845703125,
"y": 2420.500244140625,
"x": -1241.85,
"y": 2420.5,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 12,
"x": -1257.0166015625,
"y": 2422.777099609375,
"x": -1257.02,
"y": 2422.78,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 13,
"x": -1292.890625,
"y": 2431.8369140625,
"x": -1292.89,
"y": 2431.84,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 14,
"x": -1309.873046875,
"y": 2412.359619140625,
"x": -1309.87,
"y": 2412.36,
"action": "",
"move_mode": "climb",
"type": "path"
},
{
"id": 15,
"x": -1316.146484375,
"y": 2408.936279296875,
"x": -1316.15,
"y": 2408.94,
"action": "nahida_collect",
"move_mode": "climb",
"type": "path"
},
{
"id": 16,
"x": -1354.7724609375,
"y": 2461.4609375,
"x": -1354.77,
"y": 2461.46,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 17,
"x": -1393.3984375,
"y": 2536.75634765625,
"x": -1393.4,
"y": 2536.76,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 19,
"x": -1439.7663238864952,
"y": 2543.789229699847,
"x": -1439.77,
"y": 2543.79,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"

View File

@@ -1,11 +1,11 @@
{
"info": {
"name": "日落果5-奔狼岭-蒙德3个",
"name": "日落果05-奔狼岭-蒙德3个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -386.177734375,
"y": 2297.316650390625
"x": -386.18,
"y": 2297.32
},
{
"id": 2,
"x": -382.3466796875,
"y": 2295.962890625,
"x": -382.35,
"y": 2295.96,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -3,47 +3,47 @@
"name": "日落果06-奔狼岭-蒙德6个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.1",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -521.58203125,
"y": 2181.3662109375,
"x": -521.58,
"y": 2181.37,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -596.228515625,
"y": 2154.114990234375,
"x": -596.23,
"y": 2154.11,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -597.5693359375,
"y": 2140.853515625,
"x": -597.57,
"y": 2140.85,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 4,
"x": -601.88671875,
"y": 2136.56689453125,
"x": -601.89,
"y": 2136.57,
"action": "nahida_collect",
"move_mode": "climb",
"type": "path"
},
{
"id": 5,
"x": -612.86328125,
"y": 2116.34912109375,
"x": -612.86,
"y": 2116.35,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"

View File

@@ -1,49 +1,49 @@
{
"info": {
"name": "日落果7-清泉镇-蒙德6个",
"name": "日落果07-清泉镇-蒙德6个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -867.5390625,
"y": 1992.20947265625,
"x": -867.54,
"y": 1992.21,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": -850.505859375,
"y": 2017.72705078125,
"x": -850.51,
"y": 2017.73,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -833.8349609375,
"y": 2024.537109375,
"x": -833.83,
"y": 2024.54,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -830.0029296875,
"y": 2025.97998046875,
"x": -830.0,
"y": 2025.98,
"type": "path",
"move_mode": "climb",
"action": ""
},
{
"id": 5,
"x": -767.724609375,
"y": 2018.78955078125,
"x": -767.72,
"y": 2018.79,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -1,11 +1,11 @@
{
"info": {
"name": "日落果8-南风之狮的庙宇-蒙德9个",
"name": "日落果08-南风之狮的庙宇-蒙德9个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,29 +13,29 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1427.697265625,
"y": 1661.6025390625
"x": -1427.7,
"y": 1661.6
},
{
"id": 2,
"x": -1386.828125,
"y": 1652.712890625,
"x": -1386.83,
"y": 1652.71,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -1326.9091796875,
"y": 1662.54052734375,
"x": -1326.91,
"y": 1662.54,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": -1304.3720703125,
"y": 1640.92919921875,
"x": -1304.37,
"y": 1640.93,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -1,11 +1,11 @@
{
"info": {
"name": "日落果9-誓言岬-蒙德6个",
"name": "日落果09-誓言岬-蒙德6个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1998.970703125,
"y": 1435.01708984375
"x": -1998.97,
"y": 1435.02
},
{
"id": 2,
"x": -2000.1640625,
"y": 1482.2900390625,
"x": -2000.16,
"y": 1482.29,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -2052.1513671875,
"y": 1560.97412109375,
"x": -2052.15,
"y": 1560.97,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -3,31 +3,31 @@
"name": "日落果10-誓言岬-蒙德6个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.1",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1999.138671875,
"y": 1435.07763671875,
"x": -1999.14,
"y": 1435.08,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1972.9482421875,
"y": 1416.52197265625,
"x": -1972.95,
"y": 1416.52,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -1937.3779296875,
"y": 1436.9619140625,
"x": -1937.38,
"y": 1436.96,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"

View File

@@ -5,85 +5,85 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1432.6357421875,
"y": 1464.7021484375,
"x": -1432.64,
"y": 1464.7,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1492.8173828125,
"y": 1439.9990234375,
"x": -1492.82,
"y": 1440.0,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -1522.69140625,
"y": 1452.818359375,
"x": -1522.69,
"y": 1452.82,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": -1555.5634765625,
"y": 1436.60693359375,
"x": -1555.56,
"y": 1436.61,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": -1591.26953125,
"y": 1415.95556640625,
"x": -1591.27,
"y": 1415.96,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 6,
"x": -1571.8369140625,
"y": 1400.89599609375,
"x": -1571.84,
"y": 1400.9,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 7,
"x": -1540.9765625,
"y": 1379.048828125,
"x": -1540.98,
"y": 1379.05,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 8,
"x": -1533.11328125,
"y": 1346.99853515625,
"x": -1533.11,
"y": 1347.0,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 9,
"x": -1482.4918564761392,
"y": 1388.0058548607976,
"x": -1482.49,
"y": 1388.01,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 10,
"x": -1459.435546875,
"y": 1406.0556640625,
"x": -1459.44,
"y": 1406.06,
"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,37 +13,37 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1867.3857421875,
"y": 1331.05126953125
"x": -1867.39,
"y": 1331.05
},
{
"id": 2,
"x": -1876.041015625,
"y": 1345.8193359375,
"x": -1876.04,
"y": 1345.82,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -1830.7763671875,
"y": 1345.0322265625,
"x": -1830.78,
"y": 1345.03,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -1803.41015625,
"y": 1338.36572265625,
"x": -1803.41,
"y": 1338.37,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 5,
"x": -1777.3486328125,
"y": 1325.67724609375,
"x": -1777.35,
"y": 1325.68,
"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,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 253.154296875,
"y": 1285.13916015625
"x": 253.15,
"y": 1285.14
},
{
"id": 2,
"x": 267.2080078125,
"y": 1273.39794921875,
"x": 267.21,
"y": 1273.4,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 3,
"x": 224.529296875,
"y": 1248.12255859375,
"x": 224.53,
"y": 1248.12,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -3,39 +3,39 @@
"name": "日落果14-明蕴镇-璃月3个",
"type": "collect",
"author": "不瘦五十斤不改名",
"version": "1.1",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -188.4072265625,
"y": 971.46484375,
"x": -188.41,
"y": 971.46,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -164.8759765625,
"y": 925.23388671875,
"x": -164.88,
"y": 925.23,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -171.9365234375,
"y": 893.14208984375,
"x": -171.94,
"y": 893.14,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 4,
"x": -157.7685546875,
"y": 880.12841796875,
"x": -157.77,
"y": 880.13,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,53 +13,53 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 259.513671875,
"y": -14.16748046875
"x": 259.51,
"y": -14.17
},
{
"id": 2,
"x": 293.5693359375,
"y": -20.859375,
"x": 293.57,
"y": -20.86,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": 314.5751953125,
"y": -6.11767578125,
"x": 314.58,
"y": -6.12,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 313.2080078125,
"y": 15.89501953125,
"x": 313.21,
"y": 15.9,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 5,
"x": 291.8466796875,
"y": 41.27734375,
"x": 291.85,
"y": 41.28,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": 283.5947265625,
"y": 80.23046875,
"x": 283.59,
"y": 80.23,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 7,
"x": 257.7646484375,
"y": 92.3251953125,
"x": 257.76,
"y": 92.33,
"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,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 26.0302734375,
"y": -112.2705078125
"x": 26.03,
"y": -112.27
},
{
"id": 2,
"x": 14.6083984375,
"y": -93.23681640625,
"x": 14.61,
"y": -93.24,
"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,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 340.890625,
"y": 547.9482421875
"x": 340.89,
"y": 547.95
},
{
"id": 2,
"x": 309.9033203125,
"y": 555.53955078125,
"x": 309.9,
"y": 555.54,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,29 +5,29 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 1043.1806640625,
"y": -558.06298828125,
"x": 1043.18,
"y": -558.06,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 1029.220703125,
"y": -535.615234375,
"x": 1029.22,
"y": -535.62,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 1031.9384765625,
"y": -503.41064453125,
"x": 1031.94,
"y": -503.41,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,21 +5,21 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 2703.53955078125,
"y": -761.19091796875,
"x": 2703.54,
"y": -761.19,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": 2726.0302734375,
"y": -739.859375,
"x": 2726.03,
"y": -739.86,
"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,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3993.7646484375,
"y": -989.35546875
"x": 3993.76,
"y": -989.36
},
{
"id": 2,
"x": 3959.48828125,
"y": -1043.01123046875,
"x": 3959.49,
"y": -1043.01,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": 4015.599609375,
"y": -1085.72216796875,
"x": 4015.6,
"y": -1085.72,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"