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

@@ -5,389 +5,389 @@
"author": "yulalaa",
"version": "1.0",
"description": "",
"bgiVersion": "0.34.5"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1506.9775390625,
"y": 2297.84130859375,
"x": -1506.98,
"y": 2297.84,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": -1604.3701171875,
"y": 2409.84326171875,
"x": -1604.37,
"y": 2409.84,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": -1652.3115234375,
"y": 2423.43408203125,
"x": -1652.31,
"y": 2423.43,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 4,
"x": -1691.08984375,
"y": 2445.873779296875,
"x": -1691.09,
"y": 2445.87,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": -1702.5439453125,
"y": 2439.841064453125,
"x": -1702.54,
"y": 2439.84,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 6,
"x": -1723.6318359375,
"y": 2462.883056640625,
"x": -1723.63,
"y": 2462.88,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 7,
"x": -1720.6904296875,
"y": 2475.099609375,
"x": -1720.69,
"y": 2475.1,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 8,
"x": -1719.033203125,
"y": 2480.406494140625,
"x": -1719.03,
"y": 2480.41,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 9,
"x": -1702.3291015625,
"y": 2457.38916015625,
"x": -1702.33,
"y": 2457.39,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": -1701.1181640625,
"y": 2455.237548828125,
"x": -1701.12,
"y": 2455.24,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 11,
"x": -1701.11328125,
"y": 2455.240234375,
"x": -1701.11,
"y": 2455.24,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 12,
"x": -1696.94921875,
"y": 2506.199951171875,
"x": -1696.95,
"y": 2506.2,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 13,
"x": -1699.3232421875,
"y": 2508.429443359375,
"x": -1699.32,
"y": 2508.43,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 14,
"x": -1722.06640625,
"y": 2512.48876953125,
"x": -1722.07,
"y": 2512.49,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 15,
"x": -1725.1875,
"y": 2513.665771484375,
"x": -1725.19,
"y": 2513.67,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 16,
"x": -1724.283203125,
"y": 2510.134521484375,
"x": -1724.28,
"y": 2510.13,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 17,
"x": -1744.82421875,
"y": 2602.228515625,
"x": -1744.82,
"y": 2602.23,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 18,
"x": -1745.4140625,
"y": 2610.408935546875,
"x": -1745.41,
"y": 2610.41,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 19,
"x": -1744.2548828125,
"y": 2611.99853515625,
"x": -1744.25,
"y": 2612.0,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 20,
"x": -1722.6513671875,
"y": 2601.17578125,
"x": -1722.65,
"y": 2601.18,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 21,
"x": -1717.9814453125,
"y": 2600.48828125,
"x": -1717.98,
"y": 2600.49,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 22,
"x": -1716.73828125,
"y": 2601.591552734375,
"x": -1716.74,
"y": 2601.59,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 23,
"x": -1717.8671875,
"y": 2604.828125,
"x": -1717.87,
"y": 2604.83,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 24,
"x": -1695.708984375,
"y": 2586.6015625,
"x": -1695.71,
"y": 2586.6,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 25,
"x": -1695.5986328125,
"y": 2586.077392578125,
"x": -1695.6,
"y": 2586.08,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 26,
"x": -1693.6162109375,
"y": 2582.2958984375,
"x": -1693.62,
"y": 2582.3,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 27,
"x": -1698.5634765625,
"y": 2580.625244140625,
"x": -1698.56,
"y": 2580.63,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 28,
"x": -1696.2646484375,
"y": 2554.865478515625,
"x": -1696.26,
"y": 2554.87,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 29,
"x": -1695.65234375,
"y": 2552.568603515625,
"x": -1695.65,
"y": 2552.57,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 30,
"x": -1693.3056640625,
"y": 2554.842041015625,
"x": -1693.31,
"y": 2554.84,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 31,
"x": -1691.0185546875,
"y": 2535.100341796875,
"x": -1691.02,
"y": 2535.1,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 32,
"x": -1664.548828125,
"y": 2528.294677734375,
"x": -1664.55,
"y": 2528.29,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 33,
"x": -1662.69140625,
"y": 2528.20849609375,
"x": -1662.69,
"y": 2528.21,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 34,
"x": -1656.140625,
"y": 2492.5517578125,
"x": -1656.14,
"y": 2492.55,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 35,
"x": -1648.09765625,
"y": 2489.28076171875,
"x": -1648.1,
"y": 2489.28,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 36,
"x": -1646.3388671875,
"y": 2488.601318359375,
"x": -1646.34,
"y": 2488.6,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 37,
"x": -1638.38671875,
"y": 2486.57568359375,
"x": -1638.39,
"y": 2486.58,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 38,
"x": -1702.412109375,
"y": 2453.161865234375,
"x": -1702.41,
"y": 2453.16,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 39,
"x": -1727.765625,
"y": 2426.619384765625,
"x": -1727.77,
"y": 2426.62,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 40,
"x": -1727.958984375,
"y": 2425.51953125,
"x": -1727.96,
"y": 2425.52,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 41,
"x": -1746.82421875,
"y": 2421.1064453125,
"x": -1746.82,
"y": 2421.11,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 42,
"x": -1759.3056640625,
"y": 2419.96826171875,
"x": -1759.31,
"y": 2419.97,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 43,
"x": -1780.1279296875,
"y": 2419.27001953125,
"x": -1780.13,
"y": 2419.27,
"type": "target",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 44,
"x": -1832.0966796875,
"y": 2417.60546875,
"x": -1832.1,
"y": 2417.61,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 45,
"x": -1834.326171875,
"y": 2423.422119140625,
"x": -1834.33,
"y": 2423.42,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 46,
"x": -1835.01953125,
"y": 2425.089599609375,
"x": -1835.02,
"y": 2425.09,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 47,
"x": -1833.9638671875,
"y": 2429.7880859375,
"x": -1833.96,
"y": 2429.79,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 48,
"x": -1827.4853515625,
"y": 2426.2109375,
"x": -1827.49,
"y": 2426.21,
"type": "target",
"move_mode": "walk",
"action": ""

