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,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,29 +13,29 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4050.0068359375,
"y": -2657.4482421875
"x": -4050.01,
"y": -2657.45
},
{
"id": 2,
"x": -4020.79296875,
"y": -2625.603515625,
"x": -4020.79,
"y": -2625.6,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -3983.13671875,
"y": -2617.7021484375,
"x": -3983.14,
"y": -2617.7,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -3915.34765625,
"y": -2611.6650390625,
"x": -3915.35,
"y": -2611.67,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4217.8681640625,
"y": -2397.796875
"x": -4217.87,
"y": -2397.8
},
{
"id": 2,
"x": -4158.2578125,
"y": -2279.8603515625,
"x": -4158.26,
"y": -2279.86,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": -4157.828125,
"y": -2279.4052734375,
"x": -4157.83,
"y": -2279.41,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4217.8896484375,
"y": -2397.8291015625
"x": -4217.89,
"y": -2397.83
},
{
"id": 2,
"x": -4116.0625,
"y": -2422.125,
"x": -4116.06,
"y": -2422.12,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": -4116.0556640625,
"y": -2427.6640625,
"x": -4116.06,
"y": -2427.66,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,53 +5,53 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -3903.2294921875,
"y": -2433.1435546875,
"x": -3903.23,
"y": -2433.14,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": -3926.19921875,
"y": -2436.0302734375,
"x": -3926.2,
"y": -2436.03,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": -3919.0361328125,
"y": -2415.345703125,
"x": -3919.04,
"y": -2415.35,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": -3912.0302734375,
"y": -2406.8330078125,
"x": -3912.03,
"y": -2406.83,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": -3889.4966553384147,
"y": -2406.7556003016325,
"x": -3889.5,
"y": -2406.76,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": -3878.995491977863,
"y": -2380.9884175579864,
"x": -3879.0,
"y": -2380.99,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4232.080078125,
"y": -3001.98828125
"x": -4232.08,
"y": -3001.99
},
{
"id": 2,
"x": -4264.9453125,
"y": -2962.744140625,
"x": -4264.95,
"y": -2962.74,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,36 +5,36 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -4232.2314453125,
"y": -3001.935546875,
"x": -4232.23,
"y": -3001.94,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -4211.7484003792415,
"y": -3040.24656345127,
"x": -4211.75,
"y": -3040.25,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -4202.503780921792,
"y": -3020.7489817633395,
"x": -4202.5,
"y": -3020.75,
"type": "path",
"move_mode": "run"
},
{
"id": 4,
"x": -4178.302734375,
"y": -3003.1923828125,
"x": -4178.3,
"y": -3003.19,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -3931.3251953125,
"y": -3202.8115234375
"x": -3931.33,
"y": -3202.81
},
{
"id": 2,
"x": -3925.7802734375,
"y": -3166.298828125,
"x": -3925.78,
"y": -3166.3,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,29 +13,29 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -3437.0390625,
"y": -3319.7783203125
"x": -3437.04,
"y": -3319.78
},
{
"id": 2,
"x": -3408.5263671875,
"y": -3292.0537109375,
"x": -3408.53,
"y": -3292.05,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -3404.6337890625,
"y": -3235.8017578125,
"x": -3404.63,
"y": -3235.8,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -3424.9931640625,
"y": -3174.16796875,
"x": -3424.99,
"y": -3174.17,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -3233.349609375,
"y": -3534.1513671875
"x": -3233.35,
"y": -3534.15
},
{
"id": 2,
"x": -3267.3466796875,
"y": -3496.376953125,
"x": -3267.35,
"y": -3496.38,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 4,
"x": -3270.5283203125,
"y": -3487.0029296875,
"x": -3270.53,
"y": -3487.0,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,29 +5,29 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -3476.04296875,
"y": -3755.7080078125,
"x": -3476.04,
"y": -3755.71,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -3476.6318359375,
"y": -3724.8818359375,
"x": -3476.63,
"y": -3724.88,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -3442.671875,
"y": -3762.9619140625,
"x": -3442.67,
"y": -3762.96,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,37 +5,37 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -3476.04296875,
"y": -3755.7080078125,
"x": -3476.04,
"y": -3755.71,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -3476.6318359375,
"y": -3724.8818359375,
"x": -3476.63,
"y": -3724.88,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -3442.671875,
"y": -3762.9619140625,
"x": -3442.67,
"y": -3762.96,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": -3413.5498046875,
"y": -3756.23046875,
"x": -3413.55,
"y": -3756.23,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -2193.69140625,
"y": -3485.5771484375
"x": -2193.69,
"y": -3485.58
},
{
"id": 2,
"x": -2249.6025390625,
"y": -3506.7685546875,
"x": -2249.6,
"y": -3506.77,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": -2316.361328125,
"y": -3501.546875,
"x": -2316.36,
"y": -3501.55,
"type": "path",
"move_mode": "fly",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,29 +13,29 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1315.2216796875,
"y": -3776.0751953125
"x": -1315.22,
"y": -3776.08
},
{
"id": 2,
"x": -1313.4072265625,
"y": -3736.8564453125,
"x": -1313.41,
"y": -3736.86,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": -1269.2491274795866,
"y": -3754.5044547853904,
"x": -1269.25,
"y": -3754.5,
"type": "path",
"move_mode": "swim",
"action": ""
},
{
"id": 4,
"x": -1228.005859375,
"y": -3754.45703125,
"x": -1228.01,
"y": -3754.46,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -2811.1708984375,
"y": -6048.8701171875
"x": -2811.17,
"y": -6048.87
},
{
"id": 2,
"x": -2772.306640625,
"y": -6050.5029296875,
"x": -2772.31,
"y": -6050.5,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -3269.43359375,
"y": -6136.0830078125
"x": -3269.43,
"y": -6136.08
},
{
"id": 2,
"x": -3276.4248046875,
"y": -6102.529296875,
"x": -3276.42,
"y": -6102.53,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": -3279.4892578125,
"y": -6104.8076171875,
"x": -3279.49,
"y": -6104.81,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,21 +5,21 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -3103.5478515625,
"y": -6268.52734375,
"x": -3103.55,
"y": -6268.53,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -3198.6796875,
"y": -6265.7431640625,
"x": -3198.68,
"y": -6265.74,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4170.578125,
"y": -4571.310546875
"x": -4170.58,
"y": -4571.31
},
{
"id": 2,
"x": -4141.3955078125,
"y": -4587.525390625,
"x": -4141.4,
"y": -4587.53,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": -4136.490234375,
"y": -4578.876953125,
"x": -4136.49,
"y": -4578.88,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4023.279296875,
"y": -4428.78515625
"x": -4023.28,
"y": -4428.79
},
{
"id": 2,
"x": -4002.4638671875,
"y": -4397.6298828125,
"x": -4002.46,
"y": -4397.63,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -4000.896484375,
"y": -4333.1728515625,
"x": -4000.9,
"y": -4333.17,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"