Flexible inputs (beta)

Some select_one coverage parameters also accept integer values not included in their enum list. This provides more front-end options for your application.

At Herald we strive to make things easier for developers and brokers by standardizing information and being thoughtful about your front-end experience. That’s why we’re taking coverage parameters that used to be  the number input type and making them into the  select_one input type with a key caveat. These select_one coverage values will also accept any integer within a given range. These coverage parameters are only identified in this doc, and not yet in our API responses. Please use the list we provide in this doc to identify them.

NameParameter IDMaxMin
Aggregate Limitcvg_agj9_cyb_aggregate_limit010,000,000
Business Income Coverage Limitcvg_64oi_cyb_business_income_coverage_limit5,0001,000,000
Social Engineering Limitcvg_mov6_cyb_social_engineering_limit0250,000
Aggregate Retentioncvg_7fsk_cyb_aggregate_retention0500,000
Waiting Period (Hours)cvg_orn9_cyb_waiting_period024

This is not a Breaking Change

The number input type is designed for you to create a free entry for a number on your front-end and send Herald the integer value. All of the coverage values in our pilot used to be the number input type and are now select_one. But the coverage values listed above will still accept any integer between their max and min, just like the number input type. Although the input type has changed, implementations built on the number input type will continue to work for these coverage values.

A Better UX Pattern

The select_one input parameters above also offer a curated list of values in a dropdown for your front-end. We created this list to save applicants time by having a dropdown instead of a free entry (which is how number input types are generally rendered on the front-end). We provide this list in the API response (see examples below) just as we would for any select_one input type.

We provide the list of values for these select_one coverage values as integers because those are the values we accept. If you want to display the list as currency, for example, you’d need to parse the integers we provide and add that formatting.

You can also take advantage of the flexibility we provide by showing a list with an option for the applicant to override the dropdown.

Examples

Here’s how the aggregate limit appears in a PUT /applications response

Copied
"cvg_agj9_cyb_aggregate_limit",
"value": null,
"section": "Coverages",
"parameter_text": {
    "applicant_facing_text": "Aggregate Limit",
    "agent_facing_text": "Aggregate Limit"
},
"input_type": "select_one",
"relevant_products": [
    "prd_0050_herald_cyber"
],
"creates_array": false,
"affects_conditions": false,
"required_for": [],
"schema": {
    "type": "integer",
    "enum": [
        250000,
        500000,
        1000000,
        2000000,
        3000000,
        4000000,
        5000000,
        10000000
    ],
    "title": "Aggregate Limit"
}

Before it was a select_one Aggregate Limit was a number input type and would have looked like the example below.

Copied
"cvg_agj9_cyb_aggregate_limit",
"value": null,
"section": "Coverages",
"parameter_text": {
    "applicant_facing_text": "Aggregate Limit",
    "agent_facing_text": "Aggregate Limit"
},
"input_type": "number",
"relevant_products": [
    "prd_0050_herald_cyber"
],
"creates_array": false,
"affects_conditions": false,
"required_for": [],
"schema": {
    "type": "integer",
    "title": "Aggregate Limit"
}