code: def validate(schema_text, data_text, deserializer=_default_deserializer):
      
      schema = Schema(deserializer(schema_text))
      data = deserializer(data_text)
      return Validator.validate(schema, data)
docs: Validate specified JSON text with specified schema.
  
      Both arguments are converted to JSON objects with :func:`simplejson.loads`,
      if present, or :func:`json.loads`.
  
      :param schema_text:
          Text of the JSON schema to check against
      :type schema_text:
          :class:`str`
      :param data_text:
          Text of the JSON object to check
      :type data_text:
          :class:`str`
      :param deserializer:
          Function to convert the schema and data to JSON objects
      :type deserializer:
          :class:`callable`
      :returns:
          Same as :meth:`json_schema_validator.validator.Validator.validate`
      :raises:
          Whatever may be raised by simplejson (in particular
          :class:`simplejson.decoder.JSONDecoderError`, a subclass of
          :class:`ValueError`) or json
      :raises:
          Whatever may be raised by
          :meth:`json_schema_validator.validator.Validator.validate`. In particular
          :class:`json_schema_validator.errors.ValidationError` and
          :class:`json_schema_validator.errors.SchemaError`