Skip to content

Enum: MetadataBadgeEnum

Metadata quality badges that a Biosample can be awarded.

URI: MetadataBadgeEnum

Permissible Values

Value Meaning Description
biogeochemistry None A badge for a Biosample that has values for at least the minimum number of...
host_information None A badge for a Biosample that has values for at least the minimum number of...
expert_curation None A badge for a Biosample whose metadata was submitted through the NMDC...

Slots

Name Description
badges Metadata quality badges awarded to this record.

Comments

  • A completeness badge has the same name as a badge subset, meaning a subset whose in_subset includes badge_topic. It is awarded when the Biosample populates at least badge_minimum_slots of that subset's slots. tests/test_badge_subset_sync.py checks that these values and subsets match.
  • A provenance badge is awarded from where the metadata came from. It has no subset, and its comments name the slot it is awarded from.

See Also

Identifier and Mapping Information

Schema Source

LinkML Source

name: MetadataBadgeEnum
description: Metadata quality badges that a Biosample can be awarded.
comments:
- A completeness badge has the same name as a badge subset, meaning a subset whose
  in_subset includes badge_topic. It is awarded when the Biosample populates at least
  badge_minimum_slots of that subset's slots. tests/test_badge_subset_sync.py checks
  that these values and subsets match.
- A provenance badge is awarded from where the metadata came from. It has no subset,
  and its comments name the slot it is awarded from.
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: A badge for a Biosample that has values for at least the minimum
      number of slots set by the Biogeochemistry subset.
    title: Biogeochemistry
    comments:
    - Completeness badge. Awarded when the Biosample populates at least badge_minimum_slots
      of the biogeochemistry subset.
    see_also:
    - https://microbiomedata.github.io/nmdc-schema/Biogeochemistry/
  host_information:
    text: host_information
    description: A badge for a Biosample that has values for at least the minimum
      number of slots set by the Host Information subset.
    title: Host Information
    comments:
    - Completeness badge. Awarded when the Biosample populates at least badge_minimum_slots
      of the host_information subset.
    see_also:
    - https://microbiomedata.github.io/nmdc-schema/HostInformation/
  expert_curation:
    text: expert_curation
    description: A badge for a Biosample whose metadata was submitted through the
      NMDC Submission Portal.
    title: Expert Curation
    comments:
    - 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.
    see_also:
    - https://microbiomedata.github.io/nmdc-schema/source_system_of_record/