jwtClaimsSchema
constjwtClaimsSchema:ZodObject<{app_metadata:ZodOptional<ZodObject<{roles:ZodOptional<ZodArray<ZodString>>; },$loose>>;sub:ZodOptional<ZodString>; },$loose>
Defined in: packages/contracts/src/config.ts:247
Minimal verified-JWT claim shape the sync layer understands. Providers may attach arbitrary extra claims; those stay reachable through index access and ownership claim paths (e.g. “app_metadata.person_id”). Parse decoded JWT payloads with this schema at the auth boundary so the static type is honest.