Closed guyutongxue closed 3 weeks ago
22635.4000
1.10.7.0
No response
祈愿记录
胡桃生成的 /hk4e/0/list/0/item_id 为 number 类型:
/hk4e/0/list/0/item_id
number
https://github.com/DGP-Studio/Snap.Hutao/blob/a3be885c5ec2f3dc297680c102bf1d91f8909d19/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs#L21-L22
而 UIGFv4 要求此项为 string 类型:
string
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "hk4e": { "type": "array", "items": { "type": "object", "properties": { "list": { "type": "array", "items": { "type": "object", "properties": { "item_id": { "type": "string", "description": "物品的内部 ID" } } } } } } } } }
https://uigf.org/zh/standards/uigf.html#json-schema
修改 UIGF 规范或者修改胡桃实现,使得导出数据能通过 UIGFv4 校验。
该问题为已知问题,目前胡桃已经不在 UIGFv4 支持列表 当中
fixed by https://github.com/DGP-Studio/Snap.Hutao/commit/22b33fcfb6d5ab1fd0360f7d921749c34165aa30
包含解决该问题的程序版本 1.11.0 已发布。
检查清单
Windows 版本
22635.4000
Snap Hutao 版本
1.10.7.0
设备 ID
No response
问题分类
祈愿记录
发生了什么?
胡桃生成的
/hk4e/0/list/0/item_id
为number
类型:https://github.com/DGP-Studio/Snap.Hutao/blob/a3be885c5ec2f3dc297680c102bf1d91f8909d19/src/Snap.Hutao/Snap.Hutao/Model/InterChange/GachaLog/Hk4eItem.cs#L21-L22
而 UIGFv4 要求此项为
string
类型:https://uigf.org/zh/standards/uigf.html#json-schema
你期望发生的行为?
修改 UIGF 规范或者修改胡桃实现,使得导出数据能通过 UIGFv4 校验。
最后一步