fix: json data validation (#514)
* json data validation * 使用 jsonDataValidation 自动更正 * fix: 字段缺失时补全而不是报错
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
"name": "01-慕风蘑菇-蒙德城北2个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -20,7 +20,7 @@
|
||||
{
|
||||
"id": 2,
|
||||
"x": -848.24,
|
||||
"y": 2339.50,
|
||||
"y": 2339.5,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
@@ -29,7 +29,7 @@
|
||||
{
|
||||
"id": 3,
|
||||
"x": -848.24,
|
||||
"y": 2339.50,
|
||||
"y": 2339.5,
|
||||
"action": "combat_script",
|
||||
"move_mode": "walk",
|
||||
"action_params": "keypress(X)",
|
||||
@@ -38,7 +38,7 @@
|
||||
{
|
||||
"id": 4,
|
||||
"x": -848.24,
|
||||
"y": 2339.50,
|
||||
"y": 2339.5,
|
||||
"action": "nahida_collect",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "02-慕风蘑菇-蒙德城北2个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -14,7 +14,7 @@
|
||||
"move_mode": "walk",
|
||||
"type": "teleport",
|
||||
"x": -749.02,
|
||||
"y": 2263.00,
|
||||
"y": 2263.0,
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
@@ -22,7 +22,7 @@
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"type": "path",
|
||||
"x": -809.70,
|
||||
"x": -809.7,
|
||||
"y": 2287.25,
|
||||
"action_params": ""
|
||||
},
|
||||
@@ -31,7 +31,7 @@
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"type": "path",
|
||||
"x": -809.70,
|
||||
"x": -809.7,
|
||||
"y": 2287.25,
|
||||
"action_params": ""
|
||||
},
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "03-慕风蘑菇-蒙德城东北5个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
"name": "04-慕风蘑菇-蒙德城东南下层6个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": -867.70,
|
||||
"x": -867.7,
|
||||
"y": 2281.37,
|
||||
"type": "teleport",
|
||||
"move_mode": "walk",
|
||||
@@ -65,7 +65,7 @@
|
||||
{
|
||||
"id": 7,
|
||||
"x": -872.68,
|
||||
"y": 2206.10,
|
||||
"y": 2206.1,
|
||||
"type": "path",
|
||||
"move_mode": "walk",
|
||||
"action": "",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "05-慕风蘑菇-蒙德城东南上层6个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "06-慕风蘑菇-蒙德城南大风车4个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -47,7 +47,7 @@
|
||||
{
|
||||
"id": 5,
|
||||
"x": -761.24,
|
||||
"y": 2213,
|
||||
"y": 2213.0,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"action_params": "",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"author": "秋云",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -20,7 +20,7 @@
|
||||
{
|
||||
"id": 2,
|
||||
"x": -771.97,
|
||||
"y": 2253.20,
|
||||
"y": 2253.2,
|
||||
"type": "path",
|
||||
"move_mode": "fly",
|
||||
"action": "log_output",
|
||||
@@ -44,7 +44,7 @@
|
||||
"action": "nahida_collect",
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
{
|
||||
"id": 5,
|
||||
"x": -795.92,
|
||||
"y": 2228.38,
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "09-慕风蘑菇-晨曦酒庄7个",
|
||||
"type": "collect",
|
||||
"author": "yulalaa&秋云&取个名字好难",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -19,7 +19,7 @@
|
||||
{
|
||||
"id": 2,
|
||||
"x": -567.62,
|
||||
"y": 1812,
|
||||
"y": 1812.0,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
"action_params": "",
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"x": -508,
|
||||
"x": -508.0,
|
||||
"y": 1736.53,
|
||||
"action": "",
|
||||
"move_mode": "walk",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "10-慕风蘑菇-清泉镇4个",
|
||||
"type": "collect",
|
||||
"author": "秋云",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"name": "11-慕风蘑菇-清泉镇14个",
|
||||
"type": "collect",
|
||||
"author": "秋云&起个名字好难",
|
||||
"version": "0.5",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgiVersion": "0.35.1"
|
||||
"bgiVersion": "v0.42.0"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
@@ -296,22 +296,22 @@
|
||||
"action_params": "",
|
||||
"type": "target"
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
{
|
||||
"id": 33,
|
||||
"action": "stop_flying",
|
||||
"move_mode": "fly",
|
||||
"type": "target",
|
||||
"x": -946.20,
|
||||
"y": 1932.70,
|
||||
"x": -946.2,
|
||||
"y": 1932.7,
|
||||
"action_params": ""
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"id": 34,
|
||||
"action": "nahida_collect",
|
||||
"move_mode": "walk",
|
||||
"type": "target",
|
||||
"x": -946.20,
|
||||
"y": 1932.70,
|
||||
"x": -946.2,
|
||||
"y": 1932.7,
|
||||
"action_params": ""
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user