validateSchema
Validates a JoyDoc document against the JSON schema
Return
SchemaError if validation fails, null if validation passes
Parameters
documentJson
The JoyDoc document to validate
Validates a JoyDoc document against the JSON schema, this function has less of memory footprint than validateSchema with String
Return
SchemaError if validation fails, null if validation passes
Parameters
documentJsonObject
The JoyDoc document to validate