From b84c46bf18108d8346ca2c9a1d28b031e3f96270 Mon Sep 17 00:00:00 2001 From: jxs Date: Tue, 4 Aug 2026 15:58:38 +0200 Subject: [PATCH] docs(event-gateway): add record.value.schema.metadata expression fields --- app/event-gateway/expressions.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/event-gateway/expressions.md b/app/event-gateway/expressions.md index 1bbfc7074f5..39709f0fe01 100644 --- a/app/event-gateway/expressions.md +++ b/app/event-gateway/expressions.md @@ -219,6 +219,24 @@ rows: * `condition` field in Produce and Consume policies used as children of Schema Validation example: | `record.value.schema.json.id == 'https://example.com/schemas/order.json'` + - variable: | + `record.value.schema.metadata.properties` {% new_in 1.3 %} + type: "`map`" + description: | + Confluent schema-registry `metadata.properties`. Present as an empty map whenever `record.value.schema` is present, even when the registry omits the properties. + availability: | + * `condition` field in Produce and Consume policies used as children of Schema Validation + example: | + `record.value.schema.metadata.properties['owner'] == 'payments-team'` + - variable: | + `record.value.schema.metadata.tags` {% new_in 1.3 %} + type: "`map>`" + description: | + Confluent schema-registry `metadata.tags`, keyed by tag. Each value is the list of schema paths (for example `io.confluent.field.`) that carry that tag. Present as an empty map whenever `record.value.schema` is present, even when the registry omits the tags. + availability: | + * `condition` field in Produce and Consume policies used as children of Schema Validation + example: | + `'PII' in record.value.schema.metadata.tags && 'io.confluent.field.ssn' in record.value.schema.metadata.tags['PII']` - variable: | `record.key.schema.*` {% new_in 1.2 %} type: |