mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
* ✨ 支持 i18n #410 * 🚨 更改noqa方式 * 📝 添加 CONTRIBUTING.md 文件 * 🌐 将 i18n 默认语言设置为 en-US * 📝 添加英文版 CONTRIBUTING.md
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"title": "Template",
|
|
"description": "Template for lang items to generate schema for lang files",
|
|
"type": "object",
|
|
"properties": {
|
|
"scopes": {
|
|
"title": "Scopes",
|
|
"description": "All scopes of lang items",
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"title": "Scope",
|
|
"description": "First level of all lang items",
|
|
"type": "object",
|
|
"properties": {
|
|
"scope": {
|
|
"type": "string",
|
|
"description": "Scope name"
|
|
},
|
|
"types": {
|
|
"type": "array",
|
|
"description": "All types of lang items",
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"description": "Value of lang item"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"subtype": {
|
|
"type": "string",
|
|
"description": "Subtype name of lang item"
|
|
},
|
|
"types": {
|
|
"type": "array",
|
|
"description": "All subtypes of lang items",
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"$ref": "#/properties/scopes/items/properties/types/items"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|