Validator

object Validator

Utility for validating JSON payloads against predefined schemas.

Functions

Link copied to clipboard
fun validate(jsonMessage: <Error class: unknown class>, schemaName: String)

Validates a JSON message against a predefined schema.

Link copied to clipboard
fun validateData(data: Data, messageKind: String)

Validate message data or resource data against a predefined schema

Link copied to clipboard
fun validateMessage(message: Message)

Validate a message against a predefined schema