fix(mapping): let mapping be set as part of schema