Answer architecture round 3: New loads only sources without an index and what they read, an entry drops reads, ErrLoad sits beside New, the manifest decoder moves to manifest.go and names each mistake once as jsonvalue.Kind words it
This commit is contained in:
+9
-9
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"index": {
|
||||
"en_US.address": {"paths":["","locality","postal-code","region","street","street-number"],"reads":["geo.US.address"]},
|
||||
"en_US.address": {"paths":["","locality","postal-code","region","street","street-number"]},
|
||||
"en_US.color": {"paths":[""]},
|
||||
"en_US.company": {"paths":["","base","suffix"]},
|
||||
"en_US.date": {"paths":[""]},
|
||||
@@ -9,8 +9,8 @@
|
||||
"en_US.ip": {"paths":[""]},
|
||||
"en_US.itin": {"paths":["","area","group","serial"]},
|
||||
"en_US.last-name": {"paths":["","count","name"]},
|
||||
"en_US.person": {"paths":["","first","last","prefix","sex"],"reads":["en_US.first-name","en_US.last-name"]},
|
||||
"en_US.phone": {"paths":["","area","exchange","line"],"reads":["en_US.phone-exchange"]},
|
||||
"en_US.person": {"paths":["","first","last","prefix","sex"]},
|
||||
"en_US.phone": {"paths":["","area","exchange","line"]},
|
||||
"en_US.phone-exchange": {"paths":[""]},
|
||||
"en_US.price": {"paths":["","amt","cents"]},
|
||||
"en_US.sentence": {"paths":["","adj","noun","prep","verb"]},
|
||||
@@ -22,13 +22,13 @@
|
||||
"en_US.username": {"paths":["","n"]},
|
||||
"en_US.version": {"paths":["","n","pre","suffix"]},
|
||||
"en_US.word": {"paths":[""]},
|
||||
"geo.SE.address": {"paths":["","locality","postal-code","street","street-number"],"reads":["geo.SE.locality"]},
|
||||
"geo.SE.address": {"paths":["","locality","postal-code","street","street-number"]},
|
||||
"geo.SE.locality": {"parent":"municipality","paths":["","lat","lon","municipality","name","population","postal-code","postal-code.code","postal-code.locality","street","street.locality","street.name","street.segments"]},
|
||||
"geo.SE.municipality": {"parent":"region","paths":["","code","locality","locality.lat","locality.lon","locality.municipality","locality.name","locality.population","locality.postal-code","locality.postal-code.code","locality.postal-code.locality","locality.street","locality.street.locality","locality.street.name","locality.street.segments","name","population","region"]},
|
||||
"geo.SE.postal-code": {"parent":"locality","paths":["","code","locality"]},
|
||||
"geo.SE.region": {"paths":["","code","municipality","municipality.code","municipality.locality","municipality.locality.lat","municipality.locality.lon","municipality.locality.municipality","municipality.locality.name","municipality.locality.population","municipality.locality.postal-code","municipality.locality.postal-code.code","municipality.locality.postal-code.locality","municipality.locality.street","municipality.locality.street.locality","municipality.locality.street.name","municipality.locality.street.segments","municipality.name","municipality.population","municipality.region","name","population","timezone"]},
|
||||
"geo.SE.street": {"parent":"locality","paths":["","locality","name","segments"]},
|
||||
"geo.US.address": {"paths":["","locality","postal-code","region","street","street-number"],"reads":["geo.US.locality"]},
|
||||
"geo.US.address": {"paths":["","locality","postal-code","region","street","street-number"]},
|
||||
"geo.US.locality": {"parent":"municipality","paths":["","code","lat","lon","municipality","name","population","postal-code","postal-code.addresses","postal-code.code","postal-code.locality","street","street.addresses","street.locality","street.name"]},
|
||||
"geo.US.municipality": {"parent":"region","paths":["","code","locality","locality.code","locality.lat","locality.lon","locality.municipality","locality.name","locality.population","locality.postal-code","locality.postal-code.addresses","locality.postal-code.code","locality.postal-code.locality","locality.street","locality.street.addresses","locality.street.locality","locality.street.name","name","population","region"]},
|
||||
"geo.US.postal-code": {"parent":"locality","paths":["","addresses","code","locality"]},
|
||||
@@ -54,7 +54,7 @@
|
||||
"misc.tld": {"paths":["","tld","type","unicode"]},
|
||||
"misc.useragent": {"paths":["","browser","device","os","ua"]},
|
||||
"misc.uuid": {"paths":["","variant"]},
|
||||
"sv_SE.address": {"paths":["","locality","postal-code","street","street-number"],"reads":["geo.SE.address"]},
|
||||
"sv_SE.address": {"paths":["","locality","postal-code","street","street-number"]},
|
||||
"sv_SE.birth-number": {"parent":"sex","paths":["","number","sex"]},
|
||||
"sv_SE.color": {"paths":[""]},
|
||||
"sv_SE.company": {"paths":["","base","suffix"]},
|
||||
@@ -63,11 +63,11 @@
|
||||
"sv_SE.first-name": {"parent":"sex","paths":["","count","name","sex"]},
|
||||
"sv_SE.ip": {"paths":[""]},
|
||||
"sv_SE.last-name": {"paths":["","count","name"]},
|
||||
"sv_SE.person": {"paths":["","first","last","prefix","sex"],"reads":["sv_SE.first-name","sv_SE.last-name","sv_SE.title"]},
|
||||
"sv_SE.personnummer": {"paths":[""],"reads":["sv_SE.birth-number"]},
|
||||
"sv_SE.person": {"paths":["","first","last","prefix","sex"]},
|
||||
"sv_SE.personnummer": {"paths":[""]},
|
||||
"sv_SE.phone": {"paths":["","a","b","c","prefix"]},
|
||||
"sv_SE.price": {"paths":["","amt","ore"]},
|
||||
"sv_SE.samordningsnummer": {"paths":[""],"reads":["sv_SE.birth-number"]},
|
||||
"sv_SE.samordningsnummer": {"paths":[""]},
|
||||
"sv_SE.sentence": {"paths":["","adj","noun","prep","verb"]},
|
||||
"sv_SE.sex": {"paths":["","birth-number","birth-number.number","birth-number.sex","code","first-name","first-name.count","first-name.name","first-name.sex","name"]},
|
||||
"sv_SE.time": {"paths":[""]},
|
||||
|
||||
Reference in New Issue
Block a user