fix: json data validation (#514)

* json data validation

* 使用 jsonDataValidation 自动更正

* fix: 字段缺失时补全而不是报错
This commit is contained in:
秋云
2025-04-03 22:02:37 +08:00
committed by GitHub
parent b865b200bc
commit fbef10776b
2595 changed files with 125405 additions and 122363 deletions

View File

@@ -1,11 +1,11 @@
{
"info": {
"name": "巨渊之后右1",
"name": "dq01巨渊之后右1",
"type": "collect",
"author": "下流山汉",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,14 +13,14 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 1701.4716796875,
"y": -582.36572265625,
"x": 1701.47,
"y": -582.37,
"action_params": ""
},
{
"id": 2,
"x": 1689.9970703125,
"y": -592.2041015625,
"x": 1690.0,
"y": -592.2,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": 1688.296875,
"y": -609.98095703125,
"x": 1688.3,
"y": -609.98,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": 1694.6552734375,
"y": -631.517578125,
"x": 1694.66,
"y": -631.52,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": 1705.779296875,
"y": -644.333984375,
"x": 1705.78,
"y": -644.33,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": 1716.6552734375,
"y": -656.17822265625,
"x": 1716.66,
"y": -656.18,
"type": "path",
"move_mode": "run",
"action": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": 1721.6953125,
"y": -681.2958984375,
"x": 1721.7,
"y": -681.3,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": 1725.9072265625,
"y": -687.2099609375,
"x": 1725.91,
"y": -687.21,
"type": "path",
"move_mode": "run",
"action": "fight",

View File

@@ -1,17 +1,17 @@
{
"info": {
"name": "鸣神大社右上情侣1",
"name": "dq02鸣神大社右上情侣1",
"type": "collect",
"author": "下流山汉",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -4408.826171875,
"y": -2395.2958984375,
"x": -4408.83,
"y": -2395.3,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": -4413.025390625,
"y": -2385.48828125,
"x": -4413.03,
"y": -2385.49,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": -4422.494140625,
"y": -2389.326171875,
"x": -4422.49,
"y": -2389.33,
"action": "",
"move_mode": "walk",
"action_params": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": -4434.978515625,
"y": -2384.50390625,
"x": -4434.98,
"y": -2384.5,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": -4448.158203125,
"y": -2380.541015625,
"x": -4448.16,
"y": -2380.54,
"action": "",
"move_mode": "run",
"action_params": "",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": -4462.595703125,
"y": -2363.3623046875,
"x": -4462.6,
"y": -2363.36,
"action": "fight",
"move_mode": "run",
"action_params": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": -4453.6640625,
"y": -2367.486328125,
"x": -4453.66,
"y": -2367.49,
"type": "path",
"move_mode": "run",
"action": "fight",