Code Monkey home page Code Monkey logo

uigf-org.github.io's People

Contributors

auroraziling avatar bill-haku avatar btmuli avatar canglongcl avatar cntvc avatar dancingsnow0517 avatar dependabot[bot] avatar dgck81lnn avatar jamxi233 avatar laoshubaby avatar lightczx avatar littlenyima avatar masterain98 avatar moranyue avatar moyanj avatar natrium0521 avatar qoolianyi avatar scighost avatar shikisuen avatar tremblingmoenew avatar xyxyx718 avatar yueermoe avatar zzpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

uigf-org.github.io's Issues

Add a sample data in English!

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!

UIGF 的 JSON Schema 不起作用

目前,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 文件以便直接引用。

是否应该在SRGF中对`"item_type"`进行规范化?

目前,在SRGF中仅要求了其应为"type": "string"

"item_type": {
"type": "string",
"description": "物品类型"
},

近日,有开发者指出,收到了载有"item_type": "角色",的SRGF导出文档,但处理的时候在程序中只能接受形如"item_type": "Character",的输入

是否应该添加限制,对此类未定义行为进行定义,还是说这是开发者需要操心的事情,UIGF组织下的SRGF不应对此做出规范

related branch clarify-ub will be deleted

为 SiteInfo Box 添加一个 Wrap 以标注程序支持的标准版本

页面: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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.