UniqueItems

constructor(emitAllRepetitions: Boolean = true, treatNullAsUnique: Boolean = true, code: String = DEFAULT_CODE, severity: ValidationIssueSeverity = ValidationIssueSeverity.Error)(source)

Parameters

emitAllRepetitions

Whether to emit an issue per each repeated item or only for the first repetition.

code

Issue code to use when two items of the value are repeated.

severity

Severity of the issue emitted when two items of the value are repeated.