80 lines
3.3 KiB
JSON
80 lines
3.3 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "halls.schema.json",
|
||
"title": "halls 表 schema v0(十殿 band 数据行,数值抄录自 Balance Bible v1.0 §6)",
|
||
"description": "架构 §3.2 CSV 规范落盘。每殿 = 一个横向 band(2-3 屏宽 @1920,四层组装)。殿门 = 单计数器闸门(本轮累计阴德 merit_run ≥ gate_merit,[B§0.1]);is_prestige_gate=true 的行是轮回转世触发门(仅 H10)。unlock_gen/unlock_gate = 过殿后解锁批。",
|
||
"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": "halls" },
|
||
"schema_version": { "const": 0 },
|
||
"columns": {
|
||
"type": "array",
|
||
"items": { "type": "string" },
|
||
"minItems": 12
|
||
},
|
||
"rows": {
|
||
"type": "array",
|
||
"minItems": 10,
|
||
"maxItems": 10,
|
||
"items": {
|
||
"type": "object",
|
||
"required": [
|
||
"id", "no", "king_cn", "king_en", "motif_cn", "motif_en",
|
||
"target_min", "gate_merit", "unlock_gen", "unlock_gate",
|
||
"palette_id", "is_prestige_gate"
|
||
],
|
||
"properties": {
|
||
"id": {
|
||
"type": "string",
|
||
"pattern": "^hall_[0-9]{2}_[a-z]+$",
|
||
"description": "稳定字符串 ID(W1 已分配);永不重编号(年更=加行)"
|
||
},
|
||
"no": { "type": "integer", "minimum": 1, "maximum": 10 },
|
||
"king_cn": { "type": "string", "minLength": 1 },
|
||
"king_en": { "type": "string", "minLength": 1, "description": "临时译名,待文策渊 glossary" },
|
||
"motif_cn": { "type": "string", "minLength": 1, "description": "刑典母题(剪影+文字暗示路线,GDD §0.3 IP 红线)" },
|
||
"motif_en": { "type": "string", "minLength": 1 },
|
||
"target_min": {
|
||
"type": "integer",
|
||
"minimum": 1,
|
||
"description": "到达目标时长(分钟,[B§6] pacing 表:25→180min);模拟器门 #3/#5/#14 对照"
|
||
},
|
||
"gate_merit": {
|
||
"type": "integer",
|
||
"minimum": 0,
|
||
"description": "殿门条件:本轮累计阴德(单计数器;[B§6] 2K→1.5B)"
|
||
},
|
||
"unlock_gen": {
|
||
"type": "string",
|
||
"pattern": "^(none|gen_[0-9]{2}_[a-z0-9]+)$",
|
||
"description": "过殿解锁的班底 ID;H10 = none(prestige 门)"
|
||
},
|
||
"unlock_gate": {
|
||
"type": "string",
|
||
"pattern": "^(none|up_gate_[a-z0-9_]+)$",
|
||
"description": "过殿出现的路引闸门 ID(upgrades.csv);H10 = none"
|
||
},
|
||
"palette_id": {
|
||
"type": "string",
|
||
"pattern": "^pal_hall_[0-9]{2}$",
|
||
"description": "hall_palettes.csv 行 ID(per-hall 色板 + 流向向量)"
|
||
},
|
||
"is_prestige_gate": {
|
||
"type": "boolean",
|
||
"description": "true = 轮回转世触发门([B§4.1]:仅 H10 转轮王)"
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|