View File

@@ -1,6 +1,6 @@
{
"info": {
"name": "塞西莉亚(32性价比)",
"name": "塞西莉亚(性价比)",
"type": "collect",
"author": "彩虹QQ人",
"version": "1.0",
@@ -10,8 +10,8 @@
"positions": [
{
"id": 1,
"x": -1505.896484375,
"y": 2296.23486328125,
"x": -1505.9,
"y": 2296.23,
"type": "teleport",
"move_mode": "walk",
"action": "",
@@ -19,8 +19,8 @@
},
{
"id": 2,
"x": -1545.302734375,
"y": 2352.48095703125,
"x": -1545.3,
"y": 2352.48,
"type": "path",
"move_mode": "run",
"action": "",
@@ -28,8 +28,8 @@
},
{
"id": 3,
"x": -1560.044921875,
"y": 2393.458984375,
"x": -1560.04,
"y": 2393.46,
"type": "path",
"move_mode": "run",
"action": "",
@@ -37,8 +37,8 @@
},
{
"id": 4,
"x": -1571.91796875,
"y": 2442.69873046875,
"x": -1571.92,
"y": 2442.7,
"type": "path",
"move_mode": "walk",
"action": "anemo_collect",
@@ -46,8 +46,8 @@
},
{
"id": 5,
"x": -1568.798828125,
"y": 2442.99560546875,
"x": -1568.8,
"y": 2443.0,
"type": "path",
"move_mode": "walk",
"action": "anemo_collect",
@@ -55,8 +55,8 @@
},
{
"id": 6,
"x": -1571.4970703125,
"y": 2444.199951171875,
"x": -1571.5,
"y": 2444.2,
"type": "path",
"move_mode": "walk",
"action": "",
@@ -64,8 +64,8 @@
},
{
"id": 7,
"x": -1564.2490234375,
"y": 2458.146240234375,
"x": -1564.25,
"y": 2458.15,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -73,8 +73,8 @@
},
{
"id": 8,
"x": -1584.861328125,
"y": 2437.744140625,
"x": -1584.86,
"y": 2437.74,
"type": "path",
"move_mode": "run",
"action": "",
@@ -82,8 +82,8 @@
},
{
"id": 9,
"x": -1650.2900390625,
"y": 2424.998779296875,
"x": -1650.29,
"y": 2425.0,
"type": "path",
"move_mode": "run",
"action": "",
@@ -91,8 +91,8 @@
},
{
"id": 10,
"x": -1663.8115234375,
"y": 2436.603271484375,
"x": -1663.81,
"y": 2436.6,
"type": "path",
"move_mode": "run",
"action": "",
@@ -100,8 +100,8 @@
},
{
"id": 11,
"x": -1702.8681640625,
"y": 2440.2978515625,
"x": -1702.87,
"y": 2440.3,
"type": "path",
"move_mode": "run",
"action": "",
@@ -109,8 +109,8 @@
},
{
"id": 12,
"x": -1724.76953125,
"y": 2463.1318359375,
"x": -1724.77,
"y": 2463.13,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -118,8 +118,8 @@
},
{
"id": 13,
"x": -1733.095703125,
"y": 2447.046142578125,
"x": -1733.1,
"y": 2447.05,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -127,8 +127,8 @@
},
{
"id": 14,
"x": -1704.865234375,
"y": 2473.34521484375,
"x": -1704.87,
"y": 2473.35,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -136,8 +136,8 @@
},
{
"id": 15,
"x": -1657.9541015625,
"y": 2485.2880859375,
"x": -1657.95,
"y": 2485.29,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -145,8 +145,8 @@
},
{
"id": 16,
"x": -1669.37890625,
"y": 2521.995849609375,
"x": -1669.38,
"y": 2522.0,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -154,8 +154,8 @@
},
{
"id": 17,
"x": -1665.6884765625,
"y": 2492.736328125,
"x": -1665.69,
"y": 2492.74,
"type": "path",
"move_mode": "run",
"action": "",
@@ -163,8 +163,8 @@
},
{
"id": 18,
"x": -1699.267578125,
"y": 2496.6806640625,
"x": -1699.27,
"y": 2496.68,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -172,8 +172,8 @@
},
{
"id": 19,
"x": -1720.3115234375,
"y": 2506.087158203125,
"x": -1720.31,
"y": 2506.09,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -190,7 +190,7 @@
},
{
"id": 21,
"x": -1701,
"x": -1701.0,
"y": 2547.5,
"type": "path",
"move_mode": "walk",
@@ -199,8 +199,8 @@
},
{
"id": 22,
"x": -1702.994140625,
"y": 2574.697509765625,
"x": -1702.99,
"y": 2574.7,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -208,8 +208,8 @@
},
{
"id": 23,
"x": -1718.7646484375,
"y": 2594.996826171875,
"x": -1718.76,
"y": 2595.0,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",
@@ -217,8 +217,8 @@
},
{
"id": 24,
"x": -1749.2890625,
"y": 2597.90869140625,
"x": -1749.29,
"y": 2597.91,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect",