# ValidationProps

> Type reference for ValidationProps in the Rippling SDK, including its public shape and related types.

Initialization properties for Validation.

## Type definition

```
export interface ValidationProps {
    displayName: string;
    rqlFormula: string;
    errorMessage: string;
    state: ValidationState;
    level: ValidationLevel;
    ruleDescription: string;
    ruleId?: string;
    fieldRef?: Field;
}
```

## Related types

-   [ValidationState](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ValidationState-f9a3df92)
-   [ValidationLevel](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ValidationLevel-05692d02)
-   [Field](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldReference-517a57fd)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ValidationProps-49e7a151

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
