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

@@ -1,23 +1,25 @@
{
"info":{
"name":"肉龙掌1-坚岩隘谷上-2个",
"type":"collect",
"author":"黎歌"
},
"positions":[
{
"x":8400.634765625,
"y":-1221.34326171875,
"type":"teleport",
"move_mode":"walk",
"action":""
},
{
"x":8466.8271484375,
"y":-1233.42333984375,
"type":"target",
"move_mode":"walk",
"action":""
}
]
"info": {
"name": "肉龙掌1-坚岩隘谷上-2个",
"type": "collect",
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 8400.63,
"y": -1221.34,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 8466.83,
"y": -1233.42,
"type": "target",
"move_mode": "walk",
"action": ""
}
]
}

View File

@@ -2,187 +2,189 @@
"info": {
"name": "肉龙掌2-坚岩隘谷上-18个",
"type": "collect",
"author": "黎歌"
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 8400.6953125,
"y": -1221.4111328125,
"x": 8400.7,
"y": -1221.41,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 8357.0625,
"y": -1225.69091796875,
"x": 8357.06,
"y": -1225.69,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8277.7294921875,
"y": -1188.48681640625,
"x": 8277.73,
"y": -1188.49,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8296.201171875,
"y": -1213.18212890625,
"x": 8296.2,
"y": -1213.18,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8330.904296875,
"y": -1291.4462890625,
"x": 8330.9,
"y": -1291.45,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8318.240234375,
"y": -1293.9248046875,
"x": 8318.24,
"y": -1293.92,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8259.1259765625,
"y": -1307.67041015625,
"x": 8259.13,
"y": -1307.67,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8263.49759150458,
"y": -1314,
"x": 8263.5,
"y": -1314.0,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8255.6689453125,
"y": -1313.23681640625,
"x": 8255.67,
"y": -1313.24,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8164.14599609375,
"y": -1311.05517578125,
"x": 8164.15,
"y": -1311.06,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8163.5556640625,
"y": -1307.1376953125,
"x": 8163.56,
"y": -1307.14,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8115.750602123855,
"x": 8115.75,
"y": -1309.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8071.000200707951,
"x": 8071.0,
"y": -1291.75,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8026.0003010619275,
"y": -1274,
"x": 8026.0,
"y": -1274.0,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7965.515354158304,
"x": 7965.52,
"y": -1259.75,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7981.57421875,
"y": -1296.32177734375,
"x": 7981.57,
"y": -1296.32,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7976.802734375,
"y": -1295.435546875,
"x": 7976.8,
"y": -1295.44,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8042.765625,
"y": -1349.9892578125,
"x": 8042.77,
"y": -1349.99,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8048.0322265625,
"y": -1354.607421875,
"x": 8048.03,
"y": -1354.61,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7916.3916015625,
"y": -1292.61865234375,
"x": 7916.39,
"y": -1292.62,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7908.474609375,
"y": -1291.779296875,
"x": 7908.47,
"y": -1291.78,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7880.013246724811,
"x": 7880.01,
"y": -1326.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7917.04296875,
"y": -1394.6494140625,
"x": 7917.04,
"y": -1394.65,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7930.5751953125,
"y": -1402.87158203125,
"x": 7930.58,
"y": -1402.87,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7962.3779296875,
"y": -1419.95458984375,
"x": 7962.38,
"y": -1419.95,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7968.7685546875,
"y": -1425.8544921875,
"x": 7968.77,
"y": -1425.85,
"type": "target",
"move_mode": "walk",
"action": ""

View File

@@ -2,103 +2,105 @@
"info": {
"name": "肉龙掌3-坚岩隘谷右-14个",
"type": "collect",
"author": "黎歌"
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 7973.6591796875,
"y": -1557.6474609375,
"x": 7973.66,
"y": -1557.65,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 8098.841796875,
"y": -1542.27099609375,
"x": 8098.84,
"y": -1542.27,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8098.8779296875,
"y": -1536.9892578125,
"x": 8098.88,
"y": -1536.99,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8120.52734375,
"y": -1548.83642578125,
"x": 8120.53,
"y": -1548.84,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8121.89306640625,
"y": -1547.82080078125,
"x": 8121.89,
"y": -1547.82,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8118.91015625,
"y": -1523.75927734375,
"x": 8118.91,
"y": -1523.76,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8193.224710798087,
"x": 8193.22,
"y": -1477.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8141.720703125,
"y": -1419.4267578125,
"x": 8141.72,
"y": -1419.43,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8117.8154296875,
"y": -1399.94677734375,
"x": 8117.82,
"y": -1399.95,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8117.248896106266,
"x": 8117.25,
"y": -1391.75,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8111.20703125,
"y": -1388.3515625,
"x": 8111.21,
"y": -1388.35,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8081.8125,
"y": -1383.92724609375,
"x": 8081.81,
"y": -1383.93,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8070.499197168194,
"x": 8070.5,
"y": -1399.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8055.1865234375,
"y": -1393.951171875,
"x": 8055.19,
"y": -1393.95,
"type": "target",
"move_mode": "walk",
"action": ""

View File

@@ -1,30 +1,32 @@
{
"info":{
"name":"肉龙掌4-硫晶支脉左-2个",
"type":"collect",
"author":"黎歌"
},
"positions":[
{
"x":8452.259765625,
"y":-1477.28955078125,
"type":"teleport",
"move_mode":"walk",
"action":""
},
{
"x":8472.7705078125,
"y":-1461.68408203125,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":8473.8955078125,
"y":-1453.80615234375,
"type":"target",
"move_mode":"walk",
"action":""
}
]
"info": {
"name": "肉龙掌4-硫晶支脉左-2个",
"type": "collect",
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 8452.26,
"y": -1477.29,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 8472.77,
"y": -1461.68,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8473.9,
"y": -1453.81,
"type": "target",
"move_mode": "walk",
"action": ""
}
]
}

View File

@@ -2,61 +2,63 @@
"info": {
"name": "肉龙掌5-硫晶支脉左-5个",
"type": "collect",
"author": "黎歌"
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 8452.509765625,
"y": -1477.23046875,
"x": 8452.51,
"y": -1477.23,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 8443.138671875,
"y": -1495.28662109375,
"x": 8443.14,
"y": -1495.29,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8437.236328125,
"y": -1497.9099999999999,
"x": 8437.24,
"y": -1497.91,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8445.0400390625,
"y": -1531.3720703125,
"x": 8445.04,
"y": -1531.37,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8450.256422654455,
"x": 8450.26,
"y": -1517.75,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8486.763671875,
"y": -1516.75732421875,
"x": 8486.76,
"y": -1516.76,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 8481.252007079516,
"y": -1515,
"x": 8481.25,
"y": -1515.0,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 8485.919921875,
"y": -1513.4580078125,
"x": 8485.92,
"y": -1513.46,
"type": "target",
"move_mode": "walk",
"action": ""

View File

@@ -1,28 +1,30 @@
{
"info":{
"name":"肉龙掌6-回血",
"description":"",
"type":"",
"author":"黎歌"
},
"positions":[
{
"x":4545.53271484375,
"y":4225.56640625,
"type":"teleport",
"move_mode":"walk"
},
{
"x":4545.5322265625,
"y":4225.56591796875,
"type":"path",
"move_mode":"walk"
},
{
"x":4543.240234375,
"y":4229.0087890625,
"type":"path",
"move_mode":"walk"
}
]
"info": {
"name": "肉龙掌6-回血",
"description": "",
"type": "collect",
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 4545.53,
"y": 4225.57,
"type": "teleport",
"move_mode": "walk"
},
{
"x": 4545.53,
"y": 4225.57,
"type": "path",
"move_mode": "walk"
},
{
"x": 4543.24,
"y": 4229.01,
"type": "path",
"move_mode": "walk"
}
]
}

View File

@@ -2,166 +2,168 @@
"info": {
"name": "肉龙掌7-隆崛坡-13个",
"type": "collect",
"author": "黎歌"
"author": "黎歌",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": 7857.5,
"y": -1751.31982421875,
"y": -1751.32,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": 7808.752910265299,
"y": -1724,
"x": 7808.75,
"y": -1724.0,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7791.250200707951,
"x": 7791.25,
"y": -1648.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7791.99638725687,
"x": 7792.0,
"y": -1613.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7774.509765625,
"y": -1611.37939453125,
"x": 7774.51,
"y": -1611.38,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7767.994681239281,
"x": 7767.99,
"y": -1594.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7744.752709557348,
"x": 7744.75,
"y": -1612.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7734.8583984375,
"y": -1600.625,
"x": 7734.86,
"y": -1600.62,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7731.6201171875,
"y": -1599.73193359375,
"x": 7731.62,
"y": -1599.73,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7727.2822265625,
"y": -1602.2294921875,
"x": 7727.28,
"y": -1602.23,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7714.2822265625,
"y": -1556.46875,
"x": 7714.28,
"y": -1556.47,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7718.744140625,
"y": -1552.44287109375,
"x": 7718.74,
"y": -1552.44,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7736.500200707951,
"y": -1567,
"x": 7736.5,
"y": -1567.0,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7755.50439453125,
"y": -1557.8193359375,
"x": 7755.5,
"y": -1557.82,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7759.68896484375,
"y": -1557.2021484375,
"x": 7759.69,
"y": -1557.2,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7769.8515625,
"y": -1555.51806640625,
"x": 7769.85,
"y": -1555.52,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7764.250903185783,
"x": 7764.25,
"y": -1542.5,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7766.24879575229,
"x": 7766.25,
"y": -1523.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7745.7685546875,
"y": -1500.830078125,
"x": 7745.77,
"y": -1500.83,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7743.749498230121,
"x": 7743.75,
"y": -1491.75,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7736.5947265625,
"y": -1489.6162109375,
"x": 7736.59,
"y": -1489.62,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": 7705.5048169908405,
"x": 7705.5,
"y": -1493.25,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": 7698.30419921875,
"y": -1498.427734375,
"x": 7698.3,
"y": -1498.43,
"type": "target",
"move_mode": "walk",
"action": ""