var _ = require('lodash'), check = require('check-types'), schemas = require('./labelSchema.json'); module.exports = function( record ){ var schema = getSchema(record.country_a); var labelParts = getInitialLabel(record); var buildOutput = function(parts, schemaArr, record) { for (var i=0; i