JSON Schema: `permissions` does not allow "<name>" key
Open 💬 0 comments Opened Jun 5, 2026 by vchernetskyi993
What is the type of issue?
Documentation is incorrect
What is the issue?
When I use Codex config.toml schema:
#:schema https://developers.openai.com/codex/config-schema.json
With permissions block:
[permissions.custom]
extends = ":workspace"
This produces a diagnostic error (using Tombi LSP):
In strict mode, `permissions` does not allow "custom" key. Please add `"additionalProperties": true` to the location where it is defined in https://developers.openai.com/codex/config-schema.json, or add `#:tombi schema.strict = false` as a document comment directive at the top of your document, or set `schema.strict = false` in your `tombi.toml`. [table-strict-additional-keys]
As a consequence, LSP features doesn't work for permissions.* (i.e., completion and diagnostics).
Fix Proposal
Update config.schema.json adding additional properties support for permissions:
"PermissionsToml": {
"additionalProperties": {
"$ref": "#/definitions/PermissionProfileToml"
},
},
"FilesystemPermissionsToml": {
"additionalProperties": true,
},
Tested these updates locally and they work for my config.toml.
Where did you find it?
_No response_