                 # get -- returns a string: the live version of the document
                 # set -- takes a string as input: sets the live version of the document to this.
         if not opts.string_id?
-            opts.string_id = require('smc-util/schema').client_db.sha1(opts.project_id, opts.path)
+            opts.string_id = schema.client_db.sha1(opts.project_id, opts.path)
         @_closed         = true
         @_string_id     = opts.string_id
         @_project_id    = opts.project_id


misc      = require('./misc')
{sagews}  = require('./sagews')

{Evaluator} = require('./syncstring_evaluator')


        if not x? or not x.last_snapshot? or not x.users?
            # Brand new document
            @_last_snapshot = 0
            @_snapshot_interval = schema.SCHEMA.syncstrings.user_query.get.fields.snapshot_interval
            # brand new syncstring
            @_user_id = 0
            @_users = [client_id]
