[**Documentation**](../../../README)

***

[Documentation](../../../README) / [zerotal](../../README) / [validator](../README) / StringRules

# Type Alias: StringRules

> **StringRules** = `Record`\<`string`, `string` \| `string`[]\>

Defined in: [packages/validator/src/stringRules.ts:11](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/validator/src/stringRules.ts#L11)

Pipe-delimited string-rule validation ("required|min:3|email").

This complements the fluent `RuleBuilder` schema API with the pipe-separated string syntax
(and string arrays). It is the single engine for string rules across the framework — Flow's
`@validate("…")` decorator and `this.validate()` delegate here rather than rolling their own,
and the fluent schema engine (`Validator.ts`) delegates to the RULES registry for
every rule it covers.
