resource(globstring) enforces schemas if they exist