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,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"