diff --git a/relay-event-schema/src/protocol/debugmeta.rs b/relay-event-schema/src/protocol/debugmeta.rs index f40e050d850..6c73373bc03 100644 --- a/relay-event-schema/src/protocol/debugmeta.rs +++ b/relay-event-schema/src/protocol/debugmeta.rs @@ -523,7 +523,14 @@ pub struct DebugMeta { #[metastructure(skip_serialization = "empty")] pub images: Annotated>, - /// Additional arbitrary fields for forwards compatibility. + /// Path to the root of the app generating the event. + #[metastructure(max_chars = 256, max_chars_allowance = 40)] + #[metastructure(skip_serialization = "empty", pii = "maybe")] + pub project_root: Annotated, + + /// Additional arbitrary fields for forwards compatibility. Note that they may still get + /// normalized out of the event, depending on the value of `remove_other` passed to the + /// normalizer. #[metastructure(additional_properties)] pub other: Object, }