55 lines
4.7 KiB
JSON
55 lines
4.7 KiB
JSON
// comments removed ONLY if this first line is a comment
|
|
// $Id:$
|
|
// Simple one col name test
|
|
|
|
//
|
|
// Copyright (c) 2011-2012 Dovetail Software, Inc. All Rights Reserved.
|
|
// Some portions copyright by other entities, see specific methods/classes for callouts.
|
|
// Dovetail may contribute classes, methods and implementation to customer projects. Provided this copyright notice
|
|
// is retained, customers are granted a free, perpetual and assignable license to this software when used in the
|
|
// project, work for hire or purpose for which it was originally intended. Customers may not resell software for
|
|
// purposes unrelated to its original project, work for hire or intent.
|
|
//
|
|
|
|
{
|
|
// name this something (not used yet)
|
|
"target": "NameTest",
|
|
// output format (@todo csv or others)
|
|
"outputFormat": "fixed-length",
|
|
// output encoding
|
|
"outputEncoding":"ISO-8859-1",
|
|
// set below to zero for non-fixed-length formats
|
|
"totalRecordLength": 0,
|
|
// config data for various Mapper classes
|
|
"config": {
|
|
// do not try using escapes here, things go badly
|
|
"variables": {
|
|
"_grantee": "Grantor_Original@Title~[N],Grantor@Title~[N],Grantee",
|
|
"_grantor_filler": "Grantor_Original@Title~[U]",
|
|
"_grantor": "-STOP-@Title~[N],Grantor",
|
|
"_buyer": "Trustee_Successor_Address_Name_Unparsed@Title~[NU],Trustee_Address_Name_Unparsed@Title~[NU],Grantee_Name_Address_Unparsed,Address_Grantee_Unparsed,Tax_Statement_Address_Unparsed@Title~[U],Recording_Return_Address_Name_Unparsed@Title~[U],Address_Property@Title~[U]",
|
|
"_property": "Address_Property,Property_Address_Property_City_Property_Zip",
|
|
"_beneficiary": "Beneficiary_Securitization@Title~[N],Beneficiary_Assignee@Title~[N],Beneficiary_Original@Title~[N]",
|
|
"_trustee": "Trustee_Successor,Trustee_Successor_Name_Address_Unparsed,Trustee_Successor_Contact_Name,Trustee,Trustee_Address_Name_Unparsed,Trustee_Contact_Name",
|
|
"_trustee_sale": "TS_Number@Title~[NU], File_Number_Successor_Trustee@Title~[N]",
|
|
"_recording_return": "Recording_Return_Address_Name_Unparsed@Title~[N]",
|
|
// used to have series as part of all comp regex, now extracting sep.
|
|
// n.b. must escape the $ so as not to cause that to be a group ref on replace into other tokens
|
|
// DO NOT USE CHAR CLASSES
|
|
"BondSeries": "(?:(?:NPL |BENEFIT PLAN )[A-Z0-9 -]*(?:AND )?(?:TRUST |(?:TRUST\\$)))|(?:[ ,]*(?:TRUST|SERIES|HEAT|SECURITIES|CSFB|WMALT|MANA|WAMU|WFMBS|SASCO|SURF)[ ,]*[0-9]+[0-9A-Z-]+(?:[ -][A-Z0-9 -]+)?)",
|
|
"fsb": "f[/.]?s[/.]?b[/.]?",
|
|
"fka": "f[/.]?k[/.]?a[/.]?",
|
|
"bank": "ban[ck]",
|
|
"usMeridianNames": "Ashley|Beaverhead|Belt Mountain|Big Hole|Bitterroot|Black Hills|Boise|Boulder|Browning|Buffalo Creek|Carson River|Castle Valley|Chickasaw|Choctaw|Cimarron|Colorado|Columbia|Colville|Copper River|Coulson|Deer Lodge|Deschutes|Emery Valley|Fairbanks|Fifth Principal|First Principal|Flathead|Fort Belknap|Fourth Principal|Fourth Principal|Fremont Valley|Gila and Salt River|Grand River|Grande Ronde|Green River|Haystack Butte|Helena|Henry Mountain|Horse Plains|Humboldt|Humboldt River|Huntsville|Indian|Jefferson|Judith|Kanab|Kateel River|Kolob|Little Porcupine|Louisiana|Maginnis|Michigan|Mount Diablo|Musselshell|Navajo|New Mexico|New Mexico Principal|Panguitch|Passamari|Pine Valley|Principal|Red Rock|Reese River|Ruby Valley|Salt Lake|San Bernardino|Second Principal|Sevier Lake|Seward|Shields River|Sixth Principal|Smith River|Snake Valley|Square Butte|St. Helena|St. Stephens|Sweet Grass|Tallahassee|Teton|Third Principal|Uinta (Special)|Umiat|Ute|Valley Creek|Wah Wah|Washington|Willamette|Willow Springs|Wind River|Yantic|Yellowstone"
|
|
}
|
|
},
|
|
// mapping from FR field names to CL
|
|
"map": [
|
|
// present in csv output as meta field and can optionally be emitted to output iff --emit-meta-fields
|
|
// note if these are emitted, the whole start/end absolute pos will be off
|
|
{"nbr": 1 ,"frName":"Name", "alternate": "","overflow":"", "targetName":"First Name or Company Name","targetLength": 30 ,"targetStart": 1 ,"targetEnd": 30 ,"mappingClass":"NameMapper", "extract":"first", "format":"nominee"},
|
|
{"nbr": 2 ,"frName":"Name", "alternate": "","overflow":"", "targetName":"Last Name or Company Code","targetLength": 18 ,"targetStart": 31 ,"targetEnd": 48 ,"mappingClass":"NameMapper", "extract":"last", "format":"nominee,lendlookup"},
|
|
{"nbr": 3 ,"frName":"Name2","alternate": "","overflow":"", "targetName":"First Name or Company Name 2","targetLength": 30 ,"targetStart": 49 ,"targetEnd": 78 ,"mappingClass":"NameMapper", "extract":"first", "format":"nominee"},
|
|
{"nbr": 4 ,"frName":"Name2","alternate": "","overflow":"", "targetName":"Last Name or Company Code 2","targetLength": 18 ,"targetStart": 79 ,"targetEnd": 96 ,"mappingClass":"NameMapper", "extract":"last", "format":"nominee,lendlookup"}
|
|
]}
|