pattern

@Serializable(with = RegexSerializer::class)
abstract val pattern: Regex?

An optional pattern to restrict the value of the property.