pub struct FhrMetadata {Show 23 fields
pub schema: Option<String>,
pub schema_version: Option<Number>,
pub genome: Option<String>,
pub taxon: Option<FhrTaxon>,
pub version: Option<String>,
pub metadata_author: Option<Vec<FhrAuthor>>,
pub assembly_author: Option<Vec<FhrAuthor>>,
pub date_created: Option<String>,
pub voucher_specimen: Option<String>,
pub masking: Option<String>,
pub checksum: Option<String>,
pub genome_synonym: Option<Vec<String>>,
pub accession_id: Option<FhrIdentifier>,
pub instrument: Option<Vec<String>>,
pub scholarly_article: Option<String>,
pub documentation: Option<String>,
pub identifier: Option<Vec<String>>,
pub license: Option<String>,
pub related_link: Option<Vec<String>>,
pub funding: Option<String>,
pub vital_stats: Option<FhrVitalStats>,
pub seqcol_digest: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
FAIR Headers Reference genome (FHR) metadata for a sequence collection.
All fields are optional to allow partial metadata. RefgetStore does not enforce FHR schema compliance – that’s the user’s responsibility.
Fields§
§schema: Option<String>URL to the FHR JSON schema
schema_version: Option<Number>FHR schema version (numeric per spec, e.g. 1 or 1.0)
genome: Option<String>Genome name (e.g., “Homo sapiens”)
taxon: Option<FhrTaxon>Taxonomy information
version: Option<String>Genome version (e.g., “GRCh38.p14”)
Who created the metadata (ORCID URIs)
Who assembled the genome
date_created: Option<String>Assembly creation date (ISO 8601)
voucher_specimen: Option<String>Description of the physical sample
masking: Option<String>Masking type
checksum: Option<String>File-level checksum (SHA2-512/256 per FHR spec)
genome_synonym: Option<Vec<String>>Alternative common names for this genome
accession_id: Option<FhrIdentifier>Database accession identifier (single object per spec)
instrument: Option<Vec<String>>Sequencing instruments used
scholarly_article: Option<String>DOI or scholarly article reference (single string per spec)
documentation: Option<String>Documentation about the genome
identifier: Option<Vec<String>>Identifiers of the genome (namespace:value format)
license: Option<String>License information
Related URLs
funding: Option<String>Funding information (single string per spec)
vital_stats: Option<FhrVitalStats>General statistics about the genome assembly
seqcol_digest: Option<String>Seqcol digest (added by RefgetStore, not part of FHR 1.0)
extra: HashMap<String, Value>Catch-all for any other FHR fields or custom extensions
Trait Implementations§
Source§impl Clone for FhrMetadata
impl Clone for FhrMetadata
Source§fn clone(&self) -> FhrMetadata
fn clone(&self) -> FhrMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more