> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Is one of

> Checks if a value is one of the given items.

Checks whether a value matches one of the items in a list you provide. Use this when a field is only valid if it equals one of a fixed set of options, for example accepting an order only when its country is one of the regions you ship to, or treating a status as valid only when it is one of a handful of known values. The check is exact and also compares the data type, so the text `"5"` does not match the number `5`.

This documentation describes: [Schema](/schemas/condition/one-of)

## Fields

**Allowed values**

Required

The list of items the value is allowed to be. The condition passes when the value matches any one of these items exactly. Add at least one item; you can list as many as you need, and each item can be text, a number, a yes/no value, a list, or empty.

## Sample data

With the allowed values set to `NL`, `BE`, and `DE`, the condition checks whether a country code is one of them.

| Field | Value |
| - | - |
| Allowed values | `NL`, `BE`, `DE` |

| Value | Result |
| - | - |
| `BE` | Matches |
| `US` | Does not match |

```json Configuration theme={null}
{
  "prototype": "one-of",
  "parameters": {
    "value": ["NL", "BE", "DE"]
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.