Format marketing JSON schemas

- Reformat keybinding and settings schema enums
- Normalize required field arrays
This commit is contained in:
Julius Marminge committed 2026-03-30 23:31:37 -07:00
1 parent a43922f5c9
commit 9d475dd325
2 files changed
+35 -8

No files matched your search

@@ -56,7 +56,10 @@
"description": "Optional expression limiting when the shortcut is active."
}
},
"required": ["key", "command"],
"required": [
"key",
"command"
],
"additionalProperties": false,
"description": "Single keybinding rule entry in `keybindings.json`."
},
+31 -7
View File
@@ -24,7 +24,10 @@
"anyOf": [
{
"type": "string",
"enum": ["local", "worktree"],
"enum": [
"local",
"worktree"
],
"description": "Pick the default workspace mode for newly created draft threads."
},
{
@@ -42,7 +45,9 @@
"properties": {
"provider": {
"type": "string",
"enum": ["codex"],
"enum": [
"codex"
],
"description": "The provider used for text generation."
},
"model": {
@@ -56,7 +61,12 @@
"anyOf": [
{
"type": "string",
"enum": ["xhigh", "high", "medium", "low"]
"enum": [
"xhigh",
"high",
"medium",
"low"
]
},
{
"type": "null"
@@ -80,7 +90,10 @@
"description": "Optional Codex-specific tuning knobs for the selected model."
}
},
"required": ["provider", "model"],
"required": [
"provider",
"model"
],
"additionalProperties": false,
"description": "Text generation model selection for the Codex provider."
},
@@ -89,7 +102,9 @@
"properties": {
"provider": {
"type": "string",
"enum": ["claudeAgent"],
"enum": [
"claudeAgent"
],
"description": "The provider used for text generation."
},
"model": {
@@ -114,7 +129,13 @@
"anyOf": [
{
"type": "string",
"enum": ["low", "medium", "high", "max", "ultrathink"]
"enum": [
"low",
"medium",
"high",
"max",
"ultrathink"
]
},
{
"type": "null"
@@ -149,7 +170,10 @@
"description": "Optional Claude-specific tuning knobs for the selected model."
}
},
"required": ["provider", "model"],
"required": [
"provider",
"model"
],
"additionalProperties": false,
"description": "Text generation model selection for the Claude provider."
}