moved schema validation inside meta module