Skip to content

Enum: MetadataBadgeEnum

Metadata-quality badges a Biosample can be awarded. Each permissible value names one badge topic and is present or absent; there are no levels or tiers. Badges are awarded in two ways. A completeness badge names a badge subset (a subset whose in_subset includes badge_topic) and is awarded when the record populates at least that subset's badge_minimum_slots slots; a test keeps those permissible values and subsets in sync. A provenance badge is awarded from a recorded fact about where the metadata came from, has no subset, and names its source in its own description.

URI: MetadataBadgeEnum

Permissible Values

Value Meaning Description
biogeochemistry None Completeness badge. Awarded when the Biosample populates at least...
host_information None Completeness badge. Awarded when the Biosample populates at least...
expert_curation None Provenance badge. Awarded when the Biosample's...

Slots

Name Description
badges Metadata-quality badges awarded to this record. Each value names one badge,...

See Also

Identifier and Mapping Information

Schema Source

LinkML Source

name: MetadataBadgeEnum
description: Metadata-quality badges a Biosample can be awarded. Each permissible
  value names one badge topic and is present or absent; there are no levels or tiers.
  Badges are awarded in two ways. A completeness badge names a badge subset (a subset
  whose in_subset includes badge_topic) and is awarded when the record populates at
  least that subset's badge_minimum_slots slots; a test keeps those permissible values
  and subsets in sync. A provenance badge is awarded from a recorded fact about where
  the metadata came from, has no subset, and names its source in its own description.
from_schema: https://w3id.org/nmdc/nmdc
see_also:
- https://github.com/microbiomedata/nmdc-schema/issues/3227
rank: 1000
permissible_values:
  biogeochemistry:
    text: biogeochemistry
    description: Completeness badge. Awarded when the Biosample populates at least
      badge_minimum_slots of the biogeochemistry subset.
  host_information:
    text: host_information
    description: Completeness badge. Awarded when the Biosample populates at least
      badge_minimum_slots of the host_information subset.
  expert_curation:
    text: expert_curation
    description: Provenance badge. Awarded when the Biosample's ProvenanceMetadata.source_system_of_record
      identifies the NMDC submission portal, rather than an ETL process over an external
      database. Not a completeness measure, so it has no badge subset and no badge_minimum_slots.
    comments:
    - source_system_of_record is not yet backpopulated for existing biosamples, so
      this badge cannot be awarded on historical records until that backfill happens.