Module: Protonym::SoftValidationExtensions::Klass

Included in:
Protonym
Defined in:
app/models/protonym/soft_validation_extensions.rb

Constant Summary

VALIDATIONS =
{
  sv_validate_parent_rank: {
    set:         :validate_parent_rank,
    resolution:  [],
    name:        'Validate parent rank',
    description: 'Validates parent rank.'
  },

  sv_missing_relationships: { set: :missing_relationships},
  sv_missing_classifications: { set: :missing_classifications},
  sv_species_gender_agreement: { set: :species_gender_agreement},
  sv_type_placement: { set: :type_placement},
  sv_primary_types: { set: :primary_types},
  sv_validate_coordinated_names: { set: :validate_coordinated_names},
  sv_single_sub_taxon: { set: :single_sub_taxon},
  sv_parent_priority: { set: :parent_priority},
  sv_homotypic_synonyms: { set: :homotypic_synonyms},
  sv_potential_homonyms: { set: :potential_homonyms},
  sv_source_not_older_then_description: { set: :dates},
  sv_original_combination_relationships: { set: :original_combination_relationships},
  sv_extant_children: { set: :extant_children}
}