Skip to content

Instantly share code, notes, and snippets.

@atskimura
Last active April 4, 2023 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atskimura/8dd429d31a532e1664d7febf0e04fdda to your computer and use it in GitHub Desktop.
Save atskimura/8dd429d31a532e1664d7febf0e04fdda to your computer and use it in GitHub Desktop.
- var: snowfakery_locale
value: ja_JP
- object: Account
count: 2
fields:
Name:
fake: company
Type:
random_choice:
- Prospect
- Customer - Direct
- Customer - Channel
- Channel Partner / Reseller
- Installation Partner
- Technology Partner
- Other
BillingStreet:
fake.text:
max_nb_chars: 100
BillingCity:
fake: city
BillingState:
fake: state
BillingPostalCode:
fake: postalcode
BillingCountry: JP
BillingLatitude:
fake: latitude
BillingLongitude:
fake: longitude
BillingGeocodeAccuracy:
random_choice:
- Address
- NearAddress
- Block
- Street
- ExtendedZip
- Zip
- Neighborhood
- City
- County
- State
- Unknown
ShippingStreet:
fake.text:
max_nb_chars: 100
ShippingCity:
fake: city
ShippingState:
fake: state
ShippingPostalCode:
fake: postalcode
ShippingCountry: JP
ShippingLatitude:
fake: latitude
ShippingLongitude:
fake: longitude
ShippingGeocodeAccuracy:
random_choice:
- Address
- NearAddress
- Block
- Street
- ExtendedZip
- Zip
- Neighborhood
- City
- County
- State
- Unknown
Phone:
fake: phone_number
Fax:
fake: phone_number
Website:
fake: url
Industry:
random_choice:
- Agriculture
- Apparel
- Banking
- Biotechnology
- Chemicals
- Communications
- Construction
- Consulting
- Education
- Electronics
- Energy
- Engineering
- Entertainment
- Environmental
- Finance
- Food & Beverage
- Government
- Healthcare
- Hospitality
- Insurance
- Machinery
- Manufacturing
- Media
- Not For Profit
- Recreation
- Retail
- Shipping
- Technology
- Telecommunications
- Transportation
- Utilities
- Other
AnnualRevenue:
random_number:
min: 1
max: 100000
NumberOfEmployees:
random_number:
min: 1
max: 100000
Description:
fake.text:
max_nb_chars: 100
friends:
- object: Contact
count: 2
fields:
AccountId:
reference: Account
LastName:
fake: last_name
FirstName:
fake: first_name
Salutation:
random_choice:
Mr.: 40%
Ms.: 40%
Dr.: 10%
Prof.: 10%
OtherStreet:
fake.text:
max_nb_chars: 100
OtherCity:
fake: city
OtherState:
fake: state
OtherPostalCode:
fake: postalcode
OtherCountry: JP
OtherLatitude:
fake: latitude
OtherLongitude:
fake: longitude
OtherGeocodeAccuracy:
random_choice:
- Address
- NearAddress
- Block
- Street
- ExtendedZip
- Zip
- Neighborhood
- City
- County
- State
- Unknown
MailingStreet:
fake.text:
max_nb_chars: 100
MailingCity:
fake: city
MailingState:
fake: state
MailingPostalCode:
fake: postalcode
MailingCountry: JP
MailingLatitude:
fake: latitude
MailingLongitude:
fake: longitude
MailingGeocodeAccuracy:
random_choice:
- Address
- NearAddress
- Block
- Street
- ExtendedZip
- Zip
- Neighborhood
- City
- County
- State
- Unknown
Phone:
fake: phone_number
Fax:
fake: phone_number
MobilePhone:
fake: phone_number
HomePhone:
fake: phone_number
OtherPhone:
fake: phone_number
AssistantPhone:
fake: phone_number
# ReportsToId:
# reference: BossContact # you need to have defined this Contact elsewhere
Email:
fake: email
Title:
fake.text:
max_nb_chars: 100
Department:
fake.text:
max_nb_chars: 80
AssistantName:
fake: name
LeadSource:
random_choice:
- Web
- Phone Inquiry
- Partner Referral
- Purchased List
- Other
Birthdate:
date_between:
start_date: -1y
end_date: today
Description:
fake.text:
max_nb_chars: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment