document attachSchema