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,13 +5,13 @@
"author": "ddaodan",
"version": "1.0",
"description": "丘丘萨满-青墟浦-2只",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 1470.17578125,
"y": -728.8544921875,
"x": 1470.18,
"y": -728.85,
"type": "teleport",
"move_mode": "walk",
"action": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": 1447.8447265625,
"y": -706.8056640625,
"x": 1447.84,
"y": -706.81,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 1436.8876953125,
"y": -681.78662109375,
"x": 1436.89,
"y": -681.79,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 1361.5205078125,
"y": -680.62939453125,
"x": 1361.52,
"y": -680.63,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 1316.82421875,
"y": -672.0947265625,
"x": 1316.82,
"y": -672.09,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 1294.0693359375,
"y": -655.1962890625,
"x": 1294.07,
"y": -655.2,
"type": "path",
"move_mode": "walk",
"action": "fight",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 1291.0146484375,
"y": -678.9228515625,
"x": 1291.01,
"y": -678.92,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 1308.5078125,
"y": -690.63525390625,
"x": 1308.51,
"y": -690.64,
"type": "path",
"move_mode": "walk",
"action": "fight",