LogoLogo
Release notesDocs homeFabricateTonic.ai
  • Tonic Fabricate User Guide
  • Fabricate workflow
  • Tutorial videos
  • Fabricate account
    • Getting started with Fabricate
    • Fabricate license plans
    • Managing your Fabricate account and profile
    • Managing users in your account
  • Databases
    • Supported database types
    • Creating and managing databases
  • Backing up and restoring the database definition
  • Configuring database variables
  • Exporting data from a database
  • Tables and columns
    • Managing database tables
      • Configuring table settings
      • Adding a table to a database
      • Removing a table from a database
      • Attaching static data to a table
      • Regenerating table data
  • Managing table columns
    • Adding and removing columns
    • Configuring a column
    • Generator reference
      • Calculated or related values
      • Unstructured Data
      • Data type and specific values
      • Names and other identifying information
      • Telephone numbers and email addresses
      • Geographic locations
      • Air travel
      • Natural science
      • Networks and files
      • Banking and finance
      • Dates and times
      • Vehicles
      • Companies and products
      • Healthcare and health insurance
      • Languages
      • Movies
      • Education
    • Fabricate custom SQLite functions
  • Views
    • Creating and managing views
    • Views reference
  • Workspaces
    • About workspaces
  • Creating and managing workspaces
  • Database mock API
    • About mock APIs
    • Defining a mock API
    • Creating and querying database snapshots
  • Mock API reference
  • Fabricate API and CLI
    • Managing Fabricate API keys
    • Daily limits on generated data
    • Using the Fabricate API
      • Authentication for the API
      • Data model
        • Database attributes
        • Entity (table) attributes
        • Constraint attributes
        • Column attributes
          • General column configuration
          • Calculated or related values
          • Unstructured Data
          • Data type and specific values
          • Names and other identifying information
          • Telephone numbers and email addresses
          • Geographic locations
          • Air travel
          • Natural science
          • Networks and files
          • Banking and finance
          • Dates and times
          • Vehicles
          • Companies and products
          • Healthcare and health insurance
          • Languages
          • Movies
          • Education
      • Managing databases from the API
      • Generating data from the API
    • Using the Fabricate CLI
      • Setting up CLI access
      • Using the CLI to load data
  • Self-hosted Fabricate
    • Fabricate architecture
    • Setting up the Fabricate components
    • Limiting login attempts
    • Starting a Fabricate instance
    • Upgrading a Fabricate instance
Powered by GitBook
On this page
  • Country Phone Code (Global)
  • Country Phone Code (US)
  • Email Address
  • Phone Number (Global)
  • Phone Number (US)
Export as PDF
  1. Fabricate API and CLI
  2. Using the Fabricate API
  3. Data model
  4. Column attributes

Telephone numbers and email addresses

The following generators produce values for telephone numbers and email addresses.

For more information about these generators and how to configure them in the application, go to Telephone numbers and email addresses in the generator reference.

Country Phone Code (Global)

Populates the column with a country telephone code from anywhere around the world.

Uses the General column configuration.

Country Phone Code (US)

Populates the column with the country telephone code for the United States.

Uses the General column configuration.

Email Address

Populates the column with an email address.

If the table includes first name and last name columns, then the email address is automatically derived from the those columns. For example, johndoe@example.com.

Uses the General column configuration.

Phone Number (Global)

Populates the column with a telephone number from anywhere in the world.

{ 
  "name": string,
  "data_type": string,
  "generator": "Phone Number",
  // Generator-specific fields
  "phone_number_format": string, // The format to use for the telephone number
  // End generator-specific fields
  "conditions": [
    {
      "subset_field": string,
      "operator": "is_one_of"|"is_not_one_of"|"is_not_null",
      "subset_value": string
      "weight": integer
    }
  ],
  "default_weight": integer,
  "group_key": string,
  "percent_null": integer,
  "virtual": boolean,
  // Advanced options
  "primary_key": boolean,
  "index": boolean,
  "seed": string,
  "postprocessing_sql": string
}

Phone Number (US)

Populates the column with a telephone number from the United States.

{ 
  "name": string,
  "data_type": string,
  "generator": "Phone Number (US)",
  // Generator-specific fields
  "phone_number_format": string, // The format to use for the telephone number
  // End generator-specific fields
  "conditions": [
    {
      "subset_field": string,
      "operator": "is_one_of"|"is_not_one_of"|"is_not_null",
      "subset_value": string
      "weight": integer
    }
  ],
  "default_weight": integer,
  "group_key": string,
  "percent_null": integer,
  "virtual": boolean,
  // Advanced options
  "primary_key": boolean,
  "index": boolean,
  "seed": string,
  "postprocessing_sql": string
}

Last updated 5 days ago