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": [
{
@@ -18,7 +18,7 @@
},
{
"id": 2,
"x": 4572.286547716335,
"x": 4572.29,
"y": 4239.75,
"action": "",
"move_mode": "fly",
@@ -26,16 +26,16 @@
},
{
"id": 3,
"x": 4612.768160355943,
"y": 4262,
"x": 4612.77,
"y": 4262.0,
"action": "stop_flying",
"move_mode": "fly",
"type": "path"
},
{
"id": 4,
"x": 4660,
"y": 4280,
"x": 4660.0,
"y": 4280.0,
"action": "fight",
"move_mode": "run",
"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": 4660,
"y": 4280,
"x": 4660.0,
"y": 4280.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 2,
"x": 4772.585580677382,
"y": 4272,
"x": 4772.59,
"y": 4272.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": 4823.562426223554,
"y": 4298,
"x": 4823.56,
"y": 4298.0,
"action": "fight",
"move_mode": "walk",
"type": "path"

View File

@@ -5,20 +5,20 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4823.562426223554,
"y": 4298,
"x": 4823.56,
"y": 4298.0,
"action": "",
"move_mode": "climb",
"type": "path"
},
{
"id": 2,
"x": 4844.334899664033,
"x": 4844.33,
"y": 4306.5,
"action": "",
"move_mode": "swim",
@@ -26,8 +26,8 @@
},
{
"id": 3,
"x": 4898.845703125,
"y": 4357.0478515625,
"x": 4898.85,
"y": 4357.05,
"action": "fight",
"move_mode": "swim",
"type": "target"

View File

@@ -5,21 +5,21 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4906.25146484375,
"y": 4358.3017578125,
"x": 4906.25,
"y": 4358.3,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 4911.82373046875,
"y": 4390.6103515625,
"x": 4911.82,
"y": 4390.61,
"action": "fight",
"move_mode": "run",
"type": "path"

View File

@@ -5,12 +5,12 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 4911.5413148097705,
"x": 4911.54,
"y": 4388.25,
"action": "",
"move_mode": "run",
@@ -18,8 +18,8 @@
},
{
"id": 2,
"x": 4983.016344320348,
"y": 4519,
"x": 4983.02,
"y": 4519.0,
"action": "fight",
"move_mode": "run",
"type": "target"

View File

@@ -5,7 +5,7 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -18,8 +18,8 @@
},
{
"id": 2,
"x": 5098.266503223464,
"y": 4527,
"x": 5098.27,
"y": 4527.0,
"action": "fight",
"move_mode": "walk",
"type": "path"

View File

@@ -5,20 +5,20 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 5098.266503223464,
"y": 4527,
"x": 5098.27,
"y": 4527.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 2,
"x": 5072.810496685735,
"x": 5072.81,
"y": 4615.25,
"action": "fight",
"move_mode": "run",

View File

@@ -5,7 +5,7 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -18,32 +18,32 @@
},
{
"id": 2,
"x": 4551.2998046875,
"y": 4730.78662109375,
"x": 4551.3,
"y": 4730.79,
"action": "fight",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 4490.741355877758,
"y": 4635.979836495737,
"x": 4490.74,
"y": 4635.98,
"action": "fight",
"move_mode": "run",
"type": "path"
},
{
"id": 4,
"x": 4390,
"y": 4590,
"x": 4390.0,
"y": 4590.0,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 5,
"x": 4385.789026812108,
"y": 4622.979836495737,
"x": 4385.79,
"y": 4622.98,
"action": "fight",
"move_mode": "walk",
"type": "target"

View File

@@ -5,7 +5,7 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -18,48 +18,48 @@
},
{
"id": 2,
"x": 4040.9541015625,
"y": 2562.65283203125,
"x": 4040.95,
"y": 2562.65,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 4050.28125,
"y": 2562.45654296875,
"x": 4050.28,
"y": 2562.46,
"action": "fight",
"move_mode": "walk",
"type": "path"
},
{
"id": 4,
"x": 4016.609643149006,
"y": 2588,
"x": 4016.61,
"y": 2588.0,
"action": "",
"move_mode": "fly",
"type": "path"
},
{
"id": 5,
"x": 4044.21484375,
"y": 2627.840087890625,
"x": 4044.21,
"y": 2627.84,
"action": "stop_flying",
"move_mode": "fly",
"type": "path"
},
{
"id": 6,
"x": 4044.21484375,
"y": 2627.840087890625,
"x": 4044.21,
"y": 2627.84,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": 4039.19140625,
"y": 2633.33544921875,
"x": 4039.19,
"y": 2633.34,
"action": "fight",
"move_mode": "walk",
"type": "target"

View File

@@ -5,7 +5,7 @@
"author": "XS",
"version": "1.0",
"description": "第一个点位高危",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -18,7 +18,7 @@
},
{
"id": 2,
"x": 3905.0517570144366,
"x": 3905.05,
"y": 2530.5,
"action": "",
"move_mode": "run",
@@ -26,7 +26,7 @@
},
{
"id": 3,
"x": 3891.5578861345675,
"x": 3891.56,
"y": 2526.5,
"action": "fight",
"move_mode": "run",
@@ -34,7 +34,7 @@
},
{
"id": 5,
"x": 3872.3166258058664,
"x": 3872.32,
"y": 2492.75,
"action": "",
"move_mode": "run",
@@ -42,16 +42,16 @@
},
{
"id": 6,
"x": 3936.2875692363577,
"y": 2399,
"x": 3936.29,
"y": 2399.0,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": 3944.2099609375,
"y": 2395.286865234375,
"x": 3944.21,
"y": 2395.29,
"action": "fight",
"move_mode": "climb",
"type": "target"

View File

@@ -5,21 +5,21 @@
"author": "迷茫之途",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 3811.6484375,
"y": 4952.52294921875,
"x": 3811.65,
"y": 4952.52,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 3862.6982421875,
"y": 4941.82958984375,
"x": 3862.7,
"y": 4941.83,
"action": "fight",
"move_mode": "walk",
"type": "path"