diff --git a/abis_mapping/templates/survey_occurrence_data_v2/mapping.py b/abis_mapping/templates/survey_occurrence_data_v2/mapping.py index a8898f9d..0ba4981a 100644 --- a/abis_mapping/templates/survey_occurrence_data_v2/mapping.py +++ b/abis_mapping/templates/survey_occurrence_data_v2/mapping.py @@ -120,6 +120,9 @@ def apply_validation( plugins.mutual_inclusion.MutuallyInclusive( field_names=["sensitivityCategory", "sensitivityAuthority"], ), + plugins.mutual_exclusion.MutuallyExclusive( + field_names=["siteID", "siteVisitID"], + ) ], )