Skip to content

InsurancePolicy entity

Generate coherent insurance policies linking holder, company, product, coverages, term, and premium.

Why: Use InsurancePolicy when policy-holder, carrier, product, coverages, term, premium, and status must form one coherent contract; compose fields manually for rejection and fraud edge cases.

1
<variable name="value" entity="InsurancePolicy"/>

Output: Typed InsurancePolicy value.

Parameters

  • dataset: str | null; Default None — Country dataset shared across holder, carrier, product, and monetary values.

Attributes

  • company (InsuranceCompany): Issuing insurance company.
  • coverages (list[InsuranceCoverage]): Coverages included in the policy.
  • created_date (datetime): Timestamp when the policy was created.
  • end_date (date): Policy end date.
  • id (str): Synthetic policy identifier.
  • policy_holder (Person): Person holding the policy.
  • policy_number (str): Policy number.
  • premium (float): Premium amount per payment period.
  • premium_frequency (str): Premium payment frequency.
  • product (InsuranceProduct): Insured product.
  • start_date (date): Policy start date.
  • status (str): Policy status.

Limits

The available attributes and values depend on the registered entity, its dataset, and its documented constructor options.