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..a02dd5e 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,36 @@ 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 d86ac21..005fa0d 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
@@ -23,12 +23,24 @@ data class TopLevel (
     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) }
     }
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 b0696fb..0d711b6 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
@@ -27,6 +27,12 @@ data class TopLevel (
     init {
         optInt?.let { require(it <= 100) }
     }
+    init {
+        optString?.let { require(it.length >= 3) }
+    }
+    init {
+        optString?.let { require(it.length <= 10) }
+    }
     init {
         require(reqZeroMin >= 0)
     }
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 1276f4e..e3cea5f 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,12 @@ data class TopLevel (
     val minMaxLength: String,
     val percent: Double
 ) {
+    init {
+        require(minMaxLength.length >= 5)
+    }
+    init {
+        require(minMaxLength.length <= 5)
+    }
     init {
         require(percent >= 0)
     }
