{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/agrio/refs/heads/main/json-schema/agrio-diagnosis-result-schema.json", "title": "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": "number", "format": "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" ] }