All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr_CA.address.conf Maven / Gradle / Ivy

The newest version!
address {
  postal-string = "[A-CEJ-NPR-TVXY][0-9][A-CEJ-NPR-TV-Z] ?[0-9][A-CEJ-NPR-TV-Z][0-9]"
  postal-code-builder = {options = [{parts = [{type = "string-regex-part", value = ${address.postal-string}}]}]}
  states = [
    {type = "province", abbr = "AB", name = "Alberta", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "BC", name = "British Columbia", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "MB", name = "Manitoba", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "NB", name = "New Brunswick", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "NL", name = "Newfoundland and Labrador", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "NS", name = "Nova Scotia", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "NT", name = "Northwest Territories", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "NU", name = "Nunavut", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "ON", name = "Ontario", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "PE", name = "Prince Edward Island", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "QC", name = "Quebec", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "SK", name = "Saskatchewan", postal-code-builder = ${address.postal-code-builder}},
    {type = "province", abbr = "YT", name = "Yukon", postal-code-builder = ${address.postal-code-builder}}
  ]
  building-numbers = ["####", "###", "##", "#"]
  street-prefixes = ["Allée, Voie", "Rue", "Avenue", "Boulevard", "Quai", "Passage", "Impasse", "Place"]
  street-suffixes = ["de l'Abbaye", "Adolphe Mille", "d'Alésia", "d'Argenteuil", "d'Assas", "du Bac", "de Paris", "La Boétie", "Bonaparte", "de la Bûcherie", "de Caumartin", "Charlemagne", "du Chat-qui-Pêche", "de la Chaussée-d'Antin", "du Dahomey", "Dauphine", "Delesseux", "du Faubourg Saint-Honoré", "du Faubourg-Saint-Denis", "de la Ferronnerie", "des Francs-Bourgeois", "des Grands Augustins", "de la Harpe", "du Havre", "de la Huchette", "Joubert", "Laffitte", "Lepic", "des Lombards", "Marcadet", "Molière", "Monsieur-le-Prince", "de Montmorency", "Montorgueil", "Mouffetard", "de Nesle", "Oberkampf", "de l'Odéon", "d'Orsel", "de la Paix", "des Panoramas", "Pastourelle", "Pierre Charron", "de la Pompe", "de Presbourg", "de Provence", "de Richelieu", "de Rivoli", "des Rosiers", "Royale", "d'Abbeville", "Saint-Honoré", "Saint-Bernard", "Saint-Denis", "Saint-Dominique", "Saint-Jacques", "Saint-Séverin", "des Saussaies", "de Seine", "de Solférino", "Du Sommerard", "de Tilsitt", "Vaneau", "de Vaugirard", "de la Victoire", "Zadkine"]
  street-name-builder = {options = [{parts = [{type = "seq-string-part", value = ${address.street-suffixes}}]}]}
  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.city-builder}, suffix = ", "},
          {type = "seq-state-abbr-and-zip-part", value = ${address.states}}
        ]
      },
      {
        parts = [
          {type = "string-builder-part", value = ${address.street-address-builder}, suffix = " "},
          {type = "seq-string-part", value = ${address.secondary-addresses}, suffix = ", "},
          {type = "string-builder-part", value = ${address.city-builder}, suffix = ", "},
          {type = "seq-state-abbr-and-zip-part", value = ${address.states}}
        ]
      }
    ]
  }
  default-countries = [{code = "CA", name = "Canada"}]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy