File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
package io.github.optimumcode.json.schema
2
2
3
3
import io.github.optimumcode.json.schema.model.AbstractElement
4
- import kotlinx.serialization.json.JsonElement
5
4
import kotlin.jvm.JvmStatic
6
5
7
6
/* *
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)
10
9
* the validator **MUST** return [FormatValidator.Valid] result
11
10
*/
12
11
@ExperimentalApi
You can’t perform that action at this time.
0 commit comments