eudr.dev · Schema

SpatialVerifyBody

Supply either `polygon` (one plot) or `plots` (up to eight). Supplying neither is a 400 naming the omission.

EU DeforestationComplianceAgricultureArtificial IntelligenceEnvironmental

Properties

Name Type Description
polygon object
plots array Several plots in one request, each keeping its own verdict row. Art. 4(1) taints the whole consignment if any single plot fails, so they belong in one call.
commodity string
country string ISO-3166-1 alpha-2.
quantity_kg numbernull
hs_code stringnull
evidence_detail string `cids` embeds every per-cell fact CID; `anchor` returns only the address and count, resolvable at /v1/evidence/{evidence_cid}. The verdict is identical either way. On a real plot the array is the larg
View JSON Schema on GitHub

JSON Schema

eudr-dev-spatial-verify-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eudr-dev/json-schema/eudr-dev-spatial-verify-body-schema.json",
  "title": "SpatialVerifyBody",
  "description": "Supply either `polygon` (one plot) or `plots` (up to eight). Supplying neither is a 400 naming the omission.",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eudr-dev-openapi.json#/components/schemas/SpatialVerifyBody",
  "type": "object",
  "required": [
    "commodity",
    "country"
  ],
  "properties": {
    "polygon": {
      "$ref": "#/$defs/GeoJSONGeometry"
    },
    "plots": {
      "type": "array",
      "minItems": 1,
      "maxItems": 25,
      "description": "Several plots in one request, each keeping its own verdict row. Art. 4(1) taints the whole consignment if any single plot fails, so they belong in one call.",
      "items": {
        "type": "object",
        "required": [
          "geojson"
        ],
        "properties": {
          "plot_id": {
            "type": "string",
            "maxLength": 64,
            "description": "Echoed on the matching verdict row. [A-Za-z0-9-_.:] Keep it opaque — a farm or cadastral code, never a person's name. This one field is carried into a signed, public, append-only fact at the evidence provider, which cannot erase it without breaking the receipts that cite it."
          },
          "geojson": {
            "$ref": "#/$defs/GeoJSONGeometry"
          }
        }
      }
    },
    "commodity": {
      "type": "string",
      "enum": [
        "cattle",
        "cocoa",
        "coffee",
        "oil_palm",
        "rubber",
        "soya",
        "wood"
      ]
    },
    "country": {
      "type": "string",
      "description": "ISO-3166-1 alpha-2.",
      "minLength": 2,
      "maxLength": 2
    },
    "quantity_kg": {
      "type": [
        "number",
        "null"
      ]
    },
    "hs_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence_detail": {
      "type": "string",
      "enum": [
        "cids",
        "anchor"
      ],
      "default": "cids",
      "description": "`cids` embeds every per-cell fact CID; `anchor` returns only the address and count, resolvable at /v1/evidence/{evidence_cid}. The verdict is identical either way. On a real plot the array is the large majority of the body."
    }
  },
  "$defs": {
    "GeoJSONGeometry": {
      "type": "object",
      "description": "GeoJSON Geometry — Polygon, MultiPolygon, or Point. WGS84 (EPSG:4326). Coordinates ordered [lng, lat].",
      "required": [
        "type",
        "coordinates"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Polygon",
            "MultiPolygon",
            "Point"
          ]
        },
        "coordinates": {}
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/eudr-dev-spatial-verify-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.