diff --git a/base/schema-kotlin/test/inputs/schema/minmaxlength.schema/default/TopLevel.kt b/head/schema-kotlin/test/inputs/schema/minmaxlength.schema/default/TopLevel.kt
index 8ae6e75..448200b 100644
--- a/base/schema-kotlin/test/inputs/schema/minmaxlength.schema/default/TopLevel.kt
+++ b/head/schema-kotlin/test/inputs/schema/minmaxlength.schema/default/TopLevel.kt
@@ -27,6 +27,16 @@ data class TopLevel (
     val minMaxUnion: String,
     val union: String
 ) {
+    init { require(intersection.length >= 4) }
+    init { require(intersection.length <= 5) }
+    init { require(maxlength.length <= 5) }
+    init { require(minlength.length >= 3) }
+    init { require(minMaxIntersection.length >= 3) }
+    init { require(minMaxIntersection.length <= 5) }
+    init { require(minmaxlength.length >= 3) }
+    init { require(minmaxlength.length <= 5) }
+    init { require(union.length >= 3) }
+    init { require(union.length <= 6) }
     public fun toJson() = klaxon.toJsonString(this)
 
     companion object {
diff --git a/base/schema-kotlin/test/inputs/schema/optional-const-ref.schema/default/TopLevel.kt b/head/schema-kotlin/test/inputs/schema/optional-const-ref.schema/default/TopLevel.kt
index f5403f4..d0b2926 100644
--- a/base/schema-kotlin/test/inputs/schema/optional-const-ref.schema/default/TopLevel.kt
+++ b/head/schema-kotlin/test/inputs/schema/optional-const-ref.schema/default/TopLevel.kt
@@ -19,8 +19,12 @@ data class TopLevel (
 ) {
     init { count?.let { require(it >= 1) } }
     init { count?.let { require(it <= 100) } }
+    init { label?.let { require(it.length >= 2) } }
+    init { label?.let { require(it.length <= 16) } }
     init { require(requiredCount >= 1) }
     init { require(requiredCount <= 100) }
+    init { require(requiredLabel.length >= 2) }
+    init { require(requiredLabel.length <= 16) }
     init { weight?.let { require(it >= 0.5) } }
     init { weight?.let { require(it <= 99.5) } }
     public fun toJson() = klaxon.toJsonString(this)
diff --git a/base/schema-kotlin/test/inputs/schema/optional-constraints.schema/default/TopLevel.kt b/head/schema-kotlin/test/inputs/schema/optional-constraints.schema/default/TopLevel.kt
index 12d737c..249e118 100644
--- a/base/schema-kotlin/test/inputs/schema/optional-constraints.schema/default/TopLevel.kt
+++ b/head/schema-kotlin/test/inputs/schema/optional-constraints.schema/default/TopLevel.kt
@@ -19,6 +19,8 @@ data class TopLevel (
     init { optDouble?.let { require(it <= 99.5) } }
     init { optInt?.let { require(it >= 0) } }
     init { optInt?.let { require(it <= 100) } }
+    init { optString?.let { require(it.length >= 3) } }
+    init { optString?.let { require(it.length <= 10) } }
     init { require(reqZeroMin >= 0) }
     init { require(reqZeroMin <= 100) }
     public fun toJson() = klaxon.toJsonString(this)
diff --git a/base/schema-kotlin/test/inputs/schema/schema-constraints.schema/default/TopLevel.kt b/head/schema-kotlin/test/inputs/schema/schema-constraints.schema/default/TopLevel.kt
index 1fc5778..eb7838d 100644
--- a/base/schema-kotlin/test/inputs/schema/schema-constraints.schema/default/TopLevel.kt
+++ b/head/schema-kotlin/test/inputs/schema/schema-constraints.schema/default/TopLevel.kt
@@ -12,6 +12,8 @@ data class TopLevel (
     val minMaxLength: String,
     val percent: Double
 ) {
+    init { require(minMaxLength.length >= 5) }
+    init { require(minMaxLength.length <= 5) }
     init { require(percent >= 0) }
     init { require(percent <= 1) }
     public fun toJson() = klaxon.toJsonString(this)
