plan: 60% ANSIのサンプルを現行のPHYスキーマの形式に書き換える

- keys/position/size.width/metadata.label を root/type/transform/size.w/labels に置き換える
- 値は変えない。PHYスキーマで検証済み
- 旧形式である旨の注記を外し、見出しに抜粋と明記する

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017W6AsoJYTiN3bnxvSMS87f
This commit is contained in:
2026-09-24 22:47:26 +09:00
co-authored by Claude Opus 5.5
parent 1c99f60719
commit 73e913e776
+14 -14
View File
@@ -20,9 +20,7 @@ PHYの正本は相対座標の木だが、既存エディタ(KLE, kle-ng)の移
### データ例
以下は旧形式(`keys` 配列、`position` / `size.width`)で書かれており、現行のPHYスキーマ(`phase1-json-schema.md`)に合わせた変換が必要。
#### 60% ANSI PHY Layer
#### 60% ANSI PHY Layer (抜粋)
```json
{
@@ -38,20 +36,22 @@ PHYの正本は相対座標の木だが、既存エディタ(KLE, kle-ng)の移
"unitSize": { "x": 19.05, "y": 19.05 }
}
],
"keys": [
// Escape key
"root": [
{
"id": "k00", "profile": "standard",
"position": { "x": 0, "y": 0 },
"size": { "width": 1, "height": 1 },
"metadata": { "label": "Esc" }
"type": "key",
"id": "k00",
"profile": "standard",
"transform": { "x": 0, "y": 0, "rotation": 0 },
"size": { "w": 1, "h": 1 },
"labels": ["Esc"]
},
// Space bar
{
"id": "k60", "profile": "standard",
"position": { "x": 5, "y": 4 },
"size": { "width": 6.25, "height": 1 },
"metadata": { "label": "Space" }
"type": "key",
"id": "k60",
"profile": "standard",
"transform": { "x": 5, "y": 4, "rotation": 0 },
"size": { "w": 6.25, "h": 1 },
"labels": ["Space"]
}
]
}