internal static void Validate(EpcisEvent evt)
        {
            evt.Epcs.ForEach(e => UriValidator.Validate(e.Id));

            // TCR-7 parentID is Populated for ADD or DELETE Actions in Aggregation Events
            if (IsAddOrDeleteAggregation(evt) && !evt.Epcs.Any(x => x.Type == EpcType.ParentId))
            {
                throw new EpcisException(ExceptionType.ValidationException, "TCR-7: parentID must be populated for ADD or DELETE aggregation event.");
            }
        }
 private static void EnsureDestinationIsValidURI(Subscription request) => UriValidator.Validate(request.Destination, true);