hestia_earth.validation.validators.source.validate_source

hestia_earth.validation.validators.source.validate_source(source, 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