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,53 +5,53 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1629.37109375,
"y": 2834.395751953125,
"x": -1629.37,
"y": 2834.4,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 2,
"x": -1660.2177734375,
"y": 2789.519775390625,
"x": -1660.22,
"y": 2789.52,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -1662.3212890625,
"y": 2786.100341796875,
"x": -1662.32,
"y": 2786.1,
"type": "path",
"move_mode": "climb",
"action": ""
},
{
"id": 4,
"x": -1665.46484375,
"y": 2777.626953125,
"x": -1665.46,
"y": 2777.63,
"type": "target",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 5,
"x": -1680.0546875,
"y": 2774.24365234375,
"x": -1680.05,
"y": 2774.24,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 6,
"x": -1663.515625,
"y": 2751.4169921875,
"x": -1663.52,
"y": 2751.42,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,77 +13,77 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1558.5078125,
"y": 2497.741943359375
"x": -1558.51,
"y": 2497.74
},
{
"id": 2,
"x": -1572.625,
"y": 2508.748291015625,
"x": -1572.62,
"y": 2508.75,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -1599.46875,
"y": 2523.78271484375,
"x": -1599.47,
"y": 2523.78,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 4,
"x": -1623.2880859375,
"y": 2554.579345703125,
"x": -1623.29,
"y": 2554.58,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 5,
"x": -1627.6669921875,
"y": 2560.239501953125,
"x": -1627.67,
"y": 2560.24,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 6,
"x": -1643.81640625,
"y": 2579.885009765625,
"x": -1643.82,
"y": 2579.89,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 7,
"x": -1646.59765625,
"y": 2581.4208984375,
"x": -1646.6,
"y": 2581.42,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 8,
"x": -1679.6318359375,
"y": 2627.66357421875,
"x": -1679.63,
"y": 2627.66,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"
},
{
"id": 9,
"x": -1343.09765625,
"y": 2567.631591796875,
"x": -1343.1,
"y": 2567.63,
"type": "teleport",
"move_mode": "walk",
"action": ""
},
{
"id": 10,
"x": -1324.0458984375,
"y": 2564.023681640625,
"x": -1324.05,
"y": 2564.02,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,69 +13,69 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -1558.5361328125,
"y": 2497.774658203125
"x": -1558.54,
"y": 2497.77
},
{
"id": 2,
"x": -1523.6611328125,
"y": 2500.5546875,
"x": -1523.66,
"y": 2500.55,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -1504.6025390625,
"y": 2513.184814453125,
"x": -1504.6,
"y": 2513.18,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -1499.49609375,
"y": 2517.546875,
"x": -1499.5,
"y": 2517.55,
"type": "target",
"move_mode": "walk",
"action": ""
},
{
"id": 5,
"x": -1503.7841796875,
"y": 2529.770751953125,
"x": -1503.78,
"y": 2529.77,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": -1505.3525390625,
"y": 2537.3330078125,
"x": -1505.35,
"y": 2537.33,
"type": "target",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 7,
"x": -1474.1474609375,
"y": 2532.19482421875,
"x": -1474.15,
"y": 2532.19,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 8,
"x": -1461.23828125,
"y": 2531.2216796875,
"x": -1461.24,
"y": 2531.22,
"type": "target",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 9,
"x": -1461.349609375,
"y": 2516.399658203125,
"x": -1461.35,
"y": 2516.4,
"type": "path",
"move_mode": "run",
"action": "nahida_collect"

View File

@@ -5,213 +5,213 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1867.208984375,
"y": 1331.12451171875,
"x": -1867.21,
"y": 1331.12,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1840.7421875,
"y": 1360.0205078125,
"x": -1840.74,
"y": 1360.02,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 3,
"x": -1838.150390625,
"y": 1385.521484375,
"x": -1838.15,
"y": 1385.52,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 4,
"x": -1835.455078125,
"y": 1390.85009765625,
"x": -1835.46,
"y": 1390.85,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 5,
"x": -1823.7275390625,
"y": 1409.05126953125,
"x": -1823.73,
"y": 1409.05,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 6,
"x": -1819.22265625,
"y": 1413.609375,
"x": -1819.22,
"y": 1413.61,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 8,
"x": -1833.6171875,
"y": 1416.7744140625,
"x": -1833.62,
"y": 1416.77,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 9,
"x": -1839.1064453125,
"y": 1416.35595703125,
"x": -1839.11,
"y": 1416.36,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 10,
"x": -1849.55078125,
"y": 1432.77197265625,
"x": -1849.55,
"y": 1432.77,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 11,
"x": -1849.8681640625,
"y": 1435.51025390625,
"x": -1849.87,
"y": 1435.51,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 12,
"x": -1874.42578125,
"y": 1438.86572265625,
"x": -1874.43,
"y": 1438.87,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 13,
"x": -1878.5625,
"y": 1439.443359375,
"x": -1878.56,
"y": 1439.44,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 14,
"x": -1845.560546875,
"y": 1456.7783203125,
"x": -1845.56,
"y": 1456.78,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 15,
"x": -1838.130859375,
"y": 1456.07861328125,
"x": -1838.13,
"y": 1456.08,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 16,
"x": -1806.0400390625,
"y": 1440.92431640625,
"x": -1806.04,
"y": 1440.92,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 17,
"x": -1798.830078125,
"y": 1438.6220703125,
"x": -1798.83,
"y": 1438.62,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 18,
"x": -1778.8681640625,
"y": 1452.2880859375,
"x": -1778.87,
"y": 1452.29,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 19,
"x": -1767.5107421875,
"y": 1459.7255859375,
"x": -1767.51,
"y": 1459.73,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 20,
"x": -1755.302734375,
"y": 1473.24365234375,
"x": -1755.3,
"y": 1473.24,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 21,
"x": -1728.9248046875,
"y": 1459.60595703125,
"x": -1728.92,
"y": 1459.61,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 22,
"x": -1724.009765625,
"y": 1457.39208984375,
"x": -1724.01,
"y": 1457.39,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 23,
"x": -1714.1982421875,
"y": 1440.9033203125,
"x": -1714.2,
"y": 1440.9,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 24,
"x": -1725.6904296875,
"y": 1440.50244140625,
"x": -1725.69,
"y": 1440.5,
"action": "nahida_collect",
"move_mode": "run",
"type": "path"
},
{
"id": 25,
"x": -1730.6748046875,
"y": 1438.41259765625,
"x": -1730.67,
"y": 1438.41,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 26,
"x": -1266.5546875,
"y": 1933.58349609375,
"x": -1266.55,
"y": 1933.58,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 27,
"x": -1264.2578125,
"y": 1929.45947265625,
"x": -1264.26,
"y": 1929.46,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"

View File

@@ -5,7 +5,7 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
@@ -13,141 +13,141 @@
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -576.59375,
"y": 1854.81396484375
"x": -576.59,
"y": 1854.81
},
{
"id": 2,
"x": -563.16015625,
"y": 1867.33056640625,
"x": -563.16,
"y": 1867.33,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 3,
"x": -553.158203125,
"y": 1901.5634765625,
"x": -553.16,
"y": 1901.56,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 4,
"x": -544.7119140625,
"y": 1902.8779296875,
"x": -544.71,
"y": 1902.88,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 5,
"x": -509.251953125,
"y": 1920.708984375,
"x": -509.25,
"y": 1920.71,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 6,
"x": -505.39453125,
"y": 1922.8125,
"x": -505.39,
"y": 1922.81,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 7,
"x": -476.125,
"y": 1932.1591796875,
"x": -476.12,
"y": 1932.16,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 8,
"x": -471.1982421875,
"y": 1932.92919921875,
"x": -471.2,
"y": 1932.93,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 9,
"x": -439.701171875,
"y": 1938.7880859375,
"x": -439.7,
"y": 1938.79,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 10,
"x": -436.494140625,
"y": 1940.20947265625,
"x": -436.49,
"y": 1940.21,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 11,
"x": -420.4560546875,
"y": 1911.3154296875,
"x": -420.46,
"y": 1911.32,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 12,
"x": -418.6396484375,
"y": 1908.6904296875,
"x": -418.64,
"y": 1908.69,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 13,
"x": -385.0029296875,
"y": 1917.75732421875,
"x": -385.0,
"y": 1917.76,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 14,
"x": -378.2548828125,
"y": 1916.99169921875,
"x": -378.25,
"y": 1916.99,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 15,
"x": -373.708984375,
"y": 1915.3173828125,
"x": -373.71,
"y": 1915.32,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 16,
"x": -359.3271484375,
"y": 1903.0673828125,
"x": -359.33,
"y": 1903.07,
"type": "path",
"move_mode": "fly",
"action": "stop_flying"
},
{
"id": 17,
"x": -333.541015625,
"y": 1896.88037109375,
"x": -333.54,
"y": 1896.88,
"type": "path",
"move_mode": "run",
"action": ""
},
{
"id": 18,
"x": -328.2509765625,
"y": 1898.7861328125,
"x": -328.25,
"y": 1898.79,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"

View File

@@ -5,93 +5,93 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": -1009.8466796875,
"y": 1333.89892578125,
"x": -1009.85,
"y": 1333.9,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": -1012.19140625,
"y": 1331.77685546875,
"x": -1012.19,
"y": 1331.78,
"type": "path",
"move_mode": "walk",
"action": ""
},
{
"id": 3,
"x": -1008.2001953125,
"y": 1325.97900390625,
"x": -1008.2,
"y": 1325.98,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"
},
{
"id": 4,
"x": -1006.9208984375,
"y": 859.46728515625,
"x": -1006.92,
"y": 859.47,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 5,
"x": -997.1142578125,
"y": 855.86083984375,
"x": -997.11,
"y": 855.86,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 6,
"x": -486.4423828125,
"y": 860.1923828125,
"x": -486.44,
"y": 860.19,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 7,
"x": -473.099609375,
"y": 852.86083984375,
"x": -473.1,
"y": 852.86,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 8,
"x": -486.4384765625,
"y": 860.20361328125,
"x": -486.44,
"y": 860.2,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 9,
"x": -499.953125,
"y": 874.40478515625,
"x": -499.95,
"y": 874.4,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 10,
"x": -255.015625,
"y": 630.0546875,
"x": -255.02,
"y": 630.05,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 11,
"x": -259.6630859375,
"y": 627.98876953125,
"x": -259.66,
"y": 627.99,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"

View File

@@ -5,45 +5,45 @@
"author": "玛卡巴卡",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.0"
"bgiVersion": "v0.42.0"
},
"positions": [
{
"id": 1,
"x": 801.599609375,
"y": 1796.07373046875,
"x": 801.6,
"y": 1796.07,
"action": "",
"move_mode": "walk",
"type": "teleport"
},
{
"id": 2,
"x": 808.5087890625,
"y": 1795.69384765625,
"x": 808.51,
"y": 1795.69,
"action": "",
"move_mode": "walk",
"type": "path"
},
{
"id": 3,
"x": 808.474609375,
"y": 1814.10791015625,
"x": 808.47,
"y": 1814.11,
"action": "nahida_collect",
"move_mode": "walk",
"type": "path"
},
{
"id": 4,
"x": 807.1181640625,
"y": 1838.62548828125,
"x": 807.12,
"y": 1838.63,
"action": "",
"move_mode": "run",
"type": "path"
},
{
"id": 6,
"x": 806.802734375,
"y": 1845.5380859375,
"x": 806.8,
"y": 1845.54,
"type": "path",
"move_mode": "walk",
"action": "nahida_collect"