.datafaker.2.2.2.source-code.en-CA.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datafaker Show documentation
Show all versions of datafaker Show documentation
This library is a improved port of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker library) that
generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
en-CA:
faker:
address:
postcode: /[A-CEJ-NPR-TVXY][0-9][A-CEJ-NPR-TV-Z] ?[0-9][A-CEJ-NPR-TV-Z][0-9]/
state: [Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Nova Scotia, Northwest Territories, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan, Yukon]
state_abbr: ["AB", "BC", "MB", "NB", "NL", "NS", "NU", "NT", "ON", "PE", "QC", "SK", "YT"]
default_country: [Canada]
internet:
free_email: [gmail.com, yahoo.ca, hotmail.com]
domain_suffix: [ca, com, biz, info, name, net, org]
phone_number:
country_code: ['1']
area_code: [
'403', '587', '780', '825', # Alberta
'236', '250', '604', '672', '778', # British Columbia
'204', '431', # Manitoba
'506', # New Brunswick
'709', # Newfoundland and Labrador
'782', '902', # Nova Scotia and Prince Edward Island
'226', '249', '289', '343', '365', '416', '437', '519', '548', '613', '647', '705', '807', '905', # Ontario
'367', '418', '438', '450', '514', '579', '581', '819', '873', # Quebec
'306', '639', # Saskatchewan
'867' # Yukon, Northwest Territories and Nunavut
]
formats: # National format
- '(#{PhoneNumber.area_code}) ###-####'
formats_international:
- '+1 #{PhoneNumber.area_code}-###-####'
cell_phone:
country_code: ['1']
area_code: [
'403', '587', '780', '825', # Alberta
'236', '250', '604', '672', '778', # British Columbia
'204', '431', # Manitoba
'506', # New Brunswick
'709', # Newfoundland and Labrador
'782', '902', # Nova Scotia and Prince Edward Island
'226', '249', '289', '343', '365', '416', '437', '519', '548', '613', '647', '705', '807', '905', # Ontario
'367', '418', '438', '450', '514', '579', '581', '819', '873', # Quebec
'306', '639', # Saskatchewan
'867' # Yukon, Northwest Territories and Nunavut
]
formats:
- '#{area_code}-###-####'
- '(#{area_code}) ###-####'
- '#{country_code}-#{area_code}-###-####'
- '#{area_code}.###.####'
vehicle:
license_plate: '#####' #Dept of national defence format, applicable to all provinces
license_plate_by_state:
AB: '???-####'
BC: ['??# ##?', '?? ####']
MB: '??? ###'
NB: '??? ###'
NL: '??? ###'
NT: '######'
NS: '??? ###'
NU: '### ###'
"ON": ['????-###', '??-#####']
PE: '## #??'
QC: '?## ???'
SK: '### ???'
YT: ['???##', '??? ##']
passport:
valid: "[A-Z]{2}[0-9]{6}"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy