changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "commodity": {
+ "description": "Commodity name provided in the request",
+ "type": "string"
+ },
+ "commodity_code": {
+ "description": "PSD commodity code used for the query",
+ "type": "string"
+ },
+ "count": {
+ "description": "Number of production records returned",
+ "type": "integer"
+ },
+ "data": {
+ "description": "Production/supply/distribution records (up to 100)",
+ "items": {
+ "properties": {
+ "attribute": {
+ "description": "Attribute (e.g., production, consumption, inventory)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "description": "Country name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country_code": {
+ "description": "Country code",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "market_year": {
+ "description": "Market year",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "unit": {
+ "description": "Unit of measurement",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Attribute value",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "truncated": {
+ "description": "Whether more than 100 records exist",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "Data type",
+ "enum": [
+ "production_supply_distribution"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "commodity",
+ "commodity_code",
+ "type",
+ "count",
+ "data",
+ "truncated"
+ ],
+ "type": "object"
+}