JsonSchemaDsl

annotation class JsonSchemaDsl(source)

Marker annotation for the JSON Schema DSL.

This annotation is used to indicate the context of the JSON Schema DSL, enabling safer and declarative construction of JSON Schema definitions within a DSL using Kotlin's type-safe builders.

Applying this annotation helps prevent accidental mixing of DSL contexts by restricting the scope of the annotated receivers within the DSL usage.

Author

Konstantin Pavlov

See also