65 lines
3.2 KiB
JSON
65 lines
3.2 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "meta_upgrades.schema.json",
|
||
"title": "meta_upgrades 表 schema v0(12 条宿慧商店,数值抄录自 Balance Bible v1.0 §2.5)",
|
||
"description": "架构 §3.2 CSV 规范落盘。货币 = 宿慧(跨轮回永久,永不离场——身份资产层)。max_rank>1 可重复购买(每阶独立计费)。condition=gen12_unlocked 表示效果仅 gen12 解锁后生效(meta_12)。effect_type 语义:start_levels=新轮回开局 target_gen 自带 param 级;suihui_gain_pct=宿慧获取 +param;skip_interval=跳过机制间隔改为 param 级;offline_pct=离线效率 +param;boss_click_pct=殿王战点击伤害 +param;wrath_penalty_set=冤气削减设为 param(替代默认 0.3);global_pct=全局 +param/阶;event_freq_pct=事件频率 +param;souls_mult=超度计数 ×param;bulk_unlock=开局批量×10;conditional_global_pct=条件全局 +param。",
|
||
"x-supported-keywords": [
|
||
"type", "properties", "required", "items", "enum", "pattern",
|
||
"minimum", "maximum", "minLength", "minItems", "maxItems",
|
||
"additionalProperties", "const"
|
||
],
|
||
"x-unique": ["id"],
|
||
"type": "object",
|
||
"required": ["sheet", "schema_version", "columns", "rows"],
|
||
"properties": {
|
||
"sheet": { "const": "meta_upgrades" },
|
||
"schema_version": { "const": 0 },
|
||
"columns": {
|
||
"type": "array",
|
||
"items": { "type": "string" },
|
||
"minItems": 10
|
||
},
|
||
"rows": {
|
||
"type": "array",
|
||
"minItems": 12,
|
||
"maxItems": 12,
|
||
"items": {
|
||
"type": "object",
|
||
"required": [
|
||
"id", "name_cn", "name_en", "effect_type", "target_id",
|
||
"effect_param", "cost_suihui", "max_rank", "condition", "desc_cn"
|
||
],
|
||
"properties": {
|
||
"id": { "type": "string", "pattern": "^meta_[0-9]{2}$" },
|
||
"name_cn": { "type": "string", "minLength": 1 },
|
||
"name_en": { "type": "string", "minLength": 1, "description": "临时译名,待文策渊 glossary" },
|
||
"effect_type": {
|
||
"type": "string",
|
||
"enum": [
|
||
"start_levels", "suihui_gain_pct", "skip_interval", "offline_pct",
|
||
"boss_click_pct", "wrath_penalty_set", "global_pct", "event_freq_pct",
|
||
"souls_mult", "bulk_unlock", "conditional_global_pct"
|
||
]
|
||
},
|
||
"target_id": {
|
||
"type": "string",
|
||
"pattern": "^(|gen_[0-9]{2}_[a-z0-9]+)$",
|
||
"description": "start_levels/conditional_global_pct 的目标班底 ID;其余为空串"
|
||
},
|
||
"effect_param": { "type": "number", "minimum": 0 },
|
||
"cost_suihui": { "type": "integer", "minimum": 1, "description": "宿慧成本([B§2.5] 钉值 3-25)" },
|
||
"max_rank": { "type": "integer", "minimum": 1, "description": "可购买阶数上限(m03=3、m08=2,其余 1)" },
|
||
"condition": {
|
||
"type": "string",
|
||
"enum": ["none", "gen12_unlocked"],
|
||
"description": "效果生效条件"
|
||
},
|
||
"desc_cn": { "type": "string", "minLength": 1 }
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|