Developer documentation · schema 3.1.8GitHub
Fair3RFDF schema

Operate and contribute

Debugging checklist

API field returns nothing

  1. Verify organism is selected
  2. Check depends_on (parent field filled?)
  3. Check api_by_taxon (taxon mapped?)
  4. Check result_path and mapper in the API definition
  5. Ensure allow_manual: true for fallback

Value visible in form but missing in output

  1. Check output.path
  2. Check output.mode
  3. Verify template placeholders ($value, $label, $id)
  4. Check append_if — may skip empty values

Cross-references not showing for a result

  1. Does the search endpoint's own response actually carry them? OLS4's lightweight /api/select usually doesn't (check a raw response) — if so, this needs mapper.detail_fetch (see Detail fetch), not mapper.xrefs/xref_from_extra* alone
  2. Check the accession's prefix has a matching entry in xref_catalog (uppercased) — an unmapped prefix is silently skipped, not an error
  3. For xref_from_extra_array: check the named extra key actually resolves to a comma-separated list, not an empty string (test the detail_fetch.url by hand first)

Value in JSON but not shown on dataset page

  1. Check display_mapping.source
  2. Check display_mapping.display_type
  3. Check filter — may be too restrictive

DataCite mapping missing

  1. Check the field's output mapping
  2. Check normalization in lib/fdf/datacite_converter.py
  3. Verify expected type (array / object / string)

Edit this page on GitHub