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