code: function(method) {
  		return function(object, options) {
  			//console.log("client-store schema validation", this.schema);
  			var schema = this.schema;
  			if (!schema)
  				return deep.Arguments([object, options]);
  			options = options || {};
  			var id = options.id || object.id,
  				query = null;
  			if (id) {
  				query = id.split("/");
  				if (query.length > 1) {
  					id = query.shift();
  					query = "/" + query.join("/");
  				} else
  					query = null;
  			}
  			var finalise = function(schema) {
  				if (!query) { // validate whole object
  					var report = deep.validate(object, schema);
  					if (!report.valid)
  						return deep.errors.PreconditionFail(method + " failed", report);
  				} else { // partial validation : could be unrelevant as it could depend of whole item structure
  					// what TODO here...? : if nothing : it should be validated remotely
  				}
  				return deep.Arguments([object, options]);
  			};
  			if (typeof schema === 'string')
  				return deep.get(schema)
  					.done(finalise);
  			return finalise(schema);
  		};
  	}
docs: Validate sended body against schema associated to the store (if any).
  Could load schema before use (if provided schema is a "string" (i.e. an uri).
  Internal use only. Should never be called directly.