2021-08-18 20:52:41 +00:00
|
|
|
{
|
2022-06-18 05:30:46 +00:00
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema#",
|
2021-08-18 20:52:41 +00:00
|
|
|
"$id": "qmk.keymap.v1",
|
|
|
|
"title": "Keymap Information",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-08-20 09:11:49 +00:00
|
|
|
"author": {"type": "string"},
|
2021-11-22 19:11:35 +00:00
|
|
|
"host_language": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
2021-08-18 20:52:41 +00:00
|
|
|
"keyboard": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
|
|
|
"keymap": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
|
|
|
"layout": {"$ref": "qmk.definitions.v1#/layout_macro"},
|
|
|
|
"layers": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {"type": "string"}
|
|
|
|
}
|
|
|
|
},
|
2021-11-22 19:11:35 +00:00
|
|
|
"macros": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"action": {
|
|
|
|
"type": "string",
|
2022-08-28 18:24:11 +00:00
|
|
|
"enum": ["beep", "delay", "down", "tap", "up"]
|
2021-11-22 19:11:35 +00:00
|
|
|
},
|
|
|
|
"keycodes": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "qmk.definitions.v1#/text_identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"duration": {
|
|
|
|
"$ref": "qmk.definitions.v1#/unsigned_int"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-08-18 20:52:41 +00:00
|
|
|
"config": {"$ref": "qmk.keyboard.v1"},
|
|
|
|
"notes": {
|
2022-06-18 05:30:46 +00:00
|
|
|
"type": "string"
|
2021-08-18 20:52:41 +00:00
|
|
|
}
|
2022-02-28 20:02:39 +00:00
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"keyboard",
|
|
|
|
"layout",
|
|
|
|
"layers"
|
|
|
|
]
|
2021-11-22 19:11:35 +00:00
|
|
|
}
|