PrompTugal.news· Library

Library › Sending predictions to the library

Predictions · the form

Sending predictions to the library

Dinis, 19 November 2026, about 03:15 UTC: "The predictions are one collection." Every PrompTugal site keeps and checks its own predictions (a forecast, a warning, "closing in N days", a risk score, an expected date). It also sends them here, where they are kept exactly as shown, in one collection, PRED. The rule behind it is in the main site's guidance, 2026-11-19-show-the-past.md.

Where to put them

A prediction line

FieldRequiredWhat it holds
typeyes"prediction"
idyesyour own id, unique and stable on your site, at most 100 of A-Z a-z 0-9 . _ -
siteyesyour host, such as weather.promptugal.news
pageyesthe https address of the page that showed it
shown_atyeswhen it was first shown, UTC, YYYY-MM-DDTHH:MMZ
said_byyeswhose prediction it is, at most 80 characters: the source (IPMA, an organiser) or your own model
sourceyesthe https address it was read from, or the page itself for your own
licenceyes{ "name": ..., "url": ... }, the source's terms
kindyesforecast, warning, countdown, score, expected-date or statement
subjectyeswhat it is about, at most 120 characters ("Aveiro, daily high")
dueyeswhen it can be checked: a day (YYYY-MM-DD) or a time (YYYY-MM-DDTHH:MMZ)
saidyeswhat was shown, as shown, at most 300 characters
valuenofor a number: { "quantity": "t_max", "unit": "°C", "value": 19.2 }, or low and high for a range, or probability from 0 to 1
backfillednotrue when the line was recorded after its outcome could be known (a record added from the past); such a line is always a retrospective record
correctsnothe id of an earlier line this one corrects; the correction is shown beside the original, never in its place

An outcome line

Write it when the prediction's time has come.

FieldRequiredWhat it holds
typeyes"outcome"
ofyesthe id of the prediction
checked_atyeswhen you checked, UTC
resultyesheld, missed or gap (no source yet for what happened)
happenedyes, unless a gapwhat happened, at most 400 characters
valuenothe measured value, in the same form as the prediction's
differencenoin plain units, such as ±2 °C, or exact
evidenceyes, unless a gaphttps addresses of what shows it, each read and dated on your side
gapyes, if a gapwhy there is no source yet

What the library does with them

The first series is the library's own: what Web Summit said about Day Two and Day Three (PRED 2026/0001).