eudr.dev · Schema

DDSGenerateBody

Either this shape, or a sample scenario as published at /samples/scenarios/*.json (with `production` for `geolocation` and `product.quantity_kg` for `net_mass_kg`), bare or wrapped as {"scenario": ...}. A missing field is named in the 400.

EU DeforestationComplianceAgricultureArtificial IntelligenceEnvironmental

Properties

Name Type Description
operator object
supplier object
product object
geolocation object
producer object
View JSON Schema on GitHub

JSON Schema

eudr-dev-ddsgenerate-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eudr-dev/json-schema/eudr-dev-ddsgenerate-body-schema.json",
  "title": "DDSGenerateBody",
  "description": "Either this shape, or a sample scenario as published at /samples/scenarios/*.json (with `production` for `geolocation` and `product.quantity_kg` for `net_mass_kg`), bare or wrapped as {\"scenario\": ...}. A missing field is named in the 400.",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eudr-dev-openapi.json#/components/schemas/DDSGenerateBody",
  "type": "object",
  "required": [
    "operator",
    "supplier",
    "product",
    "geolocation"
  ],
  "properties": {
    "operator": {
      "type": "object",
      "required": [
        "name",
        "country_of_establishment"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "country_of_establishment": {
          "type": "string",
          "description": "ISO-3166-1 alpha-2"
        },
        "address": {
          "type": "string"
        },
        "eori": {
          "type": "string"
        },
        "role": {
          "type": "string",
          "enum": [
            "operator",
            "trader"
          ]
        }
      }
    },
    "supplier": {
      "type": "object",
      "required": [
        "name",
        "id"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "product": {
      "type": "object",
      "required": [
        "hs_code",
        "description",
        "net_mass_kg"
      ],
      "properties": {
        "hs_code": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "net_mass_kg": {
          "type": "number"
        },
        "trade_name": {
          "type": "string"
        },
        "scientific_name": {
          "type": "string"
        }
      }
    },
    "geolocation": {
      "type": "object",
      "required": [
        "country",
        "harvest_window",
        "plot_geojson"
      ],
      "properties": {
        "country": {
          "type": "string",
          "description": "ISO-3166-1 alpha-2 country of production"
        },
        "harvest_window": {
          "type": "string"
        },
        "plot_geojson": {
          "$ref": "#/$defs/GeoJSONGeometry"
        },
        "plot_id": {
          "type": "string",
          "description": "The plot's own id (a field, cadastral or cooperative code); it is filed under it. Never a person's name: it is carried into a signed, public, append-only fact at the evidence provider."
        },
        "plot_area_ha": {
          "type": "number",
          "description": "For a Point plot: its area in hectares. Art. 2(28) allows a Point only for a plot of 4 ha or less; over 4 ha is refused."
        },
        "additional_plots": {
          "type": "array",
          "description": "Every further plot of the consignment.",
          "items": {
            "type": "object",
            "required": [
              "plot_id",
              "plot_geojson"
            ],
            "properties": {
              "plot_id": {
                "type": "string"
              },
              "plot_geojson": {
                "$ref": "#/$defs/GeoJSONGeometry"
              },
              "country": {
                "type": "string",
                "description": "When the plot is in another country than the consignment's."
              },
              "harvest_window": {
                "type": "string"
              },
              "quantity_kg": {
                "type": "number",
                "description": "This plot's share; undeclared shares split the rest evenly."
              },
              "area_ha": {
                "type": "number",
                "description": "For a Point plot: its area in hectares (4 ha or less)."
              }
            }
          }
        },
        "country_subregion": {
          "type": "string"
        }
      }
    },
    "producer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    }
  },
  "$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-ddsgenerate-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.