Skip to content

Commit 875f351

Browse files
authored
Merge pull request #70 from UIGF-org/uigf-v4.0
2 parents ff453df + c9ad921 commit 875f351

29 files changed

+3501
-1639
lines changed

docs/.vuepress/navbar/en.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ export const enNavbar = navbar([
99
icon: "proposal",
1010
prefix: "/en/standards/",
1111
children: [
12+
{
13+
text: "Generic Standards",
14+
children: ["uigf.md"]
15+
},
1216
{
1317
text: "Genshin Impact",
14-
children: ["uigf.md", "uiaf.md"],
18+
children: ["uiaf.md", "uigf-legacy-v3.0.md"],
1519
},
1620
{
1721
text: "Honkai: Star Rail",

docs/.vuepress/navbar/zh.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ export const zhNavbar = navbar([
99
icon: "proposal",
1010
prefix: "/zh/standards/",
1111
children: [
12+
{
13+
"text": "通用型标准",
14+
children: ["uigf.md"]
15+
},
1216
{
1317
text: "原神",
14-
children: ["uigf.md", "uiaf.md"],
18+
children: ["uiaf.md", "uigf-legacy-v3.0.md"],
1519
},
1620
{
1721
text: "崩坏:星穹铁道",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"info": {
5+
"type": "object",
6+
"properties": {
7+
"uid": {
8+
"type": "string",
9+
"title": "UID of the export record"
10+
},
11+
"lang": {
12+
"type": "string",
13+
"title": "language in the format of languagecode2-country/regioncode2"
14+
},
15+
"export_timestamp": {
16+
"type": "number",
17+
"title": "Export UNIX timestamp (accurate to the second)"
18+
},
19+
"export_time": {
20+
"type": "string",
21+
"title": "Export time",
22+
"description": "yyyy-MM-dd HH:mm:ss"
23+
},
24+
"export_app": {
25+
"type": "string",
26+
"title": "Name of the export application"
27+
},
28+
"export_app_version": {
29+
"type": "string",
30+
"title": "Version of the export application"
31+
},
32+
"uigf_version": {
33+
"type": "string",
34+
"title": "UIGF version; follow the regular expression pattern",
35+
"pattern": "v\\d+\\.\\d+"
36+
},
37+
"region_time_zone": {
38+
"type": "number",
39+
"title": "Region timezone offset"
40+
}
41+
},
42+
"required": ["uid", "uigf_version"],
43+
"title": "UIGF Export Information"
44+
},
45+
"list": {
46+
"type": "array",
47+
"items": {
48+
"type": "object",
49+
"properties": {
50+
"uigf_gacha_type": {
51+
"type": "string",
52+
"title": "UIGF gacha type",
53+
"description": "Used to differentiate different gacha types with the same pity calculation for items"
54+
},
55+
"gacha_type": {
56+
"type": "string",
57+
"title": "Gacha type"
58+
},
59+
"item_id": {
60+
"type": "string",
61+
"title": "Internal ID of the item"
62+
},
63+
"count": {
64+
"type": "string",
65+
"title": "Count, usually 1"
66+
},
67+
"time": {
68+
"type": "string",
69+
"title": "Time when the item was obtained"
70+
},
71+
"name": {
72+
"type": "string",
73+
"title": "Item name"
74+
},
75+
"item_type": {
76+
"type": "string",
77+
"title": "Item type"
78+
},
79+
"rank_type": {
80+
"type": "string",
81+
"title": "Item rank"
82+
},
83+
"id": {
84+
"type": "string",
85+
"title": "Internal ID of the record"
86+
}
87+
},
88+
"required": ["uigf_gacha_type", "gacha_type", "id", "item_id", "time"],
89+
"title": "UIGF Item"
90+
},
91+
"title": "Item List"
92+
}
93+
},
94+
"required": ["info", "list"],
95+
"title": "UIGF Root Object"
96+
}

0 commit comments

Comments
 (0)