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

@@ -10,24 +10,24 @@
"positions": [
{
"id": 1,
"x": 8670.8818359375,
"y": -1269.6318359375,
"x": 8670.88,
"y": -1269.63,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 8637.8583984375,
"y": -1277.0888671875,
"x": 8637.86,
"y": -1277.09,
"action": "",
"move_mode": "fly",
"type": "path"
},
{
"id": 3,
"x": 8586.427734375,
"y": -1358.3427734375,
"x": 8586.43,
"y": -1358.34,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
@@ -35,8 +35,8 @@
},
{
"id": 4,
"x": 8585.8671875,
"y": -1350.1494140625,
"x": 8585.87,
"y": -1350.15,
"type": "target",
"move_mode": "walk",
"action": "combat_script",