uigf-org / uigf-org.github.io Goto Github PK
View Code? Open in Web Editor NEWUIGF Documents site
Home Page: https://uigf.org
License: MIT License
UIGF Documents site
Home Page: https://uigf.org
License: MIT License
Hello! I am trying to work on a converter to convert Paimon.moe -> UIGF 3.0, but I can't exactly figure out some parts of the schema due to the language barrier.
If I could get a sample for simply 1 item, I can figure out the rest. If possible, please provide a sample data or JSON Schema in english!
md的front matter里的link是/standard
,但鉴于两天前加入了i18n的支持,似乎并未做好适配,会省略掉/zh
前缀,从而跳到404。
没研究过vuepress的i18n,所以提不了PR,惭愧惭愧。
目前,https://uigf.org/schema/uigf.json 的内容是这样的:
{
"root": {
"type": "object",
"properties": {
"info": { ... },
"list": { ... }
},
"required": ["info", "list"],
"title": "UIGF 根对象"
}
}
但我发现此 schema 并不能起到任何校验和提示的作用:使用 https://www.jsonschemavalidator.net 在线校验工具,无论输入什么数据都能校验通过;在 VS Code 中为 UIGF 数据添加 "$schema": "https://uigf.org/schema/uigf.json"
后,并不能正常触发代码提示。
经测试,需要以当前 "root"
属性的内容直接作为根对象,才能有效校验:
/path/to/uigf.json
:
{
"type": "object",
"properties": {
"info": { ... },
"list": { ... }
},
"required": ["info", "list"],
"title": "UIGF 根对象"
}
祈愿记录文件:
{
"$schema": "file:///path/to/uigf.json",
"info": { ... },
"list": [ ... ]
}
这样,在 VS Code 中方可看到校验错误和代码提示:
希望 UIGF 网站可以修改 schema 文件以便直接引用。
该链接能否修改为指向组织首页,而不是仓库页面
RT
抓包看到新的 URL 是 https://public-operation-hk4e.mihoyo.com/gacha_info/api/getGachaLog
,
国际服是否也是这个域名呢?
目前,在SRGF中仅要求了其应为"type": "string"
UIGF-org.github.io/docs/zh/standards/srgf.md
Lines 138 to 141 in 7bb6944
近日,有开发者指出,收到了载有"item_type": "角色",
的SRGF导出文档,但处理的时候在程序中只能接受形如"item_type": "Character",
的输入
是否应该添加限制,对此类未定义行为进行定义,还是说这是开发者需要操心的事情,UIGF组织下的SRGF不应对此做出规范
related branch clarify-ub
will be deleted
项目地址:SRTools
JSG-JamXi致上
页面:https://uigf.org/zh/partnership.html
方法:https://theme-hope.vuejs.press/zh/config/style.html
<div class="wrap"><span class="wraps">v2.2</span></div>
<style type="text/css">
.wrap {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
overflow: hidden;
font-size: 17px;
font-weight: 400;
color: #fff;
opacity: 0.5;
-webkit-transition: .3s ease all;
-moz-transition: .3s ease all;
-ms-transition: .3s ease all;
-o-transition: .3s ease all;
transition: .3s ease all;
}
.wrap:hover {
opacity: 0.9;
}
.wraps {
display: inline-block;
text-align: center;
width: 200px;
height: 30px;
line-height: 27px;
position: absolute;
top: 30px;
right: -50px;
z-index: 2;
overflow: hidden;
transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
border: 1px dashed;
box-shadow: 0 0 0 1px #000, 0px 21px 5px -18px rgba(0,0,0,0.6);
background: #3b88d0;
}
</style>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.