Variable: metricMetadataSchema
const metricMetadataSchema: ZodObject<{
aggregation: ZodObject<{
field: ZodOptional<ZodString>;
fn: ZodEnum<{
avg: "avg";
count: "count";
max: "max";
min: "min";
sum: "sum";
}>;
}, $strip>;
format: ZodOptional<ZodObject<{
money: ZodOptional<ZodObject<{
currencyCode: ZodOptional<ZodString>;
representation: ZodEnum<{
decimal: "decimal";
minorUnits: "minorUnits";
}>;
scale: ZodDefault<ZodNumber>;
}, $strip>>;
type: ZodEnum<{
boolean: "boolean";
date: "date";
datetime: "datetime";
enum: "enum";
money: "money";
number: "number";
string: "string";
}>;
}, $strip>>;
key: ZodString;
label: ZodString;
subject: ZodString;
}, $strip>;Defined in: shared/insights/types/model-metadata.ts:118