FHR schema reference

FHR is the FAIR-bioHeaders header for a reference genome assembly. It is the original type of the family, described in the 2024 paper in Briefings in Bioinformatics (doi:10.1093/bib/bbae122), and it is the type the genome files of other header types link to.

This page is the field reference: every field of the contract, its type, its constraints and its units, with an example and the compatibility notes that matter when you write or read a header. It is generated from the published schema, so it cannot quietly fall behind the contract. For the narrative guide, see Using FH*.

What FHR describes

An FHR header answers, close to the data itself: which assembly this is, of which organism, which version, who assembled it, who wrote the metadata, when, on what instruments and with which software, how it is masked, how big and how contiguous it is, under what conditions it may be reused, and which exact bytes the record belongs to.

It does not describe:

  • individual sequences, scaffolds or contigs — FHR describes the file as one resource;
  • annotation — that is FHGFF3, and proteins are FHP;
  • sequence correctness or biological quality — FHR records what the producer asserts;
  • a parent link: FHR is the root of the family’s parent chain and has no derivedFrom slot. FHP, FHT and FHGFF3 link to genomes, not the other way round.

Contract status

FHR contract status
StatusReleased contract. schemaVersion "2.1" shipped in shared specification v0.6.0 on 2026-11-13.
Versions this schema accepts2.0, 2.1. A schema of version M.N also accepts records that state any earlier minor of the same major, and holds each of them to that minor: what a later minor allows is invalid in an earlier one.
What it describesFHR is the FAIR-bioHeaders header for a reference genome assembly. It travels as a ;~ YAML block at the top of the assembly FASTA file, as a #~ block at the top of a GFA file, or standalone as JSON or YAML, and one SHA-512/256 checksum ties the metadata to the exact bytes of that file.
What it does not coverFHR describes the assembly as a resource: what it is called, which species it is, who assembled it, who wrote the header, when, how it was made and under what conditions it may be reused. It does not describe individual sequences, does not carry annotation, and does not certify biological quality.

