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,141 +5,141 @@
"author": "曦",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 10018.703125,
"y": -338.09130859375,
"x": 10018.7,
"y": -338.09,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 9999.1474609375,
"y": -332.69873046875,
"x": 9999.15,
"y": -332.7,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 9997.3232421875,
"y": -333.6787109375,
"x": 9997.32,
"y": -333.68,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 9997.708984375,
"y": -302.8310546875,
"x": 9997.71,
"y": -302.83,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": 10013.201171875,
"y": -280.81494140625,
"x": 10013.2,
"y": -280.81,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": 10033.791015625,
"y": -264.869140625,
"x": 10033.79,
"y": -264.87,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 10059.6943359375,
"y": -259.89599609375,
"x": 10059.69,
"y": -259.9,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 10062.701171875,
"y": -260.4052734375,
"x": 10062.7,
"y": -260.41,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 9,
"x": 10081.8681640625,
"y": -271.30517578125,
"x": 10081.87,
"y": -271.31,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 10109.029296875,
"y": -247.9755859375,
"x": 10109.03,
"y": -247.98,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 11,
"x": 10104.7802734375,
"y": -239.14111328125,
"x": 10104.78,
"y": -239.14,
"action": "",
"move_mode": "climb",
"type": "path"
},
{
"id": 12,
"x": 10100.47265625,
"y": -233.51025390625,
"x": 10100.47,
"y": -233.51,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 13,
"x": 10135.322265625,
"y": -208.42626953125,
"x": 10135.32,
"y": -208.43,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 14,
"x": 10139.955078125,
"y": -207.34130859375,
"x": 10139.96,
"y": -207.34,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 15,
"x": 10168.169921875,
"y": -192.21240234375,
"x": 10168.17,
"y": -192.21,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": 10168.556640625,
"y": -181.7119140625,
"x": 10168.56,
"y": -181.71,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 17,
"x": 10188.650390625,
"y": -179.45458984375,
"x": 10188.65,
"y": -179.45,
"action": "",
"move_mode": "walk",
"type": "target"

View File

@@ -5,29 +5,29 @@
"author": "曦",
"version": "1.0",
"description": "有神瞳标识可能影响识别,建议先拿",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 9424.361328125,
"y": -354.6318359375,
"x": 9424.36,
"y": -354.63,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 9415.603515625,
"y": -359.51513671875,
"x": 9415.6,
"y": -359.52,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 9399.7099609375,
"y": -368.58642578125,
"x": 9399.71,
"y": -368.59,
"action": "",
"move_mode": "fly",
"type": "target"

View File

@@ -5,93 +5,93 @@
"author": "曦",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 9757.9365234375,
"y": -613.6259765625,
"x": 9757.94,
"y": -613.63,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 9767.482421875,
"y": -603.498046875,
"x": 9767.48,
"y": -603.5,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 9760.5771484375,
"y": -599.49169921875,
"x": 9760.58,
"y": -599.49,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 9738.681640625,
"y": -605.9970703125,
"x": 9738.68,
"y": -606.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": 9741.373046875,
"y": -609.150390625,
"x": 9741.37,
"y": -609.15,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": 9737.21484375,
"y": -629.9384765625,
"x": 9737.21,
"y": -629.94,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 9680.38671875,
"y": -685.0224609375,
"x": 9680.39,
"y": -685.02,
"action": "stop_flying",
"move_mode": "fly",
"type": "target"
},
{
"id": 8,
"x": 9678.8623046875,
"y": -687.638671875,
"x": 9678.86,
"y": -687.64,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 9,
"x": 9662.65625,
"y": -700.2841796875,
"x": 9662.66,
"y": -700.28,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 9660.6416015625,
"y": -702.42138671875,
"x": 9660.64,
"y": -702.42,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 11,
"x": 9629.6357421875,
"y": -715.1630859375,
"x": 9629.64,
"y": -715.16,
"action": "",
"move_mode": "walk",
"type": "target"

View File

@@ -5,125 +5,125 @@
"author": "曦",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 9757.92578125,
"y": -613.60205078125,
"x": 9757.93,
"y": -613.6,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 9768.0009765625,
"y": -603.14404296875,
"x": 9768.0,
"y": -603.14,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 9771.236328125,
"y": -615.15625,
"x": 9771.24,
"y": -615.16,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 4,
"x": 9768.1357421875,
"y": -625.693359375,
"x": 9768.14,
"y": -625.69,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": 9789.041015625,
"y": -644.94189453125,
"x": 9789.04,
"y": -644.94,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": 9794.4111328125,
"y": -650.70556640625,
"x": 9794.41,
"y": -650.71,
"action": "",
"move_mode": "fly",
"type": "path"
},
{
"id": 7,
"x": 9812.0849609375,
"y": -667.34033203125,
"x": 9812.08,
"y": -667.34,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 9807.72265625,
"y": -687.66943359375,
"x": 9807.72,
"y": -687.67,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 9,
"x": 9799.1875,
"y": -731.08642578125,
"x": 9799.19,
"y": -731.09,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 9782.056640625,
"y": -769.68310546875,
"x": 9782.06,
"y": -769.68,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 11,
"x": 9777.36328125,
"y": -772.013671875,
"x": 9777.36,
"y": -772.01,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 12,
"x": 9869.029296875,
"y": -785.8115234375,
"x": 9869.03,
"y": -785.81,
"action": "",
"move_mode": "fly",
"type": "path"
},
{
"id": 13,
"x": 9874.111328125,
"y": -787.294921875,
"x": 9874.11,
"y": -787.29,
"action": "",
"move_mode": "climb",
"type": "path"
},
{
"id": 14,
"x": 9879.2109375,
"y": -798.48876953125,
"x": 9879.21,
"y": -798.49,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 15,
"x": 9870.568359375,
"y": -802.32275390625,
"x": 9870.57,
"y": -802.32,
"action": "",
"move_mode": "walk",
"type": "target"
@@ -131,55 +131,55 @@
{
"id": 16,
"x": 9867.25,
"y": -806.41796875,
"y": -806.42,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 17,
"x": 9876.6435546875,
"y": -774.40283203125,
"x": 9876.64,
"y": -774.4,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 18,
"x": 9886.29296875,
"y": -761.49951171875,
"x": 9886.29,
"y": -761.5,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 19,
"x": 9889.970703125,
"y": -728.71044921875,
"x": 9889.97,
"y": -728.71,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 20,
"x": 9890.994140625,
"y": -710.3916015625,
"x": 9890.99,
"y": -710.39,
"action": "",
"move_mode": "fly",
"type": "target"
},
{
"id": 21,
"x": 9889.921875,
"y": -710.07470703125,
"x": 9889.92,
"y": -710.07,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 22,
"x": 9889.21484375,
"y": -708.50732421875,
"x": 9889.21,
"y": -708.51,
"action": "",
"move_mode": "walk",
"type": "target"

View File

@@ -5,69 +5,69 @@
"author": "曦",
"version": "1.0",
"description": "需要盾位",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 10030.4072265625,
"y": -643.35498046875,
"x": 10030.41,
"y": -643.35,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 10041.791015625,
"y": -636.6591796875,
"x": 10041.79,
"y": -636.66,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 9995.884765625,
"y": -766.53955078125,
"x": 9995.88,
"y": -766.54,
"action": "stop_flying",
"move_mode": "fly",
"type": "target"
},
{
"id": 4,
"x": 9991.169921875,
"y": -784.07373046875,
"x": 9991.17,
"y": -784.07,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 9991.3095703125,
"y": -789.2470703125,
"x": 9991.31,
"y": -789.25,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 9988.7568359375,
"y": -787.84033203125,
"x": 9988.76,
"y": -787.84,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": 9982.9345703125,
"y": -802.93017578125,
"x": 9982.93,
"y": -802.93,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 9983.01953125,
"y": -803.90185546875,
"x": 9983.02,
"y": -803.9,
"action": "",
"move_mode": "walk",
"type": "target"

View File

@@ -5,29 +5,29 @@
"author": "曦",
"version": "1.0",
"description": "有一个解密剩余1个枯叶紫英",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 16,
"x": 9670.1640625,
"y": 171.38330078125,
"x": 9670.16,
"y": 171.38,
"type": "teleport",
"move_mode": "walk",
"action": "force_tp"
},
{
"id": 17,
"x": 9685.2041015625,
"y": 248.93212890625,
"x": 9685.2,
"y": 248.93,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 18,
"x": 9691.0078125,
"y": 261.84033203125,
"x": 9691.01,
"y": 261.84,
"type": "target",
"move_mode": "walk",
"action": ""

View File

@@ -5,277 +5,277 @@
"author": "曦",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 9875.55859375,
"y": -401.0849609375,
"x": 9875.56,
"y": -401.08,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 9880.40234375,
"y": -424.21728515625,
"x": 9880.4,
"y": -424.22,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 9905.08984375,
"y": -419.62158203125,
"x": 9905.09,
"y": -419.62,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 9852.13671875,
"y": -423.46826171875,
"x": 9852.14,
"y": -423.47,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 5,
"x": 9845.666015625,
"y": -428.82861328125,
"x": 9845.67,
"y": -428.83,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 9854.7822265625,
"y": -443.51171875,
"x": 9854.78,
"y": -443.51,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": 9832.806640625,
"y": -449.30615234375,
"x": 9832.81,
"y": -449.31,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 8,
"x": 9826.048828125,
"y": -464.78515625,
"x": 9826.05,
"y": -464.79,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 9,
"x": 9826.9970703125,
"y": -485.07421875,
"x": 9827.0,
"y": -485.07,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 9815.2294921875,
"y": -468.66796875,
"x": 9815.23,
"y": -468.67,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 11,
"x": 9799.7841796875,
"y": -466.5673828125,
"x": 9799.78,
"y": -466.57,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 12,
"x": 9804.58203125,
"y": -474.451171875,
"x": 9804.58,
"y": -474.45,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 13,
"x": 9803.892578125,
"y": -501.84326171875,
"x": 9803.89,
"y": -501.84,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 14,
"x": 9819.216796875,
"y": -496.1796875,
"x": 9819.22,
"y": -496.18,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 15,
"x": 9830.76953125,
"y": -531.2216796875,
"x": 9830.77,
"y": -531.22,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": 9837.8935546875,
"y": -547.1904296875,
"x": 9837.89,
"y": -547.19,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 18,
"x": 9881.3076171875,
"y": -593.3759765625,
"x": 9881.31,
"y": -593.38,
"action": "stop_flying",
"move_mode": "fly",
"type": "path"
},
{
"id": 19,
"x": 9898,
"y": -540.47021484375,
"x": 9898.0,
"y": -540.47,
"action": "",
"move_mode": "swim",
"type": "path"
},
{
"id": 20,
"x": 9903.2548828125,
"y": -500.59619140625,
"x": 9903.25,
"y": -500.6,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 21,
"x": 9912.326171875,
"y": -497.68994140625,
"x": 9912.33,
"y": -497.69,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 22,
"x": 9886.7822265625,
"y": -486.0615234375,
"x": 9886.78,
"y": -486.06,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 23,
"x": 9853.9169921875,
"y": -498.39697265625,
"x": 9853.92,
"y": -498.4,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 24,
"x": 9850.02734375,
"y": -493.73046875,
"x": 9850.03,
"y": -493.73,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 25,
"x": 9851.9716796875,
"y": -536.63330078125,
"x": 9851.97,
"y": -536.63,
"action": "",
"move_mode": "climb",
"type": "target"
},
{
"id": 26,
"x": 9846.4990234375,
"y": -512.35693359375,
"x": 9846.5,
"y": -512.36,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 27,
"x": 9828.0595703125,
"y": -527.6494140625,
"x": 9828.06,
"y": -527.65,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 28,
"x": 9820.470703125,
"y": -523.92578125,
"x": 9820.47,
"y": -523.93,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 29,
"x": 9808.8701171875,
"y": -528.4580078125,
"x": 9808.87,
"y": -528.46,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 30,
"x": 9765.7998046875,
"y": -512.2099609375,
"x": 9765.8,
"y": -512.21,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 31,
"x": 9765.11328125,
"y": -509.2373046875,
"x": 9765.11,
"y": -509.24,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 32,
"x": 9745.8154296875,
"y": -521.80322265625,
"x": 9745.82,
"y": -521.8,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 33,
"x": 9739.4560546875,
"y": -515.158203125,
"x": 9739.46,
"y": -515.16,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 34,
"x": 9745.8076171875,
"y": -506.396484375,
"x": 9745.81,
"y": -506.4,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 35,
"x": 9743.744140625,
"y": -490.0703125,
"x": 9743.74,
"y": -490.07,
"action": "",
"move_mode": "walk",
"type": "target"

View File

@@ -5,125 +5,125 @@
"author": "曦",
"version": "1.0",
"description": "该处有首杀宝箱9个枯叶紫英",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 10112.8125,
"y": -140.4072265625,
"x": 10112.81,
"y": -140.41,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 10101.7880859375,
"y": -156.1826171875,
"x": 10101.79,
"y": -156.18,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 3,
"x": 10099.572265625,
"y": -158.34228515625,
"x": 10099.57,
"y": -158.34,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 4,
"x": 10076.068359375,
"y": -191.6240234375,
"x": 10076.07,
"y": -191.62,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": 10044.9814453125,
"y": -213.365234375,
"x": 10044.98,
"y": -213.37,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 6,
"x": 10039.828125,
"y": -208.76220703125,
"x": 10039.83,
"y": -208.76,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 7,
"x": 10112.8330078125,
"y": -140.40771484375,
"x": 10112.83,
"y": -140.41,
"action": "force_tp",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 8,
"x": 10080.078125,
"y": -143.33642578125,
"x": 10080.08,
"y": -143.34,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 9,
"x": 10066.666015625,
"y": -114.21923828125,
"x": 10066.67,
"y": -114.22,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 10,
"x": 10019.50390625,
"y": -109.072265625,
"x": 10019.5,
"y": -109.07,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 11,
"x": 10012.990234375,
"y": -99.80419921875,
"x": 10012.99,
"y": -99.8,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 12,
"x": 10012.4033203125,
"y": -99.03955078125,
"x": 10012.4,
"y": -99.04,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 13,
"x": 9999.998046875,
"y": -121.20849609375,
"x": 10000.0,
"y": -121.21,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 14,
"x": 9999.166015625,
"y": -122.9794921875,
"x": 9999.17,
"y": -122.98,
"action": "",
"move_mode": "walk",
"type": "target"
},
{
"id": 15,
"x": 9989.5595703125,
"y": -127.77294921875,
"x": 9989.56,
"y": -127.77,
"action": "",
"move_mode": "walk",
"type": "target"