changedInput schema / properties / country / description
Previous value: -"BR = Brazil (IBGE Quarterly Milk Survey: average price dairies paid milk producers per litre, Brazil and the 27 states, quarterly official statistic, not a live price); CA = Canada (Statistics Canada: monthly average prices received by farmers, by province, official statistic, not a live price); CA = Canada (Fisheries and Oceans Canada: annual average landed value of sea fish and shellfish, official statistic, not a live price); GB = United Kingdom (Defra: monthly average price farmers received for milk, official statistic, not a shop price); GB = United Kingdom (MMO: monthly landed price paid to fishers for sea fish and shellfish, official statistic, not a shop price); JP = Japan (MAFF: monthly negotiated trade prices of rice between collecting organisations and wholesalers, by prefecture and variety, official statistic, not a live price)"New value: +"BR = Brazil (IBGE Quarterly Milk Survey: average price dairies paid milk producers per litre, Brazil and the 27 states, quarterly official statistic, not a live price); CA = Canada (Statistics Canada: monthly average prices received by farmers, by province…"
changedInput schema / properties / product / description
Previous value: -"The crop or animal product, e.g. 'wheat', 'barley', 'oats', 'canola', 'soybeans', 'corn', 'potatoes', 'cattle', 'hogs', 'lambs', 'chickens', 'milk', 'eggs'. The full list is in the tool notes. Brazil: only raw milk ('milk' or 'leite'). IBGE's price is reais per litre paid by dairies to producers, per quarter. Canada: a crop or animal product in everyday words, e.g. wheat, milling wheat, feed wheat, durum, oats, barley, feed barley, malt barley, soybeans, corn, flaxseed, canola, rye, lentils, dry peas, canary seed, potatoes, seed potatoes, table potatoes, processing potatoes, cattle, cows, steers, heifers, calves, lambs, feeder cattle, feeder steers, feeder heifers, feeder calves. Prices are in Canadian dollars in Statistics Canada's own unit for each series (per metric tonne for grains and oilseeds, per hundredweight for cattle, hogs and potatoes, per kilolitre for milk, per dozen for eggs); the answer names the unit. Canada, sea fish and shellfish (annual landed value per kg paid to fishers, from Fisheries and Oceans Canada): lobster, snow crab, other crabs, shrimp, scallop, clams, sea urchin, sea cucumber, other shellfish, salmon, herring, mackerel, capelin, alewife, eel, elvers, tuna, swordfish, shark, silversides, other pelagics, cod, haddock, halibut. Crops and livestock (wheat, milk, hogs ...) are answered by Statistics Canada. United Kingdom: only 'milk' (the monthly price UK dairy farmers received, in pence per litre; the answer gives pounds per litre and the pence figure). United Kingdom, sea fish and shellfish (monthly landed price per kg paid to fishers, from the Marine Management Organisation): cod, haddock, plaice, sole, lemon sole, hake, whiting, saithe, pollack, ling, monkfish, megrim, turbot, brill, halibut, bass, bream, mullet, gurnard, dogfish, skate, witch, sand eels, other demersal, or the groups demersal, pelagic, shellfish and all fish. Milk is answered by Defra. Japan: 'rice' for the all-brand average, or a variety such as 'koshihikari', 'akitakomachi', 'hitomebore', 'hinohikari', 'nanatsuboshi', 'yumepirika', 'tsuyahime', 'sasanishiki', 'haenuki' (or its Japanese name, e.g. コシヒカリ). Only rice is covered. Prices are yen per 60 kg of brown rice, tax included."New value: +"The crop or animal product, e.g. 'wheat', 'barley', 'oats', 'canola', 'soybeans', 'corn', 'potatoes', 'cattle', 'hogs', 'lambs', 'chickens', 'milk', 'eggs'. The full list is in the tool notes. Brazil: only raw milk ('milk' or 'leite')…"
changedInput schema / properties / region / description
Previous value: -"Region inside the country, as the statistics office publishes it (for example a province or state). Some countries publish no national figure, so the answer then asks for a region. Brazil: optional; leave out for the national figure, or give a state by name or two-letter code (for example São Paulo or SP, Minas Gerais, Paraná, Rio Grande do Sul, Goiás). States: Rondônia, Acre, Amazonas, Roraima, Pará, Amapá, Tocantins, Maranhão, Piauí, Ceará, Rio Grande do Norte, Paraíba, Pernambuco, Alagoas, Sergipe, Bahia, Minas Gerais, Espírito Santo, Rio de Janeiro, São Paulo, Paraná, Santa Catarina, Rio Grande do Sul, Mato Grosso do Sul, Mato Grosso, Goiás, Distrito Federal. IBGE withholds a state's figure in a quarter when too few dairies report it. Canada: a province is required (Ontario, Quebec, Saskatchewan, Alberta, Manitoba, British Columbia, Nova Scotia, New Brunswick, Prince Edward Island, Newfoundland and Labrador). Statistics Canada publishes no Canada total in this table. A city such as Saskatoon is answered with its province. Not every product is published for every province. Canada sea fish: optional. Leave out for Canada as a whole, or give Atlantic, British Columbia, Nova Scotia, New Brunswick, Prince Edward Island, Newfoundland and Labrador or Quebec. (Crops and livestock need a province.) United Kingdom: not needed. Defra publishes one figure for the whole UK, so a nation such as 'Scotland' is answered with the UK average and a note. United Kingdom sea fish: not needed. The MMO publishes one figure for all UK vessels and ports, so a region is answered with the UK figure and a note. Japan: optional prefecture (Niigata, Akita, Hokkaido, Kumamoto ... or 新潟). Without it the answer is the national figure. Prefectures with no price yet for the month are not shown."New value: +"Region inside the country, as the statistics office publishes it (for example a province or state). Some countries publish no national figure, so the answer then asks for a region. Brazil: optional; leave out for the national figure, or…"
changedOutput schema / description
Previous value: -"A price answer: a range or an official statistic with sample size, period, confidence, source and licence."New value: +"Price range from real records: price, sample_size, period, confidence, source and licence."
removedOutput schema / properties / answer_id
Removed value: -{
- "description": "Audit trail: a stable id (hash of source id, normalised query, data period and method_version). The same question on the same data gives the same id; keep it with the reasoning that used the figure.",
- "type": "string"
-}
removedOutput schema / properties / as_of
Removed value: -{
- "description": "When the answer was produced (ISO 8601); the snapshot date when the official source was down and the answer comes from our copy.",
- "type": "string"
-}
changedOutput schema / properties / confidence / description
Previous value: -"high = 50+ records, medium = 15–49, low = 5–14."New value: +"high, medium, low or insufficient."
removedOutput schema / properties / confidence / enum
Removed value: -[
- "high",
- "medium",
- "low",
- "insufficient"
-]
removedOutput schema / properties / data_age_days
Removed value: -{
- "description": "Whole days between data_as_of and retrieved_at; null when data_as_of is null.",
- "type": [
- "number",
- "null"
- ]
-}
removedOutput schema / properties / data_as_of
Removed value: -{
- "description": "ISO date (YYYY-MM-DD) of the newest data point behind the figure; null when unknown.",
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / evidence
Removed value: -{
- "additionalProperties": {},
- "description": "Audit trail: what kind of evidence the figure is.",
- "properties": {
- "label": {
- "description": "Short name of the kind of evidence, e.g. 'Recorded sale prices', 'Official published average', 'Official published index', 'Posted shelf or pump price', 'Posted or listed price', 'Contract award value', 'Regulated reimbursement price'.",
- "type": "string"
- },
- "meaning": {
- "description": "One sentence on what this kind of evidence does and does not establish.",
- "type": "string"
- },
- "type": {
- "description": "Same as price_type.",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "meaning"
- ],
- "type": "object"
-}
removedOutput schema / properties / extra
Removed value: -{
- "additionalProperties": {},
- "description": "Source-specific details (for example cheapest stations). extra.stale is true when the answer comes from our copy of the source.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
-}
removedOutput schema / properties / method
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / method_url
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / method_version
Removed value: -{
- "description": "Audit trail: version of the way this source turns raw data into an answer (per source, default '1').",
- "type": "string"
-}
removedOutput schema / properties / notice
Removed value: -{
- "description": "Information, not a valuation or offer. Also says when the answer is our copy because the official source did not respond.",
- "type": "string"
-}
removedOutput schema / properties / period / description
Removed value: -"The period the records cover (ISO dates), or the date of the snapshot when the answer comes from our copy."
changedOutput schema / properties / price / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "The price. Null when there is not enough data to publish a figure (fewer than 5 records) or nothing matched.",
- "properties": {
- "currency": {
- "description": "ISO 4217 currency code, e.g. EUR.",
- "type": "string"
- },
- "max": {
- "type": [
- "number",
- "null"
- ]
- },
- "measure": {
- "description": "What value is: median for ranges built from records; average or median for official statistics.",
- "enum": [
- "median",
- "average"
- ],
- "type": "string"
- },
- "median": {
- "type": [
- "number",
- "null"
- ]
- },
- "min": {
- "type": [
- "number",
- "null"
- ]
- },
- "typical_high": {
- "description": "90th percentile; null for official statistics that give no range.",
- "type": [
- "number",
- "null"
- ]
- },
- "typical_low": {
- "description": "10th percentile; null for official statistics that give no range.",
- "type": [
- "number",
- "null"
- ]
- },
- "unit": {
- "description": "What the price is per, e.g. 'per litre', 'per home', 'per kWh'.",
- "type": "string"
- },
- "value": {
- "description": "The headline figure. For ranges built from records it equals median.",
- "type": "number"
- }
- },
- "required": [
- "currency",
- "unit",
- "value"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "typical_high": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "typical_low": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "unit": {
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "unit",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / price_type
Removed value: -{
- "description": "transaction, posted_pump_price, posted_price, contract_price, reimbursement_price or official_statistic.",
- "type": "string"
-}
removedOutput schema / properties / query
Removed value: -{
- "additionalProperties": {},
- "description": "The request as understood, echoed back.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
-}
removedOutput schema / properties / reliability
Removed value: -{
- "description": "How far to trust the figure as a distribution of real prices. official_with_count = a published official figure with a record count; official_median_no_count = a published average or median with no record count (confidence 'high' there means the publisher is official, not that a count was checked); record_level = 15+ records we hold; thin = 5–14 records; stale = our copy because the official source did not respond; insufficient_data = no figure published.",
- "enum": [
- "official_with_count",
- "official_median_no_count",
- "record_level",
- "thin",
- "stale",
- "insufficient_data"
- ],
- "type": "string"
-}
removedOutput schema / properties / retrieved_at
Removed value: -{
- "description": "Audit trail: when ProofPrice produced this answer (ISO 8601). For an answer from our own copy this is now, while as_of is the snapshot date.",
- "type": "string"
-}
removedOutput schema / properties / sample_size / description
Removed value: -"Number of records behind the figure; null when the publisher does not say."
removedOutput schema / properties / source / description
Removed value: -"Where the figure comes from, under which licence, and the attribution line to show."
removedOutput schema / properties / source / properties / attribution / description
Removed value: -"The attribution line to show with the figure."
removedOutput schema / properties / source / properties / id
Removed value: -{
- "description": "Source id, e.g. es-fuel.",
- "type": "string"
-}
removedOutput schema / properties / source / properties / licence_url
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / source / properties / publisher
Removed value: -{
- "description": "Who publishes the data.",
- "type": "string"
-}
removedOutput schema / properties / source / properties / url
Removed value: -{
- "description": "The publisher's page for this data.",
- "type": "string"
-}
changedOutput schema / properties / source / required
Previous value: -[
- "id",
- "name",
- "publisher",
- "licence",
- "licence_url",
- "attribution",
- "url"
-]New value: +[
+ "name",
+ "licence",
+ "attribution"
+]
removedOutput schema / properties / statistic
Removed value: -{
- "additionalProperties": {},
- "description": "Official statistics only: what kind of figure it is and the period the publisher states it for.",
- "properties": {
- "measure": {
- "enum": [
- "median",
- "average"
- ],
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "reference_period": {
- "type": "string"
- }
- },
- "required": [
- "measure",
- "reference_period"
- ],
- "type": "object"
-}
removedOutput schema / properties / status / description
Removed value: -"ok = a figure is returned; insufficient_data = fewer than 5 matching records; no_matches = nothing matched."
removedOutput schema / properties / suggestions
Removed value: -{
- "description": "Short plain things to try next: widen the period or area, ask for an itemised quote. May be empty.",
- "items": {
- "type": "string"
- },
- "type": "array"
-}
changedOutput schema / properties / summary / description
Previous value: -"One plain sentence an AI can quote."New value: +"One sentence an AI can quote."
changedOutput schema / required
Previous value: -[
- "query",
- "status",
- "source",
- "summary",
- "notice"
-]New value: +[
+ "status",
+ "summary"
+]