fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -1,105 +1,105 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "海祇岛左上-刀镡",
|
||||
"name": "05越石村-刀镡",
|
||||
"type": "collect",
|
||||
"author": "XS",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -4023.31640625,
|
||||
"y": -4428.810546875,
|
||||
"x": -4023.32,
|
||||
"y": -4428.81,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": -3999.2109375,
|
||||
"y": -4454.3916015625,
|
||||
"x": -3999.21,
|
||||
"y": -4454.39,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"x": -3979.423828125,
|
||||
"y": -4486.515625,
|
||||
"x": -3979.42,
|
||||
"y": -4486.52,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"x": -3980.57421875,
|
||||
"y": -4506.080078125,
|
||||
"x": -3980.57,
|
||||
"y": -4506.08,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"x": -3990.65625,
|
||||
"y": -4573.2197265625,
|
||||
"x": -3990.66,
|
||||
"y": -4573.22,
|
||||
"type": "path",
|
||||
"move_mode": "fly",
|
||||
"action": "stop_flying"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": -3996.2294921875,
|
||||
"y": -4611.5849609375,
|
||||
"x": -3996.23,
|
||||
"y": -4611.58,
|
||||
"type": "path",
|
||||
"move_mode": "swim",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"x": -3999.2109375,
|
||||
"y": -4625.9677734375,
|
||||
"x": -3999.21,
|
||||
"y": -4625.97,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "fight"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"x": -3990.1962890625,
|
||||
"y": -4634.8671875,
|
||||
"x": -3990.2,
|
||||
"y": -4634.87,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"x": -3976.3232421875,
|
||||
"y": -4637.3935546875,
|
||||
"x": -3976.32,
|
||||
"y": -4637.39,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"x": -3979.3134765625,
|
||||
"y": -4665.0390625,
|
||||
"x": -3979.31,
|
||||
"y": -4665.04,
|
||||
"type": "path",
|
||||
"move_mode": "run",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"x": -3983.6484375,
|
||||
"y": -4681.638671875,
|
||||
"x": -3983.65,
|
||||
"y": -4681.64,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": ""
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"x": -3964.0546875,
|
||||
"y": -4690.798828125,
|
||||
"x": -3964.05,
|
||||
"y": -4690.8,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "fight"
|
||||
|
||||
Reference in New Issue
Block a user