hestia_earth.validation.validators.organisation.validate_organisation

hestia_earth.validation.validators.organisation.validate_organisation(organisation, node_map={})[source]

Validates a single Organisation.

Parameters:
  • organisation (dict) – The Organisation to validate.

  • node_map (dict) – The list of all nodes to do cross-validation, grouped by type and id.

Returns:

The list of errors for the Organisation, which can be empty if no errors detected.

Return type:

List