Data Structure
FMV1 policies use asegments array where each segment contains:
segmentInfo— date range (start,end) for the segmentpolicy— policy-level custom field values (key-value pairs)coverages— array of coverage objects with custom field valuesexposures— array of exposure objects with custom field values
policy, coverages, and exposures are configured per company. Use the Configuration endpoint to discover available fields.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/policies | List policies |
| POST | /v1/policies | Create a policy |
| GET | /v1/policies/{policyId} | Get a policy |
| DELETE | /v1/policies/{policyId} | Delete a policy |
| GET | /v1/policies/configuration | Get field configuration |
Configuration
The configuration endpoint returns JSON Schemas for the custom fields:policyschema — fields forsegments[].policyandsegments[].coverages[]exposureschema — fields forsegments[].exposures[]
Permissions
| Operation | Permission |
|---|---|
| List, Get, Configuration | company.policy:read |
| Create, Delete | company.policy:create |
