# Use \`anyOf\` instead of \`oneOf\` in keymap schema \(\#47248\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9c3dc216c6e0b80a2e895869adbf7e184321ddae)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9c3dc216c6e0b80a2e895869adbf7e184321ddae

Requested commit: 9c3dc216c6e0b80a2e895869adbf7e184321ddae

Commit: 9c3dc216c6e0b80a2e895869adbf7e184321ddae

Tree: 4d6c305b44e8b502207bcc3d238fd3fb1a6d111a

Author: Ben Kunkle

Committer: GitHub

## Message

```
Use `anyOf` instead of `oneOf` in keymap schema (#47248)

Closes #ISSUE

Resolves some spurious warnings we were seeing in the keymap file due to
keybind declarations matching multiple possible shapes which is not
allowed with `oneOf` per the json-schema spec

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

- [cd0b37350118673745806cd8754c8bcc0823dfa6](https://git.cafe/gitcafe/zed/commit/cd0b37350118673745806cd8754c8bcc0823dfa6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9c3dc216c6e0b80a2e895869adbf7e184321ddae?format=markdown)
