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,11 +1,11 @@
{
"info": {
"name": "深渊法师3",
"name": "深渊法师_千风神殿左下_1个",
"type": "collect",
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -14,7 +14,7 @@
"move_mode": "walk",
"type": "teleport",
"x": -1490.5,
"y": 2284,
"y": 2284.0,
"action_params": ""
},
{
@@ -31,8 +31,8 @@
"action": "stop_flying",
"move_mode": "fly",
"type": "path",
"x": -1558,
"y": 2240,
"x": -1558.0,
"y": 2240.0,
"action_params": ""
},
{
@@ -40,7 +40,7 @@
"action": "fight",
"move_mode": "walk",
"type": "path",
"x": -1578,
"x": -1578.0,
"y": 2238.5,
"action_params": ""
}

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,8 +13,8 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 713.4323485912882,
"y": -777.6589727281762,
"x": 713.43,
"y": -777.66,
"action_params": ""
},
{
@@ -22,8 +22,8 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": 747.9999225073225,
"y": -839.99654496112,
"x": 748.0,
"y": -840.0,
"action_params": ""
},
{
@@ -31,8 +31,8 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": 853.4327292570724,
"y": -802.6516215816237,
"x": 853.43,
"y": -802.65,
"action_params": ""
},
{
@@ -40,8 +40,8 @@
"action": "fight",
"move_mode": "walk",
"type": "target",
"x": 880.9328040307082,
"y": -888.1264806604131,
"x": 880.93,
"y": -888.13,
"action_params": ""
}
]

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,14 +13,14 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 830.0025861356553,
"y": -594.4592746480985,
"x": 830.0,
"y": -594.46,
"action_params": ""
},
{
"id": 2,
"x": 869.374879416293,
"y": -526.5061014516386,
"x": 869.37,
"y": -526.51,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
@@ -31,8 +31,8 @@
"action": "fight",
"move_mode": "fly",
"type": "target",
"x": 885.3124987171941,
"y": -499.9378491794614,
"x": 885.31,
"y": -499.94,
"action_params": ""
}
]

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,8 +13,8 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 15.80030062701735,
"y": -133,
"x": 15.8,
"y": -133.0,
"action_params": ""
},
{
@@ -22,8 +22,8 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": -50.174642037209196,
"y": -103,
"x": -50.17,
"y": -103.0,
"action_params": ""
},
{
@@ -31,14 +31,14 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": -200.11769354681383,
"y": -109,
"x": -200.12,
"y": -109.0,
"action_params": ""
},
{
"id": 4,
"x": -220,
"y": -140,
"x": -220.0,
"y": -140.0,
"type": "target",
"move_mode": "fly",
"action": "fight",

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,8 +13,8 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 341.74938413714153,
"y": 525.952658616201,
"x": 341.75,
"y": 525.95,
"action_params": ""
},
{
@@ -22,8 +22,8 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": 341.99985657057005,
"y": 512.0421955812126,
"x": 342.0,
"y": 512.04,
"action_params": ""
},
{
@@ -31,8 +31,8 @@
"action": "fight",
"move_mode": "walk",
"type": "target",
"x": 234.49909251995996,
"y": 501.7097892283564,
"x": 234.5,
"y": 501.71,
"action_params": ""
}
]

View File

@@ -1,16 +1,16 @@
{
"info": {
"name": "深渊法师2",
"name": "深渊法师_望风角左下_1个",
"type": "collect",
"author": "FuYeqi",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1622,
"x": -1622.0,
"y": 2835.5,
"action": "",
"move_mode": "walk",
@@ -20,7 +20,7 @@
{
"id": 2,
"x": -1616.5,
"y": 2829,
"y": 2829.0,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -37,7 +37,7 @@
},
{
"id": 4,
"x": -1564,
"x": -1564.0,
"y": 2742.5,
"action": "fight",
"move_mode": "walk",

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{

View File

@@ -5,7 +5,7 @@
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,7 +13,7 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -574.4650715925582,
"x": -574.47,
"y": 1446.5,
"action_params": ""
},
@@ -22,14 +22,14 @@
"action": "",
"move_mode": "walk",
"type": "path",
"x": -665.9303330134171,
"x": -665.93,
"y": 1483.5,
"action_params": ""
},
{
"id": 3,
"x": -696,
"y": 1510,
"x": -696.0,
"y": 1510.0,
"type": "target",
"move_mode": "walk",
"action": "fight",

View File

@@ -1,11 +1,11 @@
{
"info": {
"name": "未命名路径",
"name": "深渊法师_蒙德武器本旁_1个",
"type": "collect",
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,7 +13,7 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -227,
"x": -227.0,
"y": 2247.5,
"action_params": ""
},
@@ -32,7 +32,7 @@
"move_mode": "climb",
"type": "path",
"x": -223.5,
"y": 2224,
"y": 2224.0,
"action_params": ""
},
{

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "深渊法师4",
"name": "深渊法师_达达乌帕谷左及左上_1+1个",
"type": "collect",
"author": "FuYeqi",
"version": "1.0",
"description": "深渊法师",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1097.469551350663,
"y": 1600.6767820098812,
"x": -1097.47,
"y": 1600.68,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": -1259.469551350663,
"y": 1613.6767820098812,
"x": -1259.47,
"y": 1613.68,
"action": "fight",
"move_mode": "walk",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": -1295.469551350663,
"y": 1521.6767820098812,
"x": -1295.47,
"y": 1521.68,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": -1317.469551350663,
"y": 1476.6767820098812,
"x": -1317.47,
"y": 1476.68,
"action": "",
"move_mode": "fly",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": -1377.469551350663,
"y": 1375.6767820098812,
"x": -1377.47,
"y": 1375.68,
"action": "fight",
"move_mode": "walk",
"action_params": "",