Skip to content

Commit e5cf619

Browse files
committed
Remove references to JsonElement from format validator
1 parent d8b67cd commit e5cf619

File tree

1 file changed

+2
-3
lines changed
  • json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema

1 file changed

+2
-3
lines changed

json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/FormatValidator.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package io.github.optimumcode.json.schema
22

33
import io.github.optimumcode.json.schema.model.AbstractElement
4-
import kotlinx.serialization.json.JsonElement
54
import kotlin.jvm.JvmStatic
65

76
/**
8-
* The [FormatValidator] is used to check whether the [JsonElement] matches the expected format.
9-
* If the [JsonElement] is not of the required type (e.g. validator expects string but the [JsonElement] is an object)
7+
* The [FormatValidator] is used to check whether the [AbstractElement] matches the expected format.
8+
* If the [AbstractElement] is not of the required type (e.g. validator expects string but the [AbstractElement] is an object)
109
* the validator **MUST** return [FormatValidator.Valid] result
1110
*/
1211
@ExperimentalApi

0 commit comments

Comments
 (0)