validateSchema

Validates this Document against the Joyfill JSON schema.

Implementation serializes the document with Document.toJsonString and delegates to JoyfillSchemaManager.validateSchema.

Return

a SchemaError if invalid, otherwise null