agrio · JSON Structure

Agrio Diagnosis Result Structure

A single disease or pest identification result.

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

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

Properties

id confidence commonName scientificName

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-diagnosis-result-structure.json",
  "name": "Diagnosis Result",
  "description": "A single disease or pest identification result.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the disease or pest.",
      "example": "early_blight"
    },
    "confidence": {
      "type": "double",
      "description": "Confidence score for this diagnosis (0.0 to 1.0).",
      "example": 0.87
    },
    "commonName": {
      "type": "string",
      "description": "Common name of the disease or pest.",
      "example": "Early Blight"
    },
    "scientificName": {
      "type": "string",
      "description": "Scientific name of the disease or pest.",
      "example": "Alternaria solani"
    }
  },
  "required": [
    "id",
    "confidence",
    "commonName",
    "scientificName"
  ]
}