All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.erosb.jsonsKema.PropertyNames.kt Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
package com.github.erosb.jsonsKema

data class PropertyNamesSchema(
    val propertyNamesSchema: Schema,
    override val location: SourceLocation
) : Schema(location) {
    override fun 

accept(visitor: SchemaVisitor

): P? = visitor.visitPropertyNamesSchema(this) override fun subschemas(): Collection = setOf(propertyNamesSchema) } internal val propertyNamesLoader: KeywordLoader = {ctx -> PropertyNamesSchema(ctx.subschemaLoader(ctx.keywordValue), ctx.location) } data class PropertyNamesValidationFailure( override val schema: PropertyNamesSchema, override val instance: IJsonObj, val causesByProperties: Map ) : ValidationFailure( message = "", schema = schema, instance = instance, keyword = Keyword.PROPERTY_NAMES, causes = causesByProperties.values.toSet() )





© 2015 - 2025 Weber Informatics LLC | Privacy Policy