code: def _validate_annotations(self):
          
          for namespace in self.api.namespaces.values():
              for data_type in namespace.data_types:
                  for field in data_type.fields:
                      if field.redactor:
                          self._validate_field_can_be_tagged_with_redactor(field)
  
              for alias in namespace.aliases:
                  if alias.redactor:
                      self._validate_object_can_be_tagged_with_redactor(alias)
docs: Validates that all annotations are attached to proper types and that no field
          has conflicting inherited or direct annotations. We need to go through all reference
          chains to make sure we don't override a redactor set on a parent alias or type