In Lines, you can add data fields to new or existing risk types. There are six different types of data fields, and each type has different configuration options.
BriteCore comes with a list of preformatted data fields to help you quickly and easily add data types to a risk type. If none of the preformatted options fit your needs, you can add a custom data field.
Types of data fields
When adding a data field to a risk type, you can choose from several different types. Your use case will determine the type you should choose.
Table 1: Types of data fields.
Type | Description | UI Format |
---|---|---|
Boolean | A field that stores as either true or false. | A Yes/No switch widget. |
Number | An arithmetical value. | A text box that only allows numbers. |
String | A string of text-based characters. | A standard text box. |
Option Selection | A selection from a list of options. | A select box that allows a single choice. |
Date | A standard date stored in ISO format. | A date-picker widget that formats the date as 'mm/dd/yyyy'. |
Computed | A field with a value determined by a calculation. Note: This calculation displays a value to the user but isn't part of the premium calculation. | A disabled input. |
Configuration options
Each data field type has different configuration options, which can determine which type will meet your needs.
Table 2: Data field configuration options.
Data Field Type | Configuration Settings |
---|---|
Boolean | Default: • None • Yes • No |
Number | Number Range: • Minimum - Maximum • Maximum Decimal Places • Default |
String | Character Length: • Minimum - Maximum • Regular Expression Pattern • Default |
Option Selection | Setup Available Options: • Use Options Below • Use a Risk Type for Options • Number of Options • Default |
Date | Years/Months/Days: • Earliest Allowed Date • Last Allowed Date • Default |
Computed | • Calculation Note: This calculation displays a value to the user but isn't part of the premium calculation. |
Preformatted data fields
When adding a data field to a risk type, you can choose from several different types of preformatted data fields.
Table 3: Preformatted data field types.
Format | Options | Option type |
---|---|---|
Boolean Formats | • Yes/No Question | • Yes/No Question - Boolean |
Contact | • Email Address • Phone Number • Website Link / URL | • Email Address - String • Phone Number - String • Website Link / URL - String |
Identity | • Birthdate • Social Security Number | • Birthdate - Date • Social Security Number - String |
Location | • Country • Timezone • U.S. City • U.S. State • U.S. State Selection • U.S. Zip Code | • Country - Option Selection • Timezone - Option Selection • U.S. City - String • U.S. State - String • U.S. State Selection - Option Selection • U.S. Zip Code - String |
Misc. | • Description • Password | • Description - String • Password - String |
Payment Info | • Credit Card Number • Currency | • Credit Card Number - String • Currency - Number |
Time | • Year | • Year - Number |
Vehicle | • Make • Model • Model Year • Vehicle Identification Number | • Make - String • Model - String • Model Year - Number • Vehicle Identification Number - String |