Upstream quirks
Behavior of the live JUFO REST API v1.1 that shapes how the client works, with the API documentation on the CSC wiki as the reference. Where a quirk affects bibliofabric.jufo, the behavior of the client is noted.
The search answer caps at 100 records
The search route pages no results. Every answer carries at most 100 hits
regardless of how many channels match; there is no page, offset, cursor,
page-size, sort, or select parameter, and the answer carries no total. A
broad name search such as nimi=journal returns exactly 100 hits with no
indication of what the other matches are. Narrow the search with an
identifier or a more specific name, or read the nightly dump (see below).
iterate() yields the one page and stops after a single request.
A request without criteria returns the whole database
The route ignores unknown parameters, so a misspelled criterion (nime=,
tyyppi=4) does not fail; it answers the first 100 records of the whole
database. bibliofabric.jufo rejects unknown filter keys, empty name
fragments, and criterion-free searches with ConfigurationError before
anything is sent.
Identifier matching needs the stored spelling
The issn and isbn parameters match literally against the stored
identifiers:
issn=02625253answers[]; the hyphenated0262-5253matches. bibliofabric.jufo normalizes compact ISSNs into the hyphenated form and rejects a wrong check digit, which would otherwise only answer an empty result.isbn=978877496answers[]; the prefix must carry its hyphens (978-87-7496). Hyphenation of ISBN registrant ranges is not algorithmic, so the client validates the characters and the presence of hyphens but never reformats the value.- The
lyhenne(conference abbreviation) parameter can match a channel of typeLehti/sarja: the AAAI proceedings series answers under its abbreviation while being classified as a series.
A search miss answers HTTP 200 with an empty array. A missing channel id
answers 404 with an empty body. channels.get() raises NotFoundError
for both shapes, and exists() sends GET so the client reads the miss
from the body; the upstream behavior of HEAD on kanava is not
documented.
Every field is a JSON string
The single-channel route serves all values as strings, including numbers
and booleans ("Level": "2", "Scientific": "1"), and the empty string
for missing data. The Channel model validates numerics into int and
float, the "0"/"1" flags into bool, and the empty string into
None.
The routes serve two different schemas
The single-channel route and the nightly dump disagree about fields, and
every dump record carries the same 54 keys. Nine keys appear only in the
dump: Channel_ID, Source, newLevel, sherpaIndex, oaType,
saAllowed, ReEvaluation, Jufo_2024, and Jufo_2025. Eleven model
fields never appear in the dump and stay None for dump records:
Denmark_Level, Field, General, IPP, SJR_SJR, SNIP,
Sherpa_Romeo_Code, Subfield, Virta_Gold, Virta_Hybrid, and
Virta_Green. The API change log records the 2024-01-09 dump revision
that removed Sherpa_Romeo_Code, SJR_SJR, SNIP, IPP,
Denmark_Level, and Predator, and added newLevel, sherpaIndex,
oaType, and saAllowed; ReEvaluation joined in 2023 and Jufo_2024
in January 2025. The route still serves the legacy keys, including
Predator, which the Channel model absorbs as an extra. The model
declares the route's fields and absorbs the dump-only keys into
model_extra, so one model reads both sources.
Type strings are Finnish and not perfectly uniform
Type reads Lehti/sarja (journal or series), Kirjakustantaja (book
publisher), or Konferenssi (conference), but a few dozen records serve
the spelling Lehti/Sarja with a capital S. Treat type as display text,
not an enum.
Level 0 means "other identified publication channels"
The Level value 0 marks channels that belong to the Publication Forum
grouping "Muut tunnistetut julkaisukanavat" (other identified publication
channels) since 2026; they carry no basic, leading, or top level.
Full-corpus dumps
https://jufo-rest.csc.fi/v1.1/massa.json.zip (about 4 MB compressed,
one JSON array of about 43,000 channels, 55 MB unpacked) and
virta-additions-massa.json.zip update once a night. bibliofabric.jufo
wraps no download; save the file yourself and read every record with
iter_dump_records(), which needs no network access (see
the quick start). The main zip holds
one member at the path var/www/files/v1.1/massa.json; the reader picks
the single .json member and rejects a zip that carries none or several.
The Virta additions zip is not wrapped: its records carry only the
Jufo_ID, JulkaisunTunnus, CreatedAt, and ModifiedAt of the
VirtaAdditions table.
A v2 API exists
A newer API serves https://jufo-rest.csc.fi/v2.0/search and
/v2.0/channel/{id} with a different, richer schema (OpenSearch-backed
paging with _size and _from, localized labels, license and open-access
details, ISBN as an array). bibliofabric.jufo targets v1.1 only.