# RequiredIfRule

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/types/annotation_queue_rubric_item_schema/RequiredIfRule)

## Signature

```python
RequiredIfRule()
```

## Extends

- `BaseModel`

## Properties

- `key`
- `op`
- `values`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/types/annotation_queue_rubric_item_schema.py#L68)