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,77 +13,77 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3097.271484375,
"y": -356.0009765625
"x": 3097.27,
"y": -356.0
},
{
"id": 2,
"x": 3121.9033203125,
"y": -365.96142578125,
"x": 3121.9,
"y": -365.96,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": 3143.484375,
"y": -387.66552734375,
"x": 3143.48,
"y": -387.67,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 4,
"x": 3165.2353515625,
"y": -406.3525390625,
"x": 3165.24,
"y": -406.35,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": 3195.4013671875,
"y": -405.7412109375,
"x": 3195.4,
"y": -405.74,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 6,
"x": 3206.9375,
"y": -399.5673828125,
"x": 3206.94,
"y": -399.57,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 7,
"x": 3227.5576171875,
"y": -399.98291015625,
"x": 3227.56,
"y": -399.98,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 8,
"x": 3243.7099609375,
"y": -410.7421875,
"x": 3243.71,
"y": -410.74,
"type": "path",
"move_mode": "walk",
"action": "fight"
},
{
"id": 9,
"x": 3254.4990234375,
"y": -424.876953125,
"x": 3254.5,
"y": -424.88,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": 3268.822265625,
"y": -416.95166015625,
"x": 3268.82,
"y": -416.95,
"type": "path",
"move_mode": "walk",
"action": "fight"