Skip to content

AccessBenefit

Public entitlement declaration schema; parsing does not grant access.

const AccessBenefit: Schema.Struct<{
entitlements: Schema.$Array<Schema.brand<Schema.String, "EntitlementKey">>;
type: Schema.tag<"entitlements">;
duration: Schema.Union<readonly [Schema.Literals<readonly ["perpetual", "purchased_period"]>, Schema.Struct<{
type: Schema.tag<"fixed">;
months: Schema.brand<Schema.Int, "BenefitDurationMonths">;
anchor: Schema.Literal<"settlement">;
calendar: Schema.Literal<"utc_clamped">;
}>]>;
}>;