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,93 +1,95 @@
{
"info":{
"name":"风车菊",
"type":"collect",
"author":"tignioj"
},
"positions":[
{
"x":-578.69921875,
"y":1853.2529296875,
"type":"teleport",
"move_mode":"walk",
"action":""
},
{
"x":-575.708984375,
"y":1847.0029296875,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-563.87890625,
"y":1843.85107421875,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-563.8984375,
"y":1843.927734375,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-561.185546875,
"y":1845.275390625,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-576.673828125,
"y":1845.72412109375,
"type":"path",
"move_mode":"walk",
"action":""
},
{
"x":-584.291015625,
"y":1871.025390625,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-582.9365234375,
"y":1872.62890625,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-583.955078125,
"y":1877.21337890625,
"type":"target",
"move_mode":"walk",
"action":""
},
{
"x":-573.3564453125,
"y":1875.30859375,
"type":"path",
"move_mode":"walk",
"action":""
},
{
"x":-545.333984375,
"y":1875.50732421875,
"type":"path",
"move_mode":"walk",
"action":""
},
{
"x":-548.26953125,
"y":1871.32373046875,
"type":"target",
"move_mode":"walk",
"action":""
}
]
"info": {
"name": "风车菊_蒙德_8个",
"type": "collect",
"author": "tignioj",
"version": "1.0",
"bgiVersion": "v0.42.0"
},
"positions": [
{
"x": -578.7,
"y": 1853.25,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"x": -575.71,
"y": 1847.0,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -563.88,
"y": 1843.85,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -563.9,
"y": 1843.93,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -561.19,
"y": 1845.28,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -576.67,
"y": 1845.72,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": -584.29,
"y": 1871.03,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -582.94,
"y": 1872.63,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -583.96,
"y": 1877.21,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"x": -573.36,
"y": 1875.31,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": -545.33,
"y": 1875.51,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"x": -548.27,
"y": 1871.32,
"type": "target",
"move_mode": "walk",
"action": ""
}
]
}