validateSchema

fun validateSchema(documentJson: String): SchemaError?

Validates a JoyDoc document against the JSON schema

Return

SchemaValidationError if validation fails, null if validation passes

Parameters

documentJson

The JoyDoc document to validate