Compile EUDR Annex II Due Diligence Statements from operator, supplier, and plot geolocation.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Report this organisation's credit balance, how many signed statements it will cover, and what has been spent. Checking plots, looking up references, assessing supplier gaps and reading traces cost nothing and are always available — only compiling a signed statement draws the balance down. Use this before starting a batch of compiles so the user is not surprised part-way through. The first call for an organisation writes: it opens the wallet, grants the welcome credits and records that grant as the opening ledger line. Every call after that only reads.
This tool takes no arguments.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Report this organisation's credit balance, how many signed statements it will cover, and what has been spent. Checking plots, looking up references, assessing supplier gaps and reading traces cost nothing and are always available — only compiling a signed statement draws the balance down. Use this before starting a batch of compiles so the user is not surprised part-way through. The first call for an organisation writes: it opens the wallet, grants the welcome credits and records that grant as the opening ledger line. Every call after that only reads.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Check what each supplier's file is still missing against Article 9(1) of Regulation (EU) 2023/1115, the closed list of information an operator must hold before filing. Returns the unmet items with their article reference and what to request, separating items that block filing from items that merely leave the file incomplete. This is a checklist over the fields you supply; it reads no documents and judges no evidence.
| Argument | Type | Description |
|---|---|---|
| suppliers* | array | The suppliers to weigh up, each with what is already held about them. One entry per supplier. |
{
"type": "object",
"required": [
"suppliers"
],
"properties": {
"suppliers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Your reference for the supplier."
},
"name": {
"type": "string",
"description": "Supplier's legal or trading name."
},
"email": {
"type": "string",
"description": "Email address (Article 9(1)(e))."
},
"address": {
"type": "string",
"description": "Postal address (Article 9(1)(e))."
},
"hs_code": {
"type": "string"
},
"commodity": {
"enum": [
"cattle",
"cocoa",
"coffee",
"oil_palm",
"rubber",
"soya",
"wood"
],
"type": "string"
},
"quantity_kg": {
"type": "number",
"minimum": 0
},
"plots_declared": {
"type": "integer",
"minimum": 0,
"description": "How many plots the supplier says the goods come from."
},
"scientific_name": {
"type": "string",
"description": "Required for wood under Article 9(1)(a)."
},
"legality_documents": {
"type": "array",
"items": {
"type": "string"
},
"description": "Legality documents held. Recognised slugs: land_use_rights, environmental_permit, forest_permit, third_party_rights, fpic, labour_compliance, tax_and_trade."
},
"subnational_region": {
"type": "string"
},
"product_description": {
"type": "string"
},
"country_of_production": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "ISO-3166-1 alpha-2."
},
"production_date_range": {
"type": "string",
"description": "Harvest or production dates, ideally YYYY-MM-DD/YYYY-MM-DD."
},
"deforestation_evidence": {
"type": "array",
"items": {
"type": "string"
},
"description": "References to evidence already held, such as an evidence_cid or a receipt CID."
},
"plots_with_geolocation": {
"type": "integer",
"minimum": 0,
"description": "How many of those you hold coordinates for."
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1,
"description": "The suppliers to weigh up, each with what is already held about them. One entry per supplier."
}
},
"additionalProperties": false
}Check up to six production plots for forest loss after 31 December 2020, the cut-off in Regulation (EU) 2023/1115. Takes GeoJSON boundaries, the commodity, and the country of production. Returns a per-plot verdict, the loss years observed, how much of each plot was inspected, and a handle for the underlying satellite evidence. This answers Article 3(a) only: it does not check land tenure, permits, consent, or chain of custody, and it lists those gaps on every response. This has side effects, though it writes nothing to the organisation's records and costs no credits: every call asks emem.dev to make freshly signed measurements, so repeating a check returns the same finding under new signatures, and mints a short-lived evidence handle held on this server for 24 hours, which eudr_fetch_evidence resolves and which a later check will not reproduce.
| Argument | Type | Description |
|---|---|---|
| plots | array | Several plots checked together, each keeping its own verdict. Use this when a consignment draws on more than one plot. Six at a time answers inside a conversation; a consignment with more plots than that is a compile — use eudr_prepare_dds, which runs as a task. |
| country* | string | ISO-3166-1 alpha-2 code of the country of production. It sets the benchmark risk tier. |
| geojson | object | One plot, as a GeoJSON Polygon, MultiPolygon or Point in WGS84 (EPSG:4326). Article 2(28) requires six decimal places. A Point is admissible only for a plot under four hectares that is not forest. Supply this or `plots`. |
| hs_code | string | Optional HS code, 2 to 8 digits. Overrides the commodity-to-Annex-I mapping. |
| commodity |
Summarise the signed-in organisation's position: how many statements are filable, how many are blocked by a non-negligible verdict, how many are unresolved, broken down by commodity and country, plus outstanding supplier evidence requests. Answers "where do we stand" without enumerating every record.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Add a farm to this organisation's record. A name is enough; give the crop, country and a pin (lat, lon) when known. Give its boundary as `boundary` (a GeoJSON Polygon or MultiPolygon, longitude first), or as `fields`: several field outlines (for example Fields of The World parcels) that are joined into one farm by closing the bunds and tracks between neighbours (`join_m`, default 3 m each way), fields farther apart kept as separate pieces. With a boundary, what follows runs at once: the country from where the land lies when none is given, the forest record warmed, and the land check when the crop is one the EU regulation covers. With only a pin, the mapped fields around it are looked up as suggestions for a person to accept. This writes to the organisation's record.
| Argument | Type | Description |
|---|---|---|
| lat | number | A pin on the farm, in WGS84 degrees. Use it when no boundary is known. |
| lon | number | The pin's longitude, WGS84 degrees. GeoJSON order is longitude first; this field is not. |
| crop | string | What grows there, in plain words (`cocoa`, `coffee`, `oil palm`). It decides whether the EU deforestation rules apply at all. |
| name* | string | What the farm is called, as the buyer and the farmer would say it. |
| fields | array | GeoJSON Polygons to join into one farm. |
| join_m | number | How far apart two field outlines may be and still be treated as one farm, in metres each way. Default 3, which closes the bunds and tracks between neighbouring parcels. |
Run the organisation's own buying process on a banana lot from one of its farms: every destination in its library gets GO / GO WITH CONDITIONS / NEEDS A PERSON / NO-GO with the chance the whole chain holds, the margin P10/P50/P90, the most the buyer can pay and keep that outcome, the deal zone against the farmer's ask, and what the farmer is told (never the walk-away price). Every default the lot needed is returned as a stated assumption. Banana only; other crops are refused by name. The run is stored as a decision the organisation can later record an outcome against. Send `lot` in the shape of `lot_example` from eudr_procurement_overview. The crop is taken from the farm's own record.
| Argument | Type | Description |
|---|---|---|
| lot* | object | The lot: crop, plants, harvestable_share, bunch_kg, maturity, days_since_flowering, expected_daily_mean_c (each a {low, mid, high} range where a range), fingers, chemicals, certificates, offer {farm_gate_price, order_kg, target {margin, max_p_loss}}, farmer_asks, farmer_consents, people. |
| farm_id* | string | A farm id from eudr_procurement_overview. |
{
"type": "object",
"required": [
"farm_id",
"lot"
],
"properties": {
"lot": {
"type": "object",
"description": "The lot: crop, plants, harvestable_share, bunch_kg, maturity, days_since_flowering, expected_daily_mean_c (each a {low, mid, high} range where a range), fingers, chemicals, certificates, offer {farm_gate_price, order_kg, target {margin, max_p_loss}}, farmer_asks, farmer_consents, people."
},
"farm_id": {
"type": "string",
"description": "A farm id from eudr_procurement_overview."
}
},
"additionalProperties": false
}The complete derivation chain behind a compiled statement, in order: polygon to grid addresses, signed measurements, the algorithm and the registries it was pinned against, cell verdicts to a consignment verdict, citations, and which of three independent keys signed what. A stage whose evidence is absent is reported as absent with its reason. Use it when someone asks how a result was reached rather than what it was.
| Argument | Type | Description |
|---|---|---|
| task_id* | string | The task_id of a compile that has produced a statement. |
{
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"maxLength": 64,
"description": "The task_id of a compile that has produced a statement."
}
},
"additionalProperties": false
}Export a compiled statement as TRACES NT submission XML, signed Annex II JSON, or plot boundaries as GeoJSON. Exporting is not filing: nothing is submitted to any authority. TRACES export is refused for a non-negligible verdict, because Article 4(1) bars placing those goods and a non-filable assessment must not be handed out as a submission document.
| Argument | Type | Description |
|---|---|---|
| format* | string | `traces_xml` for the EUDR Information System submission shape, `annex_ii_json` for the signed statement, `plots_geojson` for the boundaries as a FeatureCollection. |
| task_id* | string | The task_id of a completed compile. |
| activity | string | TRACES activity type. Defaults to the activity the statement was compiled with. |
{
"type": "object",
"required": [
"task_id",
"format"
],
"properties": {
"format": {
"enum": [
"traces_xml",
"annex_ii_json",
"plots_geojson"
],
"type": "string",
"description": "`traces_xml` for the EUDR Information System submission shape, `annex_ii_json` for the signed statement, `plots_geojson` for the boundaries as a FeatureCollection."
},
"task_id": {
"type": "string",
"maxLength": 64,
"description": "The task_id of a completed compile."
},
"activity": {
"enum": [
"IMPORT",
"EXPORT",
"DOMESTIC",
"TRADE"
],
"type": "string",
"description": "TRACES activity type. Defaults to the activity the statement was compiled with."
}
},
"additionalProperties": false
}Retrieve the signed satellite facts behind a completed check, a page at a time, using the `evidence_cid` that check returned. Each entry is a content address that resolves at emem.dev and verifies offline against the responder's key. Use this when someone needs to audit or cite the evidence, not to summarise a result.
| Argument | Type | Description |
|---|---|---|
| limit | integer | How many facts to return, up to 200. Defaults to 50. |
| offset | integer | Index to start from. Defaults to 0. |
| evidence_cid* | string | The handle returned by eudr_check_plots. |
{
"type": "object",
"required": [
"evidence_cid"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "How many facts to return, up to 200. Defaults to 50."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Index to start from. Defaults to 0."
},
"evidence_cid": {
"type": "string",
"maxLength": 128,
"description": "The handle returned by eudr_check_plots."
}
},
"additionalProperties": false
}Read the state of a compile started by eudr_prepare_dds. While it runs, returns the current state. Once finished, returns the verdict, the receipt's content address and signing key, and the link to the printable statement.
| Argument | Type | Description |
|---|---|---|
| task_id* | string | The task_id returned by eudr_prepare_dds. |
{
"type": "object",
"required": [
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"maxLength": 64,
"description": "The task_id returned by eudr_prepare_dds."
}
},
"additionalProperties": false
}Parse a consignment list into structured shipments ready to check. Accepts a CSV export (the column set eudr.dev publishes) or a GS1 EPCIS 2.0 JSON-LD document. Returns one row per shipment with supplier, commodity, country, quantity and plot boundaries, plus a warning for every row that could not be read and the reason. Nothing is stored and nothing is submitted; this only reads the document you pass.
| Argument | Type | Description |
|---|---|---|
| limit | integer | How many shipments to return in full, including plot boundaries. Defaults to 8, which is what eudr_check_plots accepts in one call. |
| format* | string | `csv` for the published column set, `epcis` for a GS1 EPCIS 2.0 JSON-LD document. |
| offset | integer | Which shipment to start detailing from. Totals always cover the whole document. |
| document* | string | The document itself. CSV text including its header row, or the EPCIS document as JSON text. |
{
"type": "object",
"required": [
"format",
"document"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "How many shipments to return in full, including plot boundaries. Defaults to 8, which is what eudr_check_plots accepts in one call."
},
"format": {
"enum": [
"csv",
"epcis"
],
"type": "string",
"description": "`csv` for the published column set, `epcis` for a GS1 EPCIS 2.0 JSON-LD document."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Which shipment to start detailing from. Totals always cover the whole document."
},
"document": {
"type": "string",
"maxLength": 2000000,
"description": "The document itself. CSV text including its header row, or the EPCIS document as JSON text."
}
},
"additionalProperties": false
}List the farms in this organisation's record: id, name, country, whether a boundary is confirmed and its area in hectares (geodesic, holes out), and how many EU statements were made for each. Read-only.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List the Due Diligence Statements already in the signed-in organisation's account, newest first, with verdict, reference, commodity, country, quantity and date. Use this to answer what has been filed, what is outstanding, and what a past consignment concluded, rather than asking the user to re-enter details their account already holds.
| Argument | Type | Description |
|---|---|---|
| limit | integer | How many to return. Defaults to 20. |
| country | string | Only statements for this country of production. |
| verdict | string | Keep only the statements that reached this verdict. Leave it out for all of them. |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "How many to return. Defaults to 20."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Only statements for this country of production."
},
"verdict": {
"enum": [
"negligible",
"non_negligible",
"not_in_scope",
"indeterminate"
],
"type": "string",
"description": "Keep only the statements that reached this verdict. Leave it out for all of them."
}
},
"additionalProperties": false
}List the supplier evidence requests this organisation has issued: who was asked, whether they responded, and when each request expires. Answers which suppliers still owe plot boundaries and production details.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Look up the country benchmark tier under Implementing Regulation (EU) 2025/1093, the Annex I commodity to HS-code mapping under Regulation (EU) 2023/1115, the seaports and airports a consignment can leave or enter through (UN/LOCODE), or which countries actually supply the Union with each commodity and in what volume (UN Comtrade 2023, with World Bank indicator prices). Returns the table this engine evaluates against, with its source and the date it was verified.
| Argument | Type | Description |
|---|---|---|
| kind* | string | `country_risk` for the benchmark tiers, `commodities` for the Annex I mapping, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what. |
| country | string | With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry. |
| commodity | string | With kind=trade, return just this Annex I commodity's import lanes instead of all seven. |
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"country_risk",
"commodities",
"ports",
"trade"
],
"type": "string",
"description": "`country_risk` for the benchmark tiers, `commodities` for the Annex I mapping, `ports` for UN/LOCODE seaports and airports, `trade` for who supplies the Union with what."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "With kind=country_risk, return just this country's tier instead of the whole table. With kind=ports, return just that country's seaports and airports instead of the Union's points of entry."
},
"commodity": {
"enum": [
"cocoa",
"coffee",
"rubber",
"soya",
"oil_palm",
"cattle",
"wood"
],
"type": "string",
"description": "With kind=trade, return just this Annex I commodity's import lanes instead of all seven."
}
},
"additionalProperties": false
}Report the Article 11 risk-mitigation plans this organisation has open against flagged shipments: which steps are outstanding, which article each discharges, whether a step needs a person or can be re-run automatically, and what evidence has been recorded. A non-negligible verdict creates an obligation under Article 11 to act before the product is placed on the market; this answers how far that has got. Pass a shipment id for one plan, or omit it for everything still open. Read-only — recording a decision is a deliberate human act and is done on eudr.dev, because Article 11(3) requires mitigation decisions to be documented and demonstrable; eudr.dev records each against the named person who made it, which is our choice rather than the Regulation's wording.
| Argument | Type | Description |
|---|---|---|
| shipment_id | string | Optional. One shipment's plan; omit for every open plan. |
{
"type": "object",
"properties": {
"shipment_id": {
"type": "string",
"description": "Optional. One shipment's plan; omit for every open plan."
}
},
"additionalProperties": false
}Compile and sign an Annex II Due Diligence Statement. This WRITES: it stores a compile task holding the operator and supplier details you pass, and sends the plot geometry, HS code, country and quantity to emem.dev to be measured and independently signed. Operator and supplier identity are not forwarded upstream. Returns a task handle; read the outcome with eudr_get_dds. Nothing is filed with any authority. Confirm the details with the user first. Costs 5 credits from the organisation's wallet (from 30 October 2026, plus 1 for each plot after the first), refunded automatically if the compile fails; every other tool here is free.
| Argument | Type | Description |
|---|---|---|
| product* | object | What is being placed on the market: its HS code, what it is in words, and its net mass (Annex II point 2). |
| operator* | object | Who places the goods on the EU market and answers for this statement (Annex II point 1). Not forwarded to the satellite service. |
| producer | object | The primary producer, where that is not the supplier. |
| supplier* | object | Who the goods were bought from, as the operator's own records name them. Not forwarded to the satellite service. |
| geolocation* | object | Where it was produced and when it was harvested (Annex II point 3). The plot geometry, country, HS code and quantity are the only things sent to the satellite service. |
List the organisation's farms and its recent buying decisions (GO / GO WITH CONDITIONS / NEEDS A PERSON / NO-GO per destination), with which carry a recorded outcome and which were overridden. Use it to find a farm id before eudr_decide_lot, or to see how decisions have turned out. Read-only.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Create a one-time link a supplier can use to submit their plot boundaries and production details straight into this organisation's account, without needing an account of their own. This writes: it creates a credential that lets whoever holds the link submit data to you, and returns that link once. Send it only to the intended supplier. No email is sent by this call.
| Argument | Type | Description |
|---|---|---|
| string | Optional, recorded so you can see where the link was meant to go. It is not verified and nothing is sent to it. | |
| supplier_name* | string | Your name for the counterparty, shown to them on the intake page. |
| valid_for_days | integer | How long the link works. Defaults to 30. |
{
"type": "object",
"required": [
"supplier_name"
],
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"description": "Optional, recorded so you can see where the link was meant to go. It is not verified and nothing is sent to it."
},
"supplier_name": {
"type": "string",
"maxLength": 200,
"description": "Your name for the counterparty, shown to them on the intake page."
},
"valid_for_days": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "How long the link works. Defaults to 30."
}
},
"additionalProperties": false
}Set the boundary of a farm already in the record, as `boundary` (GeoJSON Polygon or MultiPolygon) or as `fields` to join into one farm (see eudr_create_farm). It becomes the farm's confirmed boundary, recorded as set by this agent credential, and what follows runs at once: the country from where the land lies, the forest record warmed, the land check. This writes to the organisation's record, and REPLACES any boundary the farm already had: the previous outline stops being the farm's boundary, and because the boundary decides which land is checked, the compliance answers and the area derived from it change with it. The superseded outline is kept in the farm's history and can be read back, but this call does not undo on its own — confirm with the user before overwriting a boundary somebody else set.
| Argument | Type | Description |
|---|---|---|
| fields | array | Several field outlines to join into one farm, as GeoJSON Polygons. Give this or `boundary`. |
| join_m | number | How far apart two field outlines may be and still count as one farm, in metres each way. Default 3. |
| farm_id* | string | The farm whose boundary this is, as `eudr_create_farm` or `eudr_list_farms` returned it. |
| boundary | object | The outline, as a GeoJSON Polygon or MultiPolygon, longitude first. Give this or `fields`. |
{
"type": "object",
"required": [
"farm_id"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object"
},
"maxItems": 60,
"description": "Several field outlines to join into one farm, as GeoJSON Polygons. Give this or `boundary`."
},
"join_m": {
"type": "number",
"maximum": 15,
"minimum": 0,
"description": "How far apart two field outlines may be and still count as one farm, in metres each way. Default 3."
},
"farm_id": {
"type": "string",
"description": "The farm whose boundary this is, as `eudr_create_farm` or `eudr_list_farms` returned it."
},
"boundary": {
"type": "object",
"description": "The outline, as a GeoJSON Polygon or MultiPolygon, longitude first. Give this or `fields`."
}
},
"additionalProperties": false
}Verify a statement receipt: re-derive its content address from the canonical payload and check the ed25519 signature. Use it on a receipt a counterparty hands you. A valid signature establishes who signed and that the bytes are unchanged; it does not establish that the claim inside is true.
| Argument | Type | Description |
|---|---|---|
| receipt* | object | The receipt as issued: schema, cid, payload, canonical_b64, signature_b64, signer, signed_at. |
{
"type": "object",
"required": [
"receipt"
],
"properties": {
"receipt": {
"type": "object",
"description": "The receipt as issued: schema, cid, payload, canonical_b64, signature_b64, signer, signed_at."
}
},
"additionalProperties": false
}| string |
| With kind=trade, return just this Annex I commodity's lanes: cocoa, coffee, rubber, soya, oil_palm, cattle or wood. |
| quantity_kg | number | Optional net mass of the consignment. It does not affect the verdict. |
{
"type": "object",
"required": [
"commodity",
"country"
],
"properties": {
"plots": {
"type": "array",
"items": {
"type": "object",
"required": [
"geojson"
],
"properties": {
"geojson": {
"type": "object",
"description": "GeoJSON Polygon, MultiPolygon or Point in WGS84."
},
"plot_id": {
"type": "string",
"maxLength": 64,
"description": "Your identifier for the plot, echoed on its verdict row. Letters, digits and -_.: only."
}
},
"additionalProperties": false
},
"maxItems": 6,
"minItems": 1,
"description": "Several plots checked together, each keeping its own verdict. Use this when a consignment draws on more than one plot. Six at a time answers inside a conversation; a consignment with more plots than that is a compile — use eudr_prepare_dds, which runs as a task."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "ISO-3166-1 alpha-2 code of the country of production. It sets the benchmark risk tier."
},
"geojson": {
"type": "object",
"description": "One plot, as a GeoJSON Polygon, MultiPolygon or Point in WGS84 (EPSG:4326). Article 2(28) requires six decimal places. A Point is admissible only for a plot under four hectares that is not forest. Supply this or `plots`."
},
"hs_code": {
"type": "string",
"description": "Optional HS code, 2 to 8 digits. Overrides the commodity-to-Annex-I mapping."
},
"commodity": {
"type": "string",
"description": "With kind=trade, return just this Annex I commodity's lanes: cocoa, coffee, rubber, soya, oil_palm, cattle or wood."
},
"quantity_kg": {
"type": "number",
"minimum": 0,
"description": "Optional net mass of the consignment. It does not affect the verdict."
}
},
"additionalProperties": false
}| country | string | ISO 3166-1 alpha-2. |
| boundary | object | GeoJSON Polygon or MultiPolygon. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "A pin on the farm, in WGS84 degrees. Use it when no boundary is known."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "The pin's longitude, WGS84 degrees. GeoJSON order is longitude first; this field is not."
},
"crop": {
"type": "string",
"maxLength": 100,
"description": "What grows there, in plain words (`cocoa`, `coffee`, `oil palm`). It decides whether the EU deforestation rules apply at all."
},
"name": {
"type": "string",
"maxLength": 200,
"description": "What the farm is called, as the buyer and the farmer would say it."
},
"fields": {
"type": "array",
"items": {
"type": "object"
},
"maxItems": 60,
"description": "GeoJSON Polygons to join into one farm."
},
"join_m": {
"type": "number",
"maximum": 15,
"minimum": 0,
"description": "How far apart two field outlines may be and still be treated as one farm, in metres each way. Default 3, which closes the bunds and tracks between neighbouring parcels."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2."
},
"boundary": {
"type": "object",
"description": "GeoJSON Polygon or MultiPolygon."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"operator",
"supplier",
"product",
"geolocation"
],
"properties": {
"product": {
"type": "object",
"required": [
"hs_code",
"description",
"net_mass_kg"
],
"properties": {
"hs_code": {
"type": "string",
"description": "2 to 8 digits, dot-separated, e.g. 1801.00."
},
"trade_name": {
"type": "string"
},
"description": {
"type": "string"
},
"net_mass_kg": {
"type": "number",
"minimum": 0
},
"scientific_name": {
"type": "string"
}
},
"description": "What is being placed on the market: its HS code, what it is in words, and its net mass (Annex II point 2).",
"additionalProperties": false
},
"operator": {
"type": "object",
"required": [
"name",
"country_of_establishment"
],
"properties": {
"eori": {
"type": "string",
"description": "EORI number, where the consignment crosses the EU customs border."
},
"name": {
"type": "string"
},
"role": {
"enum": [
"operator",
"trader_as_operator",
"downstream_operator",
"sme_trader"
],
"type": "string"
},
"address": {
"type": "string"
},
"country_of_establishment": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
}
},
"description": "Who places the goods on the EU market and answers for this statement (Annex II point 1). Not forwarded to the satellite service.",
"additionalProperties": false
},
"producer": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"cooperative",
"smallholder",
"plantation",
"concession",
"family_farm"
],
"type": "string"
},
"name": {
"type": "string"
}
},
"description": "The primary producer, where that is not the supplier.",
"additionalProperties": false
},
"supplier": {
"type": "object",
"required": [
"name",
"id"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"address": {
"type": "string"
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
}
},
"description": "Who the goods were bought from, as the operator's own records name them. Not forwarded to the satellite service.",
"additionalProperties": false
},
"geolocation": {
"type": "object",
"required": [
"country",
"harvest_window",
"plot_geojson"
],
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"plot_id": {
"type": "string",
"maxLength": 64,
"description": "The primary plot's own identifier (a field, cadastral or cooperative code)."
},
"plot_geojson": {
"type": "object",
"description": "GeoJSON Polygon, MultiPolygon or Point in WGS84."
},
"harvest_window": {
"type": "string",
"description": "ISO interval YYYY-MM-DD/YYYY-MM-DD, or free text."
},
"additional_plots": {
"type": "array",
"items": {
"type": "object",
"required": [
"plot_id",
"plot_geojson"
],
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Only when the plot lies in another country than the consignment's."
},
"plot_id": {
"type": "string",
"maxLength": 64
},
"quantity_kg": {
"type": "number",
"minimum": 0,
"description": "This plot's share; omitted, the rest of the consignment is split evenly."
},
"plot_geojson": {
"type": "object",
"description": "GeoJSON Polygon, MultiPolygon or Point in WGS84."
},
"harvest_window": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 500,
"description": "Every further plot of the consignment. Each is measured and filed on its own; the consignment is negligible only if every plot is."
},
"country_subregion": {
"type": "string"
}
},
"description": "Where it was produced and when it was harvested (Annex II point 3). The plot geometry, country, HS code and quantity are the only things sent to the satellite service.",
"additionalProperties": false
}
},
"additionalProperties": false
}