docs: def validate(self, schema):
          """
          Validate VDOM against given JSON Schema
  
          Raises ValidationError if schema does not match
          """
          try:
              validate(instance=self.to_dict(), schema=schema, cls=Draft4Validator)
          except ValidationError as e:
              raise ValidationError(_validate_err_template.format(VDOM_SCHEMA, e))