fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -5,69 +5,69 @@
|
||||
"author": "san",
|
||||
"version": "1.0",
|
||||
"description": "緋木村刀镡",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -2221.982967003034,
|
||||
"y": -3708.104146483198,
|
||||
"x": -2221.98,
|
||||
"y": -3708.1,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "teleport"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -2191.987976708024,
|
||||
"y": -3725.1079054857764,
|
||||
"x": -2191.99,
|
||||
"y": -3725.11,
|
||||
"action": "",
|
||||
"move_mode": "fly",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -2174.747662137672,
|
||||
"y": -3738.246793791919,
|
||||
"x": -2174.75,
|
||||
"y": -3738.25,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -2160.998413593419,
|
||||
"y": -3750.49469317283,
|
||||
"x": -2161.0,
|
||||
"y": -3750.49,
|
||||
"action": "fight",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": -2164.9952407802593,
|
||||
"y": -3761.2466279535693,
|
||||
"x": -2165.0,
|
||||
"y": -3761.25,
|
||||
"action": "fight",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": -2140.0005844655825,
|
||||
"y": -3780.500276397248,
|
||||
"x": -2140.0,
|
||||
"y": -3780.5,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": -2124.7505427180404,
|
||||
"y": -3790.9992260877043,
|
||||
"x": -2124.75,
|
||||
"y": -3791.0,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": -2121.9989980590017,
|
||||
"y": -3808.75005527945,
|
||||
"x": -2122.0,
|
||||
"y": -3808.75,
|
||||
"action": "fight",
|
||||
"move_mode": "walk",
|
||||
"type": "target"
|
||||
|
||||
Reference in New Issue
Block a user