Serializations with verified support

  • FASTA (;~ header block) and GFA (#~ header block): the shared rules R1 to R14 in docs/FORMAT.md, implemented by the toolkit.
  • Standalone JSON and YAML metadata files, read and written by the toolkit.
  • JSON-LD: a canonical FHR form with an embedded context, plus a provisional one-way schema.org export profile (docs/JSONLD.md, docs/SCHEMAORG-EXPORT.md). An export cannot be read back.
  • HTML microdata with the raw-main FHR itemtype (docs/MICRODATA.md).
  • None of the linked forms carries x- extension fields: writers omit them and say which (J9, M5, X9).

Tools that implement this contract

  • fair-bioheaders 0.12.0 (PyPI, 2026-11-16) bundles the shared release v0.6.0 schema set, as 0.11.0 did — FHR 2.1, the same bytes v0.5.0 published, plus FHP 1.2 and FHGFF3 1.2 — and implements FHR 2.1, including extension fields, for combine, verify, validate, convert, strip, verify-links and assess. It reads https://w3id.org/fair-bioheaders/fhr/v0.6.0 and the v0.6.0 raw-tag alias as that release; 0.10.0 reports both as an unsupported schema version, so a header bound to v0.6.0 needs 0.11.0 or later. Older citations still select their own frozen copy: a 2.0 record citing v0.4.0 validates unchanged (checked 2026-11-18). 0.12.0 also adds bioheaders metadata, which writes a schema-validated FHR 2.1 record citing v0.6.0 from typed command-line fields, optionally with vitalStats computed from a FASTA, and leaves the checksum to combine.
  • The browser table builder on this site cites the pinned v0.6.0 snapshot by default and writes schemaVersion 2.1, including x- extension fields into the YAML export — never into HTML microdata, which carries none (docs/MICRODATA.md M5). Its v0.4.0 (2.0) and legacy v0.3.1 snapshots stay selectable on their own pinned bytes, and shared release v0.5.0 is not pinned, so citing it is an unsupported target rather than a fallback. Tracked in fair-bioheaders.github.io#15.
  • bioheaders verify-links checks a genome's own header bytes; parent linking is an FHP/FHT/FHGFF3 feature, not an FHR one.

Schema location

Release history

FHR schema versions by shared release, read from schemas/versions.json.
Shared releaseschemaVersionPublishedFixed schema URL
v0.3.01 (the number, not a string)2026-10-07fhr/v0.3.0
v0.3.11 (the number, not a string)2026-10-08fhr/v0.3.1
v0.4.02.02026-10-14fhr/v0.4.0
v0.4.12.02026-10-21unchanged from v0.4.0fhr/v0.4.1
v0.4.22.02026-10-28unchanged from v0.4.1fhr/v0.4.2
v0.5.02.12026-11-04fhr/v0.5.0
v0.6.02.12026-11-13unchanged from v0.5.0fhr/v0.6.0

Field reference

Every field of the contract appears here, including the fields and objects inherited from the shared core: nothing is left out because another type also uses it. Required means the key must be present; when present, requires lists the members that become mandatory once you supply an optional object. Field rows quote direct constraints such as patterns from the schema; conditional and cross-field requirements appear in the rules below. Examples are the values stated by the released example records, which are synthetic, or an illustrative value where no example reaches the field.

Top-level fields

Every field of an FHR record. The record is a closed object: an unknown top-level key is invalid, with the single exception of the x- extension fields listed last.

FHR top-level fields: 25 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
schemaRequiredstringnone stated

centralized schema file

Inherited from the shared core (schemas/core.yaml).

Units: URL

New files should cite the fixed URL of the release they target, preferably https://w3id.org/fair-bioheaders/fhr/v0.6.0 — the same 2.1 bytes v0.5.0 published, re-published unchanged. The raw-main URL selects the reader's current schema and has no fallback to an older release. Toolkit 0.10.0 rejects the v0.6.0 alias despite those identical bytes. New FHR 2.1 records intended for toolkit 0.10.0 must target a supported alias such as https://w3id.org/fair-bioheaders/fhr/v0.5.0.

FHR's own schema value has never been pattern-constrained, so an unusual value is read as FHR and checked against the current FHR contract (rule V5 in docs/SCHEMA-VERSIONS.md).

https://w3id.org/fair-bioheaders/fhr/v0.6.0rich FHR example (synthetic) source
schemaVersionRequiredstring
  • one of: 2.0 | 2.1
  • pattern: ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$

Version of the FHR schema contract, as "MAJOR.MINOR"; 2.0 from v0.4, 2.1 (extension fields) from v0.5 (docs/SCHEMA-VERSIONS.md)

Inherited from the shared core (schemas/core.yaml).

FHR 2.1 came with shared release v0.5.0; 2.0 came with v0.4.0. Shared release v0.6.0 left FHR unchanged: same 2.1 contract, same schema bytes; only the release tag moved. In YAML write it quoted: schemaVersion: '2.1'.

A schema of version M.N also accepts records that state M.0 up to M.N, and holds each record to the minor it states: extension fields are invalid in a 2.0 record.

v0.3.0 and v0.3.1 published the numeric FHR 1 contract. A record citing the raw-main fhr.json URL with the number 1 is read as FHR 1 against v0.3.1 and reported as deprecated, not invalid (rule V6).

2.1rich FHR example (synthetic) source
genomeRequiredstringnone stated

Name of the Genome

required only makes the key present: a non-empty name is normative for a conforming record even though the released schema accepts "" (docs/SCHEMA-VERSIONS.md, "Required values are non-empty").

Synthetic human reference examplerich FHR example (synthetic) source
genomeSynonymOptionalarrayarray of string valuesnone stated

Other common names of the genome

An empty array is schema-valid but conveys nothing; omit the field when there is no other name.

synthetic examplerich FHR example (synthetic) source
taxonRequiredobjectmembers listed belownone stated

Species name and URL of the species information at identifiers.org

Inherited from the shared core (schemas/core.yaml).

Must carry a non-empty name or uri to describe the data, even though taxon: {} passes the released schema. taxon.uri becoming required with a recognised taxon identifier is decided for the next major version (FAIR-bioHeaders-Specification#189).

Supplied through its members, listed in its own table below.
versionRequiredstringnone stated

Version number of Genome eg. 1.2.0

Inherited from the shared core (schemas/core.yaml).

The assembly's own version. It is neither schemaVersion nor the repository release tag.

0.0.1rich FHR example (synthetic) source
metadataAuthorRequiredarray of objectsmembers listed belownone stated

People or organizations that assert the metadata in this header.

Inherited from the shared core (schemas/core.yaml).

Required and must be a non-empty list; every author needs a non-empty name, though [{"name": ""}] passes the released schema.

Supplied through its members, listed in its own table below.
assemblyAuthorRequiredarray of objectsmembers listed belownone stated

People or organizations that produced the genome assembly.

Inherited from the shared core (schemas/core.yaml) Author shape, FHR-specific role.

A distinct role from metadataAuthor: never merge the two lists.

Supplied through its members, listed in its own table below.
dateCreatedRequiredstring
  • format: date

Date the genome assembly was created

Inherited from the shared core (schemas/core.yaml).

Units: ISO 8601 calendar date

Creation of the assembly, not the sample collection date.

2022-03-21rich FHR example (synthetic) source
voucherSpecimenOptionalstringnone stated

Description of the physical sample

Inherited from the shared core (schemas/core.yaml).

Free text describing the physical sample. Structured vouchers are separate proposal work (FAIR-bioHeaders-Specification#139).

Synthetic example; no physical specimenrich FHR example (synthetic) source
accessionIDOptionalobjectmembers listed belownone stated

accessionID genome assembly was created

Inherited from the shared core (schemas/core.yaml).

Supplied through its members, listed in its own table below.
instrumentOptionalarrayarray of string valuesnone stated

Physical tools and instruments used in the creation of the genome assembly

Example sequencerillustrative value
scholarlyArticleOptionalstring
  • pattern: ^10\.[0-9]+(\.[0-9]+)*/\S+$

DOI (without a resolver prefix) of the scholarly article where the genome was published, e.g. 10.5281/zenodo.6762550

Inherited from the shared core (schemas/core.yaml).

Units: DOI suffix (bare DOI, no resolver prefix)

Write 10.1093/bib/bbae122, not https://doi.org/10.1093/bib/bbae122.

10.1093/bib/bbae122rich FHR example (synthetic) source
documentationOptionalstringnone stated

Documentation about the genome

Inherited from the shared core (schemas/core.yaml).

Synthetic metadata and sequence; identifiers are placeholders.illustrative value
identifierOptionalarrayarray of string values
  • per item: pattern: ^[A-Za-z0-9._-]+:.+$

Identifiers of the genome as prefix:accession (CURIE-like)

Inherited from the shared core (schemas/core.yaml).

Units: CURIE-like prefix:accession per item

beetlebase:TC010103rich FHR example (synthetic) source
fundingOptionalstringnone stated

Grant Line Item

Inherited from the shared core (schemas/core.yaml).

fundingrich FHR example (synthetic) source
reuseConditionsOptionalstringnone stated

license and reuse conditions for the use of the Genome

Inherited from the shared core (schemas/core.yaml).

public domainillustrative value
maskingRequiredstring
  • pattern: ^(not-masked|hard-masked|soft-masked|repeat-masked|unknown)$

masking applied to the genome assembly

Describes the assembly file, not the metadata: repeat what the producer states.

soft-maskedrich FHR example (synthetic) source
vitalStatsOptionalobjectmembers listed belownone stated

general statistics about the genome assembly; N50, N90, L50 and L90 are contig statistics, the scaffold* fields are scaffold statistics

Producer-reported statistics; the toolkit does not recompute them from the sequence bytes.

Supplied through its members, listed in its own table below.
checksumRequiredstring
  • pattern: ^[A-Za-z0-9+/]{43}=$
  • length: exactly 44

sha2-512/256 checksum value: standard padded base64 of the 32-byte digest (43 characters, then =)

Inherited from the shared core (schemas/core.yaml).

Units: standard padded base64 of the SHA-512/256 digest

Written by bioheaders combine, never by hand. It covers every byte of the file except the root checksum line (rules R1 to R4), so any header edit invalidates it.

The encoding is canonical: the character before = is one of AEIMQUYcgkosw048. A syntactically valid checksum is not authentication of an author.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=rich FHR example (synthetic) source
assemblySoftwareOptionalstring or arraysingle value or array of objectswhen present, requires namemembers listed belownone stated

Assembly software provenance; a legacy name string is also accepted.

Legacy single-name strings are still accepted; new files should use the object form, which carries the version and options.

Supplied through its members, listed in its own table below.
assemblyProtocolOptionalstring
  • format: uri

URI of the assembly protocol or workflow documentation.

Units: URI

New in FHR 2.0 (v0.4.0); it is a pointer to external documentation, not a checksummed artefact.

https://example.org/assembly-protocolrich FHR example (synthetic) source
seqcol_idOptionalstring
  • pattern: ^[A-Za-z0-9_-]{32}$
  • length: exactly 32

Unprefixed GA4GH refget sequence collection top-level digest (sha512t24u); supplied by the user, not calculated by FHR.

Inherited from the shared core (schemas/core.yaml).

Units: 32 base64url characters (sha512t24u, level 0)

Supplied by the user. FHR never computes, resolves or verifies it against the file, and a SeqCol digest is not the file checksum.

Different refget attribute profiles can give different digests for the same sequences; keep that context in documentation.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArich FHR example (synthetic) source
x-<name>Optionalany JSON valuesingle value or array, at any depth
  • pattern: ^x-[A-Za-z0-9][A-Za-z0-9_.-]*$

Extension field (rule R15): a top-level key the standard does not define, holding any value the producer needs.

Valid from FHR 2.1. Every other unknown key stays invalid, so a misspelt field (genom, X-genome) is still caught, and an x- key inside a nested object is still invalid.

Use a namespace, x-<project>-<field>, so independent groups do not reuse one name for different things; validators do not check the namespace. An extension never overrides a standard field.

The checksum covers extension keys and values, and rules R8, R11, R12 and R13 apply to them. JSON-LD, the schema.org export and HTML microdata carry no extension fields (J9, M5, X9): writers omit them and say which.

A widely used extension is proposed as a standard field under its own unprefixed name in a later minor; the x- key is not reinterpreted by that.

x-refget-commonName: humanillustrative value

taxon — the shared core Taxon object

Species name and its identifiers.org taxonomy URI.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHR: taxon — the shared core Taxon object fields: 2 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
taxon.nameOptionalstringnone stated

Name of the species.

Inherited from the shared core (schemas/core.yaml).

Homo sapiensrich FHR example (synthetic) source
taxon.uriOptionalstring
  • format: uri
  • pattern: ^https://identifiers\.org/taxonomy:[0-9]+$

Identifier of the species in the identifiers.org Taxonomy namespace.

Inherited from the shared core (schemas/core.yaml).

Units: URI

Optional today; format: uri is asserted by a conforming validator and rule R14 recommends http or https.

https://identifiers.org/taxonomy:9606rich FHR example (synthetic) source

metadataAuthor[] — the shared core Author object

One entry per person or organization asserting the metadata, in the order the producer states.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHR: metadataAuthor[] — the shared core Author object fields: 3 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
metadataAuthor[].nameOptionalstringnone stated

Name of the person or organization.

Inherited from the shared core (schemas/core.yaml).

Adam Wrightrich FHR example (synthetic) source
metadataAuthor[].uriOptionalstring
  • format: uri
  • pattern: ^https://orcid\.org/[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]$

ORCID URI of the person, when supplied.

Inherited from the shared core (schemas/core.yaml).

Units: URI

The released pattern accepts only https://orcid.org/<16-digit iD>; other identifiers belong in documentation.

https://orcid.org/0000-0002-5719-4024rich FHR example (synthetic) source
metadataAuthor[].nameTypeOptionalstring
  • one of: Personal | Organizational

Whether the author is a person (Personal) or an organization (Organizational), as DataCite nameType

Personalrich FHR example (synthetic) source

assemblyAuthor[] — the shared core Author object

One entry per person or organization that produced the assembly. Required in FHR, unlike the other types.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHR: assemblyAuthor[] — the shared core Author object fields: 3 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
assemblyAuthor[].nameOptionalstringnone stated

Name of the person or organization.

Inherited from the shared core (schemas/core.yaml).

David Molikrich FHR example (synthetic) source
assemblyAuthor[].uriOptionalstring
  • format: uri
  • pattern: ^https://orcid\.org/[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]$

ORCID URI of the person, when supplied.

Inherited from the shared core (schemas/core.yaml).

Units: URI

https://orcid.org/0000-0003-3192-6538rich FHR example (synthetic) source
assemblyAuthor[].nameTypeOptionalstring
  • one of: Personal | Organizational

Whether the author is a person (Personal) or an organization (Organizational), as DataCite nameType

Organizationalillustrative value

accessionID — the shared core AccessionID object

A name and URL pair identifying the accession the assembly was created from.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHR: accessionID — the shared core AccessionID object fields: 2 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
accessionID.nameOptionalstringnone stated

Name of the accession or the submitting resource.

Inherited from the shared core (schemas/core.yaml).

PBARCrich FHR example (synthetic) source
accessionID.urlOptionalstring
  • format: uri

URL of the accession record.

Inherited from the shared core (schemas/core.yaml).

Units: URI

https://www.ars.usda.gov/pacific-west-area/hilo-hi/daniel-k-inouye-us-pacific-basin-agricultural-research-center/rich FHR example (synthetic) source

vitalStats — assembly statistics

Statistics asserted by the producer. L50, L90, N50 and N90 are contig statistics; the scaffold* members are scaffold statistics.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • numberContigs and numberScaffolds were added in FHR 2.0; the scaffold statistics and gcContent came with the same release.
FHR: vitalStats — assembly statistics fields: 13 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
vitalStats.L50Optionalinteger
  • range: >= 0

Contig L50: the smallest number of contigs whose lengths sum to at least 50 percent of the assembly length.

Units: contigs

1rich FHR example (synthetic) source
vitalStats.N50Optionalinteger
  • range: >= 0

Contig N50: contig length in base pairs at 50 percent of the assembly length.

Units: base pairs

16rich FHR example (synthetic) source
vitalStats.L90Optionalinteger
  • range: >= 0

Contig L90: the smallest number of contigs whose lengths sum to at least 90 percent of the assembly length.

Units: contigs

1rich FHR example (synthetic) source
vitalStats.totalBasePairsOptionalinteger
  • range: >= 0

total base pairs of the genome assembly

Units: base pairs

16rich FHR example (synthetic) source
vitalStats.numberContigsOptionalinteger
  • range: >= 0

number of contigs of the genome assembly

Units: contigs

1rich FHR example (synthetic) source
vitalStats.numberScaffoldsOptionalinteger
  • range: >= 0

number of scaffolds of the genome assembly

Units: scaffolds

1rich FHR example (synthetic) source
vitalStats.readTechnologyOptionalstringnone stated

read technology of the genome assembly (short, long, hifi, etc...)

Free text, as the producer names the technology.

HiFirich FHR example (synthetic) source
vitalStats.N90Optionalinteger
  • range: >= 0

Contig length in base pairs at 90 percent of the assembly length.

Units: base pairs

16rich FHR example (synthetic) source
vitalStats.scaffoldN50Optionalinteger
  • range: >= 0

Scaffold N50: scaffold length in base pairs at 50 percent of the assembly length.

Units: base pairs

Scaffold statistics were added in FHR 2.0; the pinned example record states contig statistics only.
vitalStats.scaffoldN90Optionalinteger
  • range: >= 0

Scaffold N90: scaffold length in base pairs at 90 percent of the assembly length.

Units: base pairs

Scaffold statistics were added in FHR 2.0; the pinned example record states contig statistics only.
vitalStats.scaffoldL50Optionalinteger
  • range: >= 0

Scaffold L50: the smallest number of scaffolds whose lengths sum to at least 50 percent of the assembly length.

Units: scaffolds

Scaffold statistics were added in FHR 2.0; the pinned example record states contig statistics only.
vitalStats.scaffoldL90Optionalinteger
  • range: >= 0

Scaffold L90: the smallest number of scaffolds whose lengths sum to at least 90 percent of the assembly length.

Units: scaffolds

Scaffold statistics were added in FHR 2.0; the pinned example record states contig statistics only.
vitalStats.gcContentOptionalnumber
  • range: >= 0 and <= 100

GC content as a percentage (0 to 100), not a fraction: write 42.0 for 42 percent; 0.42 means 0.42 percent.

Units: percent (0 to 100), not a fraction

42.0 means 42 percent; 0.42 means 0.42 percent. NaN and infinities are invalid (rule R13) even though minimum/maximum alone cannot express that.

37.5rich FHR example (synthetic) source

assemblySoftware[] — software provenance

The object form of assemblySoftware. Only name is required inside an entry.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • This shape is the model for FHP's predictionSoftware and FHGFF3's annotationSoftware; it became the shared Software object in schemas/shared.yaml.
FHR: assemblySoftware[] — software provenance fields: 4 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
assemblySoftware[].nameRequiredstringnone stated

Name of the software.

hifiasmillustrative value
assemblySoftware[].uriOptionalstring
  • format: uri

URI of the software.

Units: URI

https://github.com/chhylp123/hifiasmrich FHR example (synthetic) source
assemblySoftware[].versionOptionalstringnone stated

Version of the software, as the producer states it.

0.19.8rich FHR example (synthetic) source
assemblySoftware[].commandLineOptionOptionalarrayarray of string valuesnone stated

Command-line options given to the software, in order.

-t, 2illustrative value

Rules beyond a single field

FHR conditional and object-level rules, read from the schema bytes.
RuleWhat the contract requires
Extension fields need the newer minorThe schema also rejects extension fields in a record that states schemaVersion: '2.0', so a 2.0 record keeps exactly its 2.0 outcome. A record that uses an extension must state 2.1 or a later minor.
No key may contain a line feedpropertyNames rejects any key containing a line feed, so a YAML line-continuation artefact cannot pass as part of a field name.
The record is a closed objectadditionalProperties: false — any other unknown top-level key is invalid, and every nested object is closed in the same way.
Extension fields (rule R15)Top-level keys matching ^x-[A-Za-z0-9][A-Za-z0-9_.-]*$ are accepted (rule R15, docs/FORMAT.md) from FHR 2.1, released in shared specification v0.5.0.

What the schema cannot say

The contract is more than its JSON Schema. These requirements are normative for a conforming record, and a validator that cannot check them must say so:

  • required only makes a key present. genome: "", taxon: {}, metadataAuthor: [] or assemblyAuthor: [{}] pass fhr.json 2.0 and 2.1 yet describe nothing: conforming values are non-empty, and validators warn rather than reject until the next major (docs/SCHEMA-VERSIONS.md).
  • JSON Schema draft 2020-12 treats format as an annotation. A conforming validator must assert date and uri; bioheaders validate does, a bare Draft202012Validator does not.
  • Rule R13 rejects NaN and infinities and rule R14 recommends http/https for URI values; neither is expressible in the released patterns, so both are validator obligations rather than schema failures.

Generated from fhr.json of FAIR-bioHeaders/FAIR-bioHeaders-Specification at v0.6.0 (commit 0ae18b00ee), byte-identical to the copy pinned at scripts/schema-snapshots/fhr-v0.6.0.json — SHA-256 694ab5afaf8c3743eacf9e2aacb5551f7cbe37073b6f4afc3ae4a65b47f9d4df. It documents 52 fields: 25 at the top level and 27 inside 6 nested or reused objects. Regenerate and compare with python3 scripts/schema_fields.py --check, which the site checks run on every pull request. The specification repository stays the authority: this page is a rendering of it, not a second definition.

Examples

Both records are synthetic: the names, statistics and sequence bytes are invented and the identifiers are placeholders, so copy the shape, never the values.

To write a real header, supply your own values and let bioheaders combine compute the checksum: a hand-written or copied checksum never verifies.

Validation boundaries

Four different questions get four different answers. Do not merge them.

  1. Schema validity. Does the parsed record satisfy fhr.json? Required keys, types, patterns, enums, ranges and closed objects — and, from 2.1, the x- extension keys. This says nothing about whether the values are true or the file intact. On this site, the table builder performs structural validation against its pinned v0.6.0 snapshot, and against its pinned v0.4.0 and v0.3.1 snapshots when a record cites them.
  2. File checksum verification. bioheaders verify recomputes SHA-512/256 over the exact bytes of the FASTA or GFA, excluding the root ;~checksum: or #~checksum: line, and compares it with the header’s checksum. It proves the metadata and the sequence bytes still belong together. It is not authentication, and it does not detect a wrong taxon name or a fabricated author.
  3. Parent-link verification. FHR records no parents, so there is nothing to verify at this level for FHR itself. bioheaders verify-links belongs to the types that do: an FHGFF3 annotation or FHP/FHT set that names an FHR genome. What seqcol_id records for FHR is a user-supplied identifier that a child file may later be checked against; FHR neither computes nor resolves it.
  4. Biological and data-quality review. Assembling, polishing, contamination screening and BUSCO assessment are outside the header. vitalStats and completeness are producer assertions that no validator recomputes.

A file can therefore be schema-valid and checksum-verified while still stating something false. The header makes that claim identifiable and durable, not correct.