---
url: https://api-doc.aive.com/api/types/directives/one-of.md
---

Indicates exactly one field must be supplied and this field must not be `null`.

```graphql
directive @oneOf on INPUT_OBJECT
```
