fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "浊水幻灵-茉洁站",
|
||||
"name": "浊水幻灵-枫丹7-茉洁站",
|
||||
"type": "collect",
|
||||
"author": "无狐",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 3773.9716796875,
|
||||
"y": 3783.893798828125,
|
||||
"x": 3773.97,
|
||||
"y": 3783.89,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -19,8 +19,8 @@
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 3848.033203125,
|
||||
"y": 3841.9443359375,
|
||||
"x": 3848.03,
|
||||
"y": 3841.94,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -28,8 +28,8 @@
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": 3877.1171875,
|
||||
"y": 3861.924560546875,
|
||||
"x": 3877.12,
|
||||
"y": 3861.92,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -37,8 +37,8 @@
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": 3948.984375,
|
||||
"y": 3857.572998046875,
|
||||
"x": 3948.98,
|
||||
"y": 3857.57,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -46,8 +46,8 @@
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": 4025.6640625,
|
||||
"y": 3868.717041015625,
|
||||
"x": 4025.66,
|
||||
"y": 3868.72,
|
||||
"type": "path",
|
||||
"move_mode": "fly",
|
||||
"action": "",
|
||||
@@ -55,8 +55,8 @@
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": 4062.5146484375,
|
||||
"y": 3872.512939453125,
|
||||
"x": 4062.51,
|
||||
"y": 3872.51,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "fight",
|
||||
@@ -64,8 +64,8 @@
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": 4125.3173828125,
|
||||
"y": 3984.607666015625,
|
||||
"x": 4125.32,
|
||||
"y": 3984.61,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -73,8 +73,8 @@
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": 4198.668457031251,
|
||||
"y": 4012.6020507812495,
|
||||
"x": 4198.67,
|
||||
"y": 4012.6,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "fight",
|
||||
@@ -82,8 +82,8 @@
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": 4200.19482421875,
|
||||
"y": 4098.6123046875,
|
||||
"x": 4200.19,
|
||||
"y": 4098.61,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -91,8 +91,8 @@
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": 4237.73046875,
|
||||
"y": 4145.755859375,
|
||||
"x": 4237.73,
|
||||
"y": 4145.76,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -100,8 +100,8 @@
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": 4277.7744140625,
|
||||
"y": 4200.0341796875,
|
||||
"x": 4277.77,
|
||||
"y": 4200.03,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
@@ -109,8 +109,8 @@
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"x": 4296.5390625,
|
||||
"y": 4233.6982421875,
|
||||
"x": 4296.54,
|
||||
"y": 4233.7,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "fight",
|
||||
|
||||
Reference in New Issue
Block a user