Schema validator creates document