Description

The USStateCapitalZipCodeGen Generator generates a state capital zip code for each of the 50 states within the USA and also searches for a USStateGen within the same Domain, matching up its values if one is found.


Parameters

The following parameters may be configured for the USStateCapitalZipCodeGen Generator. Items with an asterisk* are required.

  • sortOrder* - Defines the sort order in which the state capital zip codes will be generated. The choices are: 
    • Random
    • Alphabetical

  • autoReference* - When true, the USStateCapitalZipCodeGen Generator will automatically search for an Attribute above itself, within its Domain, that uses a matching US Generator and map the state capital zip code to the value generated. A matching Generator may be one of the following: 
    • USStateAbbrevGen
    • USStateCapitalGen
    • USStateCapitalAreaCodeGen
    • USStateGen

      When false, the state capital zip code will be listed in one of the following sortOrders:
      • Random
      • Alphabetical

  • seed - Using the seed will ensure that the same random state capital zip codes are generated each time data is generated. 

  • plusFourCode* - Determines whether to include the plus-four code or not.



Sample Output

Without plus-four code:


With plus-four code: