FHP schema reference

FHP is the FAIR-bioHeaders header for a protein FASTA file: a predicted proteome, a set taken from a protein database, or a curated set that combines both. It brings the FHR mechanism to proteins — a ;~ YAML header block, one SHA-512/256 checksum over the exact file bytes, a small required set and everything else optional — and adds the slots that proteins need: where the sequences came from, which translation table and isoform policy applies, and which genome or annotation they were translated from.

This page is the field reference, generated from the published schema. For the narrative guide, see Using FH*.

What FHP describes

An FHP header answers: which protein set this is, of which organism, which version, who asserts it, when it was created, whether it was predicted or taken from a database or both, which sources or parent files it draws on, which software and protocol produced the models or translations, how many sequences, genes and residues the producer counts, what one BUSCO run measured, and which exact bytes the record belongs to.

It does not describe:

  • the sequences themselves: no per-record annotation, no per-residue data;
  • the underlying genome assembly — that is FHR, linked by checksum through derivedFrom when the genome file carries its own header;
  • transcript sets (FHT, released in v0.7.0) or annotations (FHGFF3);
  • quality: FHP records asserted provenance, and is not a quality-control report.

Contract status

FHP contract status
StatusReleased contract. schemaVersion "1.2" shipped in shared specification v0.6.0 on 2026-11-13.
Versions this schema accepts1.0, 1.1, 1.2. 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 describesFHP is the FAIR-bioHeaders header for a protein FASTA file: a predicted proteome, a set taken from a protein database, or a curated set that combines both. It works exactly like FHR — ;~ YAML lines at the top of the file, one SHA-512/256 checksum over the exact bytes, a small required set and everything else optional — plus standalone JSON or YAML.
What it does not coverFHP records asserted provenance: what the set is, which species it belongs to, where the sequences came from, which software and protocol produced them, what it derives from by checksum, and what the producer measured about it. It is not a quality-control report, and no tool recomputes anything from the sequences.

Serializations with verified support

  • Protein FASTA with a ;~ header block, under the shared FORMAT.md rules. Header handling is alphabet-independent: stops, U, O, B, Z, J, X and lower case are ordinary bytes.
  • Standalone JSON and YAML metadata files.
  • Canonical JSON-LD with the reviewed FHP context (loss-preserving, no schema.org export profile) and standalone HTML microdata with the FHP itemtype — never the FHR itemtype.
  • No x- extension field survives a JSON-LD or microdata round trip: writers omit them (J9, M5).

Tools that implement this contract

  • fair-bioheaders 0.12.0 (PyPI, 2026-11-16) bundles the v0.6.0 schema set, as 0.11.0 did, and reads and writes FHP 1.2, including extension fields and the dotted BUSCO dataset versions, across combine, verify, validate, convert, strip, verify-links and assess: a 1.2 record citing https://w3id.org/fair-bioheaders/fhp/v0.6.0 validates, is written into a ;~ FASTA header and verifies by checksum (checked 2026-11-18). The same citation is an unsupported schema version in 0.10.0, which bundles v0.5.0. A dotted completeness.lineageDataset stays invalid in a record that states 1.0 or 1.1 or cites v0.4.x/v0.5.0, and a 1.1 record citing v0.5.0 still validates under 0.12.0.
  • The browser table builder on this site cites the pinned v0.6.0 snapshot by default: it writes schemaVersion 1.2, accepts the dotted BUSCO dataset versions that 1.2 allows, and writes x- extension fields into the YAML export only (HTML microdata carries none, docs/MICRODATA.md M5). Its v0.4.0 (1.0) snapshot stays selectable on its 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 FILE PARENT... checks each derivedFrom item against candidate parent files by recomputing their checksums.

Schema location

Release history

FHP schema versions by shared release, read from schemas/versions.json.
Shared releaseschemaVersionPublishedFixed schema URL
v0.4.01.02026-10-14fhp/v0.4.0
v0.4.11.02026-10-21unchanged from v0.4.0fhp/v0.4.1
v0.4.21.02026-10-28unchanged from v0.4.1fhp/v0.4.2
v0.5.01.12026-11-04fhp/v0.5.0
v0.6.01.22026-11-13fhp/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 FHP 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.

FHP top-level fields: 26 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
accessionIDOptionalobject (AccessionID)members listed belownone stated

Accession of the protein set

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

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 for hashing

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

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

bioheaders combine computes it over the exact protein FASTA bytes under the shared rules R1 to R4; the site and the schema only check the shape. A placeholder value in an example never means "verified".

Header-type identity: an FHP checksum covers the same file whose ;~ header carries it, not the genome behind the proteins.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=rich database FHP example (synthetic) source
completenessOptionalobject (Completeness)when present, requires lineageDataset, completeSingle, completeDuplicated, fragmented, missing, totalmembers listed belownone stated

BUSCO completeness of the protein set, as counts

Counts describe BUSCO ortholog groups, not sequences or genes. BUSCO is not a quality cutoff, and nothing here is recomputed by a validator.

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

Date the protein set was created

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

Units: ISO 8601 calendar date

2026-09-02rich database FHP example (synthetic) source
derivedFromOptionalarray of DerivedFrom objectswhen present, requires headerType, checksum, relationshipmembers listed belownone stated

Parent files this file was derived from, identified by their FHR-family checksum. Header types opt in by listing this slot; FHR schemaVersion 1 does not include it.

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

A checksum-backed link, not a mention: each item requires the parent's FHR-family checksum. bioheaders verify-links FILE PARENT... is what checks the link against files on disk.

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

Documentation about the protein set

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

Example metadata for a download of the UniProt human reference proteome. The protein and gene counts and the BUSCO report are UniProt's published values for UP000005640 (https://rest.uniprot.org/proteomes/UP000005640.json, fetched 2026-10-10); they are not recomputed. The checksum is a placeholder: this example has no sequence file.rich database FHP example (synthetic) source
fundingOptionalstringnone stated

Grant line item

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

Grant line item (placeholder)illustrative value
geneticCodeOptionalinteger
  • alternative: range: >= 1 and <= 6
  • alternative: range: >= 9 and <= 16
  • alternative: range: >= 21 and <= 33

NCBI translation table ID used to translate the sequences (1-6, 9-16 or 21-33); omitted when unknown or when the file mixes tables

Units: NCBI translation table ID

Only tables 1-6, 9-16 and 21-33 are expressible; 7, 8, 17-20 and 34+ have no slot. Omit the field when the file mixes tables or the table is unknown — never guess.

1value from the released FHP example source
identifierOptionalarrayarray of string values
  • per item: pattern: ^[A-Za-z0-9._-]+:.+$

Identifiers of the protein set

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

synthetic:PROT-0001illustrative value
isoformPolicyOptionalstring
  • one of: all | longestPerGene | canonicalPerGene

Which protein isoforms of each gene the set contains

canonicalPerGene means the source's canonical choice, which is not necessarily the longest isoform.

longestPerGenevalue from the released FHP example source
metadataAuthorRequiredarray of Author objectsmembers listed belownone stated

Authors of the FHP instance

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

Required and non-empty for a conforming record; every author needs a non-empty name.

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

Prediction or annotation protocol or workflow reference URI

Units: URI

https://example.org/annotation-protocolvalue from the released FHP example source
predictionSoftwareOptionalarray of Software objectswhen present, requires namemembers listed belownone stated

Software that produced the gene models or translations

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

Name of the protein set

Required and non-empty for a conforming record, even though "" passes the released schema.

UniProt human reference proteome UP000005640rich database FHP example (synthetic) source
reuseConditionsOptionalstringnone stated

Reuse conditions or license for the protein set

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

