fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "绯樱绣球-荒海(砂流)-2个",
|
||||
"name": "05绯樱绣球-荒海(砂流)-2个",
|
||||
"type": "collect",
|
||||
"author": "起个名字好难",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.37.3"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -13,37 +13,37 @@
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": -4407.876953125,
|
||||
"y": -2397.98046875
|
||||
"x": -4407.88,
|
||||
"y": -2397.98
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -4405.279296875,
|
||||
"y": -2393.2353515625,
|
||||
"x": -4405.28,
|
||||
"y": -2393.24,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -4374.46875,
|
||||
"y": -2377.533203125,
|
||||
"x": -4374.47,
|
||||
"y": -2377.53,
|
||||
"type": "target",
|
||||
"move_mode": "walk",
|
||||
"action": "electro_collect"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -4369.138671875,
|
||||
"y": -2372.8466796875,
|
||||
"x": -4369.14,
|
||||
"y": -2372.85,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": -4336.7109375,
|
||||
"y": -2342.2734375,
|
||||
"x": -4336.71,
|
||||
"y": -2342.27,
|
||||
"type": "target",
|
||||
"move_mode": "fly",
|
||||
"action": "electro_collect"
|
||||
|
||||
Reference in New Issue
Block a user