Skip to main content

Variable: MetadataCriterionSchema

const MetadataCriterionSchema: ZodObject<{
comparisonOperatorType: ZodOptional<ZodNullable<ZodEnum<["less_than", "less_than_or_equal_to", "greater_than_or_equal_to", "greater_than", "equal_to"]>>>;
name: ZodOptional<ZodNullable<ZodString>>;
type: ZodOptional<ZodNullable<ZodString>>;
value: ZodOptional<ZodNullable<ZodString>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
comparisonOperatorType: ZodOptional<ZodNullable<ZodEnum<["less_than", "less_than_or_equal_to", "greater_than_or_equal_to", "greater_than", "equal_to"]>>>;
name: ZodOptional<ZodNullable<ZodString>>;
type: ZodOptional<ZodNullable<ZodString>>;
value: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
comparisonOperatorType: ZodOptional<ZodNullable<ZodEnum<["less_than", "less_than_or_equal_to", "greater_than_or_equal_to", "greater_than", "equal_to"]>>>;
name: ZodOptional<ZodNullable<ZodString>>;
type: ZodOptional<ZodNullable<ZodString>>;
value: ZodOptional<ZodNullable<ZodString>>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/dlp-data-pattern.ts:71

Metadata criterion for granular filtering inside matching_rules.

Inner fields are .nullish() — live API emits null for unset values on response; shared with request paths but writing null would be unusual user input.