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

@@ -2,88 +2,88 @@
"info": {
"name": "松茸17",
"type": "collect",
"author": "",
"author": "未知作者",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1273.849609375,
"y": 2721.698486328125,
"x": -1273.85,
"y": 2721.7,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1248.0341796875,
"y": 2746.649169921875,
"x": -1248.03,
"y": 2746.65,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -1244.49609375,
"y": 2750.338623046875,
"x": -1244.5,
"y": 2750.34,
"action": "nahida_collect",
"move_mode": "fly",
"type": "path"
},
{
"id": 4,
"x": -1242.923828125,
"y": 2745.03759765625,
"x": -1242.92,
"y": 2745.04,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": -1239.3173828125,
"y": 2733.2080078125,
"x": -1239.32,
"y": 2733.21,
"action": "stop_flying",
"move_mode": "fly",
"type": "path"
},
{
"id": 6,
"x": -1239.4755859375,
"y": 2733.65234375,
"x": -1239.48,
"y": 2733.65,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 7,
"x": -1232.5361328125,
"y": 2719.094970703125,
"x": -1232.54,
"y": 2719.09,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 8,
"x": -1225.525390625,
"y": 2700.7802734375,
"x": -1225.53,
"y": 2700.78,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 9,
"x": -1329.9990234375,
"y": 2563.89599609375,
"x": -1330.0,
"y": 2563.9,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": -1325.4716796875,
"y": 2566.825439453125,
"x": -1325.47,
"y": 2566.83,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"