public domainvalue from the released FHP example source
schemaRequiredstring
  • pattern: ^(https://raw\.githubusercontent\.com/FAIR-bioHeaders/(FHR|FAIR-bioHeaders)-Specification/(main|v[0-9]+\.[0-9]+\.[0-9]+)/fhp\.json|https://w3id\.org/fair-bioheaders/fhp/v[0-9]+\.[0-9]+\.[0-9]+/?)$

URL of the FHP JSON Schema this record follows (raw-main, a release's raw tag URL or its w3id URL; docs/SCHEMA-VERSIONS.md); it identifies the header type (FR-011)

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

Units: URL

The pattern accepts the shared repository's raw-main or raw-tag fhp.json URL (under either the current or the former repository name) and a https://w3id.org/fair-bioheaders/fhp/vX.Y.Z alias — nothing else. Cite the release a file targets.

schema also identifies the header type (requirement FR-011): a reader selects the FHP contract from this value, never from a guess.

https://w3id.org/fair-bioheaders/fhp/v0.6.0rich database FHP example (synthetic) source
schemaVersionRequiredstring
  • one of: 1.0 | 1.1 | 1.2
  • pattern: ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$

Version of the FHP schema contract ("MAJOR.MINOR"); 1.1 (extension fields) from v0.5; 1.2 (dotted BUSCO dataset versions) from v0.6

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

1.2 came with shared release v0.6.0; 1.1 came with v0.5.0; 1.0 was first released in v0.4.0. Quote it in YAML.

FHP has no earlier numeric contract: unlike FHR, rule V6 does not apply, so 1 is simply invalid.

1.2rich database FHP example (synthetic) source
scholarlyArticleOptionalstring
  • pattern: ^10\.[0-9]+(\.[0-9]+)*/\S+$

Scholarly article where the protein set was published

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

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

10.1093/bib/bbae122illustrative value (the FHR paper DOI) source
sequenceStatsOptionalobject (SequenceStats)members listed belownone stated

Counts describing the protein set, as asserted by the producer

Supplied through its members, listed in its own table below.
sourceOptionalarray of Source objectswhen present, requires namemembers listed belownone stated

Sources of the sequences that are not FAIR-bioHeaders files, as asserted by the producer; never verified by checksum

Producer assertions about non-FAIR-bioHeaders origins. They are never verified by checksum — that is what derivedFrom is for.

Supplied through its members, listed in its own table below.
sourceTypeRequiredstring
  • one of: predicted | database | mixed

Where the sequences came from: predicted (a gene-prediction or annotation run), database (a published database release, set or annotation run) or mixed (more than one origin). Not a review status.

predicted: a gene-prediction or annotation run; database: a published database release, set or annotation run; mixed: more than one origin.

It is not a review status and not a quality claim. source[] carries what the set draws on that is not a FAIR-bioHeaders file.

databaserich database FHP example (synthetic) source
taxonRequiredobject (Taxon)members 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; making taxon.uri required is decided for the next major (FAIR-bioHeaders-Specification#189).

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

Version of the protein set

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

2026_03rich database FHP example (synthetic) source
voucherSpecimenOptionalstringnone stated

Description of the physical sample

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

Synthetic example; no physical specimenillustrative value
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 FHP 1.1. Every other unknown key stays invalid, nested objects stay closed, and an x- key in a record that states 1.0 is rejected.

Use a namespace, x-<project>-<field>. Extension fields never override a standard field, are covered by the checksum, and are omitted from JSON-LD and microdata (J9, M5).

Records that cite a v0.4.x schema URL are checked against the v0.4.x schema, where an x- key is an unknown key, so files with extension fields cite v0.5.0 or a later release.

x-synthetic-reviewStatus: curatedillustrative value

accessionID — the shared core AccessionID object

The protein set's own accession, name and URL.

  • These members come from the shared core (schemas/core.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHP: accessionID — the shared core AccessionID object fields: 2 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
accessionID.nameOptionalstringnone stated

Accession name

UP000005640UniProt proteome identifier used by the released example source
accessionID.urlOptionalstring
  • format: uri

Accession URL

https://www.uniprot.org/proteomes/UP000005640URL from the released FHP example source

completeness — the shared BUSCO Completeness object

Counts from one BUSCO run against one named lineage dataset (schemas/shared.yaml).

  • These members come from the shared objects (schemas/shared.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • Six members are required whenever the object is present: lineageDataset, completeSingle, completeDuplicated, fragmented, missing and total.
FHP: completeness — the shared BUSCO Completeness object fields: 8 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
completeness.buscoVersionOptionalstringnone stated

Version of BUSCO

5.8.3value from the released FHP example source
completeness.completeDuplicatedRequiredinteger
  • range: >= 0

Complete duplicated BUSCOs (D)

Units: BUSCO groups (D)

8613rich database FHP example (synthetic) source
completeness.completeSingleRequiredinteger
  • range: >= 0

Complete single-copy BUSCOs (S)

Units: BUSCO groups (S)

5103rich database FHP example (synthetic) source
completeness.fragmentedRequiredinteger
  • range: >= 0

Fragmented BUSCOs (F)

Units: BUSCO groups (F)

5rich database FHP example (synthetic) source
completeness.lineageDatasetRequiredstring
  • pattern: ^[a-z0-9_]+_odb[0-9]+(\.[0-9]+)*$

BUSCO lineage dataset, including its version suffix; one or more dot-separated numeric version components are allowed, as BUSCO datasets are re-released (for example odb12.2)

Units: BUSCO lineage dataset name including its odb version suffix

From FHP 1.2 (shared release v0.6.0) the pattern also accepts dot-separated numeric dataset-version components, so a measured lineage name such as enterobacterales_odb12.2 fits the typed slot unchanged — never rename a lineage to satisfy an older minor (FAIR-bioHeaders-Specification#170, #222). Records that state 1.0 or 1.1 keep the earlier _odb plus digits pattern: the 1.2 schema holds them to the minor they state.

primates_odb10rich database FHP example (synthetic) source
completeness.missingRequiredinteger
  • range: >= 0

Missing BUSCOs (M)

Units: BUSCO groups (M)

59rich database FHP example (synthetic) source
completeness.modeOptionalstring
  • one of: proteins | transcriptome | genome

BUSCO mode

proteinsrich database FHP example (synthetic) source
completeness.totalRequiredinteger
  • range: >= 1

Number of BUSCO groups searched (n)

Units: BUSCO groups searched (n)

total is at least 1; the four counts are disjoint, not percentages.

13780rich database FHP example (synthetic) source

derivedFrom[] — the shared core DerivedFrom object

Parent FAIR-bioHeaders files this set was derived from, by their own checksum.

  • These members come from the shared core (schemas/core.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • FHP may name any header type and any vocabulary value; the vocabulary itself is provisional (FAIR-bioHeaders-Specification#54).
FHP: derivedFrom[] — the shared core DerivedFrom object fields: 5 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
derivedFrom[].accessionIDOptionalobject (AccessionID)members listed belownone stated

Accession of the parent file

Optional, and no released FHP example states one. It is additional identification of the parent, never a substitute for a checksum link.
derivedFrom[].checksumRequiredstring
  • pattern: ^[A-Za-z0-9+/]{43}=$
  • length: exactly 44

FHR-family checksum of the parent file

Units: standard padded base64 of the parent file's SHA-512/256

The released example uses a placeholder to stand for a real parent file. A placeholder never verifies: run bioheaders verify-links against the actual parent.

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=placeholder checksum from the released FHP example source
derivedFrom[].headerTypeRequiredstring
  • one of: FHR | FHT | FHP | FHGFF3

FAIR-bioHeaders type of the parent file

Any released header type may be named; the vocabulary is provisional until FAIR-bioHeaders-Specification#54 decides the relationship mapping.

FHRvalue from the released FHP example source
derivedFrom[].relationshipRequiredstring
  • one of: annotates | transcribedFrom | translatedFrom | filteredFrom | assembledFrom

How this file relates to the parent. Provisional vocabulary: a PROV-O or Relation Ontology mapping is pending a maintainer decision (FAIR-bioHeaders-Specification#54).

translatedFromvalue from the released FHP example source
derivedFrom[].seqcol_idOptionalstring
  • pattern: ^[A-Za-z0-9_-]{32}$
  • length: exactly 32

Sequence collection digest of the parent, if supplied

Optional, and no released FHP example states one. It is the parent's supplied SeqCol digest (32 base64url characters), never a substitute for the parent checksum.

derivedFrom[].accessionID — AccessionID

Accession of the parent file

  • These members come from the shared core (schemas/core.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHP: derivedFrom[].accessionID — AccessionID fields: 2 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
derivedFrom[].accessionID.nameOptionalstringnone stated

Accession name

Only meaningful inside a derivedFrom parent link, which the examples state by checksum. Shape: the parent accession's name, as in accessionID.name above.
derivedFrom[].accessionID.urlOptionalstring
  • format: uri

Accession URL

Only meaningful inside a derivedFrom parent link, which the examples state by checksum. Shape: a URL resolving to that parent accession.

metadataAuthor[] — the shared core Author object

People or organizations that assert the metadata in this header.

  • These members come from the shared core (schemas/core.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHP: 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

Synthetic metadata author (placeholder)rich database FHP example (synthetic) source
metadataAuthor[].nameTypeOptionalstring
  • one of: Personal | Organizational

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

Preserved as supplied from FHP 1.0 onwards; the pattern accepts only the two DataCite spellings.

Personalvalue from the released FHP example 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

https://orcid.org/0000-0002-1825-0097value from the released FHP example source

predictionSoftware[] — the shared Software object

Software that produced the gene models or translations (schemas/shared.yaml).

  • These members come from the shared objects (schemas/shared.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • Same shape as FHR's assemblySoftware object form; name is the only required member.
FHP: predictionSoftware[] — the shared Software object fields: 4 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
predictionSoftware[].commandLineOptionOptionalarrayarray of string valuesnone stated

Command-line options given to the software, in order

--species, humanvalue from the released FHP example source
predictionSoftware[].nameRequiredstringnone stated

Name of the software

ExamplePredictor (placeholder)value from the released FHP example source
predictionSoftware[].uriOptionalstring
  • format: uri

URI of the software

https://example.org/example-predictorvalue from the released FHP example source
predictionSoftware[].versionOptionalstringnone stated

Version of the software

1.0.0value from the released FHP example source

sequenceStats — counts describing the set

Producer-reported counts of the file's contents.

  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
  • Not verified against the FASTA: the toolkit never recounts sequences.
FHP: sequenceStats — counts describing the set fields: 3 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
sequenceStats.geneCountOptionalinteger
  • range: >= 0

Number of genes the sequences represent

Units: genes

20652rich database FHP example (synthetic) source
sequenceStats.sequenceCountOptionalinteger
  • range: >= 0

Number of protein sequences in the file

Units: protein sequences

147520rich database FHP example (synthetic) source
sequenceStats.totalResiduesOptionalinteger
  • range: >= 0

Total number of residues in the file

Units: residues

11000000value from the released FHP example source

source[] — the shared Source object

Origins that are not FAIR-bioHeaders files: a database release, a set, an annotation run or a manual contribution (schemas/shared.yaml).

  • These members come from the shared objects (schemas/shared.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHP: source[] — the shared Source object fields: 7 fields, generated from the published schema.
FieldRequiredJSON type and cardinalityConstraintsDescription, units and notesExample
source[].assemblyAccessionOptionalstringnone stated

Genome assembly accession that the source states for this set; an assertion by the source, not a checksum link

What the source states as the assembly behind the set. It is not a link to an FHR file and is not verified.

GCA_000001405.29rich database FHP example (synthetic) source
source[].descriptionOptionalstringnone stated

What was taken from the source, or how the sequences were contributed

Reference proteome of Homo sapiens as distributed by UniProt; the assembly accession is the one UniProt states for this proteome.rich database FHP example (synthetic) source
source[].nameRequiredstringnone stated

Name of the database, resource or contribution

UniProtKBrich database FHP example (synthetic) source
source[].releaseOptionalstringnone stated

Release or annotation run of the source, as the source names it

2026_03rich database FHP example (synthetic) source
source[].sequenceCountOptionalinteger
  • range: >= 0

Number of sequences in the file that came from this source

Units: sequences taken from this source

120placeholder count from the released FHP example source
source[].setIdentifierOptionalstringnone stated

Identifier of the set taken from the source, for example a UniProt proteome ID

UP000005640rich database FHP example (synthetic) source
source[].urlOptionalstring
  • format: uri

URL of the source or set

https://www.uniprot.org/proteomes/UP000005640rich database FHP example (synthetic) source

taxon — the shared core Taxon object

Species name and its identifiers.org taxonomy URI, exactly as in FHR.

  • These members come from the shared core (schemas/core.yaml), so they read the same in every header type that imports the object.
  • The object is closed: an unknown key inside it is invalid, and so is an x- extension key at this level (rule R15).
FHP: 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

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

Taxonomy URI

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

Rules beyond a single field

FHP conditional and object-level rules, read from the schema bytes.
RuleWhat the contract requires
Extension fields need the newer minorThe schema rejects extension fields in a record that states schemaVersion: '1.0', so a 1.0 record keeps exactly its 1.0 outcome. A record using an extension states 1.1 or a later minor.
No key may contain a line feedpropertyNames rejects any key containing a line feed, so a YAML 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 FHP 1.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:

  • proteome: "", taxon: {} and metadataAuthor: [] pass the released schema yet describe nothing: conforming required values are non-empty (docs/SCHEMA-VERSIONS.md).
  • format: date and format: uri must be asserted by a conforming validator; a bare draft 2020-12 validator ignores them.
  • source[], sequenceStats, completeness and source[].assemblyAccession are producer assertions. Nothing here is verified against the sequences, and a checksum never authenticates an author.
  • FHP was first released in shared specification v0.4.0, so it has no legacy numeric schemaVersion compatibility path like FHR's rule V6.

Generated from fhp.json of FAIR-bioHeaders/FAIR-bioHeaders-Specification at v0.6.0 (commit 0ae18b00ee), byte-identical to the copy pinned at scripts/schema-snapshots/fhp-v0.6.0.json — SHA-256 92a0b3cbcfe69939ebfaac69f0c5958ce426c005873efe8d3e3eb0fc0dab6de5. It documents 62 fields: 26 at the top level and 36 inside 9 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

All four records are synthetic: names, checksums and counts are placeholders. Copy the shape, never the values.

The microdata binding for FHP is documented in FHP-MICRODATA.md; it uses the FHP itemtype, never the FHR one.

Validation boundaries

  1. Schema validity. Required keys, types, patterns, enums and the closed nested objects, plus x- extension keys from 1.1. From 1.2 the completeness.lineageDataset pattern also accepts dotted dataset versions such as enterobacterales_odb12.2. The structural check does not know whether proteome names anything real.
  2. File checksum verification. bioheaders verify recomputes SHA-512/256 over the exact bytes of the protein FASTA, excluding the root ;~checksum: line. Header handling is alphabet-independent: stops (*), U, O, B, Z, J, X, lower case and gaps are ordinary bytes, hashed and preserved exactly. Any re-write — re-wrapping, re-sorting, adding or stripping sequences — is a different file and needs a recomputed checksum.
  3. Parent-link verification. derivedFrom items name parents by their own checksum; bioheaders verify-links proteins.fhp.fasta genome.fhr.fasta ... recomputes each candidate’s checksum and reports matched, not matched or not checked. A match confirms file identity — never that the translation was correct. source[] and source[].assemblyAccession are producer assertions and are deliberately not verified.
  4. Sequence and biological validation. Nothing in this contract checks ORFs, signal peptides, contaminant sequences, duplicate identifiers or BUSCO itself. completeness is what one named run reported; BUSCO counts describe ortholog groups, not sequences or genes, and are not a quality cutoff.