agrio · JSON Structure

Agrio Diagnose Request Structure

Image and crop context for plant disease diagnosis.

Type: object Properties: 2 Required: 2
AgriculturePlant DiseasePest DetectionAICrop Advisory

Diagnose Request is a JSON Structure definition published by agrio, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

crop_id image

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/agrio/refs/heads/main/json-structure/agrio-diagnose-request-structure.json",
  "name": "Diagnose Request",
  "description": "Image and crop context for plant disease diagnosis.",
  "type": "object",
  "properties": {
    "crop_id": {
      "type": "string",
      "description": "Crop identifier from the supported crops list.",
      "example": "tomato"
    },
    "image": {
      "type": "string",
      "description": "Plant image file for diagnosis (JPEG or PNG)."
    }
  },
  "required": [
    "crop_id",
    "image"
  ]
}