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

# LifecycleRuleInput

> Sets one rule: a condition an entry must meet at its step.



**Kind**: `input`

## Fields

**`assertion`**: `Predicate!` (required)

The condition an applicable entry must satisfy.

---

**`message`**: `String!` (required)

Guidance shown with the rule's outcome.

---

**`precondition`**: `Predicate`

A false precondition skips this rule. Null means it always applies.

---

**`severity`**: `LifecycleRuleSeverity!` (required)

`ERROR` blocks completion of the step; `WARNING` and `ADVISORY` don't.

---

**`slug`**: `String!` (required)

Your id for the rule, unique among all rules of the lifecycle, in the same format as a step slug. The rule keeps its `ruleId` while its slug stays the same.



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