@kaiord/core / weightMeasurementSchema
Variable: weightMeasurementSchema
constweightMeasurementSchema:ZodObject<{externalId:ZodOptional<ZodString>;kaiordRecordId:ZodOptional<ZodString>;kind:ZodLiteral<"weight">;measuredAt:ZodISODateTime;sourceBridgeId:ZodOptional<ZodString>;version:ZodString;weightKilograms:ZodNumber; },$strip>
Defined in: packages/core/src/domain/schemas/health/weight.ts:12
Zod schema for extensions.health.weight — a scalar weight measurement captured at a point in time. Body-composition fields (fat percent, lean mass, water, BMI) live in the separate body_composition payload so scales that only report scalar weight produce a valid payload without partial fields.