nb_NO.address.conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalacheck-faker_2.13 Show documentation
Show all versions of scalacheck-faker_2.13 Show documentation
Fake data generation using ScalaCheck Arbitrary instances
The newest version!
include "name.conf"
address {
postal-code-builder = {options = [{parts = [{type = "seq-string-part", value = ["####", "####", "####", "0###"]}]}]}
city-roots = ["Fet", "Gjes", "Høy", "Inn", "Fager", "Lille", "Lo", "Mal", "Nord", "Nær", "Sand", "Sme", "Stav", "Stor", "Tand", "Ut", "Vest"]
city-suffixes = ["berg", "borg", "by", "bø", "dal", "eid", "fjell", "fjord", "foss", "grunn", "hamn", "havn", "helle", "mark", "nes", "odden", "sand", "sjøen", "stad", "strand", "strøm", "sund", "vik", "vær", "våg", "ø", "øy", "ås"]
city-builder = {
options = [
{parts = [{type = "seq-string-part", value = ${address.city-roots}}, {type = "seq-string-part", value = ${address.city-suffixes}}]}
]
}
states = [
{type = "county", abbr = "Østfold", name = "Østfold", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Akershus", name = "Akershus", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Oslo", name = "Oslo", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Hedmark", name = "Hedmark", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Oppland", name = "Oppland", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Buskerud", name = "Buskerud", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Vestfold", name = "Vestfold", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Telemark", name = "Telemark", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Aust-Agder", name = "Aust-Agder", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Vest-Agder", name = "Vest-Agder", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Rogaland", name = "Rogaland", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Hordaland", name = "Hordaland", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Sogn og Fjordane", name = "Sogn og Fjordane", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Møre og Romsdal", name = "Møre og Romsdal", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Sør-Trøndelag", name = "Sør-Trøndelag", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Nord-Trøndelag", name = "Nord-Trøndelag", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Nordland", name = "Nordland", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Troms", name = "Troms", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Finnmark", name = "Finnmark", postal-code-builder = ${address.postal-code-builder}},
{type = "county", abbr = "Svalbard", name = "Svalbard", postal-code-builder = ${address.postal-code-builder}}
]
street-prefixes = ["Øvre", "Nedre", "Søndre", "Gamle", "Østre", "Vestre"]
street-suffixes = ["alléen", "bakken", "berget", "bråten", "eggen", "engen", "ekra", "faret", "flata", "gata", "gjerdet", "grenda", "gropa", "hagen", "haugen", "havna", "holtet", "høgda", "jordet", "kollen", "kroken", "lia", "lunden", "lyngen", "løkka", "marka", "moen", "myra", "plassen", "ringen", "roa", "røa", "skogen", "skrenten", "spranget", "stien", "stranda", "stubben", "stykket", "svingen", "tjernet", "toppen", "tunet", "vollen", "vika", "åsen"]
street-roots = ["Eike", "Bjørke", "Gran", "Vass", "Furu", "Litj", "Lille", "Høy", "Fosse", "Elve", "Ku", "Konvall", "Soldugg", "Hestemyr", "Granitt", "Hegge", "Rogne", "Fiol", "Sol", "Ting", "Malm", "Klokker", "Preste", "Dam", "Geiterygg", "Bekke", "Berg", "Kirke", "Kors", "Bru", "Blåveis", "Torg", "Sjø"]
common-street-suffixes = ["sgate", "svei", "s Gate", "s Vei", "gata", "veien"]
secondary-addresses = ["Leil. ###", "Oppgang A", "Oppgang B"]
street-name-builder = {
options = [
{parts = [{type = "seq-string-part", value = ${address.street-roots}}, {type = "seq-string-part", value = ${address.street-suffixes}}]},
{parts = [{type = "seq-string-part", value = ${address.street-prefixes}, suffix = " "}, {type = "seq-string-part", value = ${address.street-roots}}, {type = "seq-string-part", value = ${address.street-suffixes}}]},
{parts = [{type = "seq-string-part", value = ${name.first.names}}, {type = "seq-string-part", value = ${address.common-street-suffixes}}]},
{parts = [{type = "seq-string-part", value = ${name.last.names}}, {type = "seq-string-part", value = ${address.common-street-suffixes}}]}
]
}
building-numbers = ["##", "#"]
street-address-builder = {
options = [
{parts = [{type = "string-builder-part", value = ${address.street-name-builder}, suffix = " "}, {type = "seq-string-part", value = ${address.building-numbers}}]},
]
}
full-address-builder = {
options = [
{parts = [{type = "string-builder-part", value = ${address.street-address-builder}, suffix = ", "}, {type = "string-builder-part", value = ${address.postal-code-builder}, suffix = " "}, {type = "string-builder-part", value = ${address.city-builder}}]}
]
}
default-countries = [{code = "NO", name = "Norge"}]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy