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,21 +13,21 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4626.0869140625,
"y": 2182.316162109375
"x": 4626.09,
"y": 2182.32
},
{
"id": 2,
"x": 4594.5126953125,
"y": 2152.251220703125,
"x": 4594.51,
"y": 2152.25,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 3,
"x": 4578.5517578125,
"y": 2136.3623046875,
"x": 4578.55,
"y": 2136.36,
"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,45 +13,45 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4876.5380859375,
"y": 2255.26953125
"x": 4876.54,
"y": 2255.27
},
{
"id": 2,
"x": 4912.98681640625,
"y": 2196.415283203125,
"x": 4912.99,
"y": 2196.42,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": 4913.46630859375,
"y": 2195.17138671875,
"x": 4913.47,
"y": 2195.17,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 4,
"x": 4917.40087890625,
"y": 2176.373779296875,
"x": 4917.4,
"y": 2176.37,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 4931.93994140625,
"y": 2132.56494140625,
"x": 4931.94,
"y": 2132.56,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 6,
"x": 4949.98681640625,
"y": 2134.1630859375,
"x": 4949.99,
"y": 2134.16,
"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": 4954.9931640625,
"y": 2760.087158203125
"x": 4954.99,
"y": 2760.09
},
{
"id": 2,
"x": 4950.392578125,
"y": 2673.154296875,
"x": 4950.39,
"y": 2673.15,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 3,
"x": 4948.3779296875,
"y": 2676.48486328125,
"x": 4948.38,
"y": 2676.48,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 4,
"x": 4982.79833984375,
"y": 2693.951416015625,
"x": 4982.8,
"y": 2693.95,
"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,61 +13,61 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4701.3623046875,
"y": 3958.6357421875
"x": 4701.36,
"y": 3958.64
},
{
"id": 2,
"x": 4732.85009765625,
"y": 3964.16845703125,
"x": 4732.85,
"y": 3964.17,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 4769.99560546875,
"y": 3910.095458984375,
"x": 4770.0,
"y": 3910.1,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": 4762.34716796875,
"y": 3896.97216796875,
"x": 4762.35,
"y": 3896.97,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 4767.31884765625,
"y": 3850.37060546875,
"x": 4767.32,
"y": 3850.37,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": 4751.9033203125,
"y": 3807.768310546875,
"x": 4751.9,
"y": 3807.77,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 7,
"x": 4760.1787109375,
"y": 3794.306396484375,
"x": 4760.18,
"y": 3794.31,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 8,
"x": 4736.3740234375,
"y": 3754.123779296875,
"x": 4736.37,
"y": 3754.12,
"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,69 +13,69 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4703.078125,
"y": 3958.392578125
"x": 4703.08,
"y": 3958.39
},
{
"id": 2,
"x": 4664.9169921875,
"y": 3952.274658203125,
"x": 4664.92,
"y": 3952.27,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 4647.29443359375,
"y": 3892.216552734375,
"x": 4647.29,
"y": 3892.22,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": 4613.89697265625,
"y": 3876.253173828125,
"x": 4613.9,
"y": 3876.25,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 5,
"x": 4596.505859375,
"y": 3857.361328125,
"x": 4596.51,
"y": 3857.36,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 6,
"x": 4596.32373046875,
"y": 3869.88623046875,
"x": 4596.32,
"y": 3869.89,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 7,
"x": 4603.58935546875,
"y": 3893.351318359375,
"x": 4603.59,
"y": 3893.35,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 8,
"x": 4591.466796875,
"y": 3894.532958984375,
"x": 4591.47,
"y": 3894.53,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 9,
"x": 4577.32373046875,
"y": 3894.48876953125,
"x": 4577.32,
"y": 3894.49,
"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,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4498.203125,
"y": 4710.783203125
"x": 4498.2,
"y": 4710.78
},
{
"id": 3,
"x": 4509.05419921875,
"y": 4663.73681640625,
"x": 4509.05,
"y": 4663.74,
"type": "path",
"move_mode": "run",
"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": 3636.02001953125,
"y": 4796.115234375,
"x": 3636.02,
"y": 4796.12,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 3669.2484003792415,
"y": 4768.25343654873,
"x": 3669.25,
"y": 4768.25,
"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,37 +13,37 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3923.05517578125,
"y": 4233.83203125
"x": 3923.06,
"y": 4233.83
},
{
"id": 2,
"x": 3915.46826171875,
"y": 4245.7431640625,
"x": 3915.47,
"y": 4245.74,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 3893.8681640625,
"y": 4267.53955078125,
"x": 3893.87,
"y": 4267.54,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 3834.8701171875,
"y": 4267.54443359375,
"x": 3834.87,
"y": 4267.54,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": 3824.71142578125,
"y": 4265.376953125,
"x": 3824.71,
"y": 4265.38,
"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,13 +13,13 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3618.27392578125,
"y": 4057.899169921875
"x": 3618.27,
"y": 4057.9
},
{
"id": 2,
"x": 3589.734375,
"y": 4073.52880859375,
"x": 3589.73,
"y": 4073.53,
"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": 3774.02685546875,
"y": 3783.8818359375
"x": 3774.03,
"y": 3783.88
},
{
"id": 2,
"x": 3813.71484375,
"y": 3804.054931640625,
"x": 3813.71,
"y": 3804.05,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": 3816.53173828125,
"y": 3805.42431640625,
"x": 3816.53,
"y": 3805.42,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": 3828.49658203125,
"y": 3822.245361328125,
"x": 3828.5,
"y": 3822.25,
"type": "path",
"move_mode": "run",
"action": ""

View File

@@ -5,7 +5,7 @@
"author": "不瘦五十斤不改名",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,45 +13,45 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3774.09912109375,
"y": 3783.984130859375
"x": 3774.1,
"y": 3783.98
},
{
"id": 4,
"x": 3802.76806640625,
"y": 3759.806396484375,
"x": 3802.77,
"y": 3759.81,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 3,
"x": 3861.291015625,
"y": 3722.5625,
"x": 3861.29,
"y": 3722.56,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 4,
"x": 3864.10498046875,
"y": 3722.2578125,
"x": 3864.1,
"y": 3722.26,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 5,
"x": 3902.77392578125,
"y": 3717.097412109375,
"x": 3902.77,
"y": 3717.1,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 6,
"x": 3902.685546875,
"y": 3716.814697265625,
"x": 3902.69,
"y": 3716.81,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"