Entitlements
Service: entitlement-api
Table: entitlements
Fields
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | uuid | no | - | - |
capability_id | string | yes | - | - |
source | enum | yes | - | enum: license, subscription, addon, trial, grant |
status | enum | no | - | enum: pending, active, expired, cancelled, suspended |
status_reason | text | no | - | - |
trial_info | jsonb | no | - | - |
addon_info | jsonb | no | - | - |
grant_info | jsonb | no | - | - |
usage_metrics | jsonb | no | - | - |
account_id | uuid | yes | - | - |
is_derived | boolean | no | - | - |
source_subscription_id | uuid | no | - | - |
source_license_id | uuid | no | - | - |
activated_at | timestamp | no | - | - |
expired_at | timestamp | no | - | - |
cancelled_at | timestamp | no | - | - |
created_by | string | no | - | - |
updated_by | string | no | - | - |
tenant_id | uuid | no | - | - |
metadata | jsonb | no | - | - |
created_at | timestamp | no | - | - |
updated_at | timestamp | no | - | - |