-
Couldn't load subscription status.
- Fork 21
Open
Labels
UIGFdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
@UIGF-org/uigf-constitutors
原始数据
来自 Discussion:
{
"id": "1761114000000054207",
"region": "os_asia",
"uid": "8xxxxxxxx",
"schedule_id": "18",
"item_type": "Cosmetic Catalog",
"item_id": "270075",
"item_name": "Component Catalog - \"Dignified Formal Shirt: Ash White\"",
"rank_type": "2",
"is_up": "0",
"time": "2025-10-22 14:20:52",
"op_gacha_type": "1000"
}来自个人数据:
{
"id": "1761196200000004865",
"region": "cn_qd01",
"uid": "5xxxxxxxx",
"schedule_id": "18",
"item_type": "装扮形录",
"item_id": "270046",
"item_name": "部件形录·「泡泡袖衬衫·茜红」",
"rank_type": "2",
"is_up": "0",
"time": "2025-10-23 13:25:24",
"op_gacha_type": "1000"
}来自群友数据:
{
"id": "1761239400000093692",
"region": "cn_gf01",
"uid": "1xxxxxxxx",
"schedule_id": "20",
"item_type": "装扮部件",
"item_id": "261642",
"item_name": "男性装扮·「皎星短靴」",
"rank_type": "3",
"is_up": "0",
"time": "2025-10-24 01:51:36",
"op_gacha_type": "20021"
}来自 官方JSON:
参照现有标准:
- 建议在
root新增字段 表示,建议命名为hk4e_ugc - 大部分数据保留原字段命名
- 一级字段参照
hk4e处理,list数据剔除region,item_name与item_type可选 - 由于
timezone既可以由region推导又可以由uid推导,故region字段进行了剔除
参考类型:
type Hk4eUGC = {
uid: string|number;
timezone: number;
lang?: string;
list: BeyondItem[];
}
type BeyondItem = {
id: string;
schedule_id: string;
item_type?: string;
item_id: string;
item_name?: string;
rank_type: string;
is_up: string;
time: string;
op_gacha_type: string;
}Metadata
Metadata
Assignees
Labels
UIGFdocumentationImprovements or additions to documentationImprovements or additions to documentation