Validations history

Validation #1113

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-03-18T04:02:56",
  "cityCode": "CY_FR_89027",
  "cityName": "BAGNEAUX",
  "countryCode": "FR",
  "cropId": 1294,
  "cropLabel": "PRINCEN Mélange 1 ",
  "currentDayRisks": {
    "globalRiskLevel": 3,
    "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
    "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/6A3D329E4A7CCFA6AD275720F5660632.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 140,
  "fieldId": 1552,
  "fieldName": "Les 130",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 48.24191,
    "longitude": 3.64717
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 3,
      "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
      "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/6A3D329E4A7CCFA6AD275720F5660632.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 1,
          "organRiskLevelLabel": "Maladie en progression, symptômes non visibles, …"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 1,
              "organRiskLevelLabel": "Incubation"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-18T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 542,
  "previousCropLabel": "Colza",
  "soilTextureId": 10,
  "soilTextureLabel": "Argile calcaire",
  "sowingDate": "2020-10-08T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-24T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-06T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-14T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-28T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-05-01T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-23T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-29T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-08T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 90,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1112

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/' did not contain a required property of 'cropLabel' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-03-18T04:08:06",
  "cityCode": "CY_FR_18160",
  "cityName": "NERONDES",
  "countryCode": "FR",
  "cropId": 25177,
  "currentDayRisks": {
    "globalRiskLevel": 3,
    "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
    "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/CFA2F32A13CB3752C486BCA67F1E3C8D.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 1,
        "organRiskLevelLabel": "Maladie en progression, symptômes non visibles, …"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 1,
            "organRiskLevelLabel": "Incubation"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période dintervention",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 150,
  "fieldId": 1548,
  "fieldName": "Gnasseries",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.00575,
    "longitude": 2.86059
  },
  "missingObservations": 1,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 3,
      "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
      "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/CFA2F32A13CB3752C486BCA67F1E3C8D.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 1,
          "organRiskLevelLabel": "Maladie en progression, symptômes non visibles, …"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 1,
              "organRiskLevelLabel": "Incubation"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période dintervention",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-18T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 557,
  "previousCropLabel": "Autres légumineuses",
  "soilTextureId": 6,
  "soilTextureLabel": "Limon argileux",
  "sowingDate": "2020-10-19T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-19T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-04T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-12T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-26T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-04-29T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-18T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-25T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-05T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 5.5,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}

Validation #1111

Failure

The input JSON schema is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

JSON instance

[
  "09e68b32-e2a9-4c13-bd05-fb8fe10a0f9d",
  "cc645ac6-f2fc-4b3e-9768-51c373615394"
]

Validation #1110

Success

The input JSON schema validates the input JSON instance (JSON Schema Draft 4).

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCoordinates_2836": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Coordinates - DefaultCoordinates",
      "type": "object"
    },
    "DetailedOpeningHour_2831": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "day_of_the_week": {
          "maximum": 6,
          "minimum": 0,
          "type": "integer"
        },
        "hour_closing_time": {
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        },
        "hour_opening_time": {
          "maximum": 23,
          "minimum": 0,
          "type": "integer"
        },
        "minute_closing_time": {
          "maximum": 60,
          "minimum": 0,
          "type": "integer"
        },
        "minute_opening_time": {
          "maximum": 60,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "day_of_the_week",
        "hour_closing_time",
        "hour_opening_time",
        "minute_closing_time",
        "minute_opening_time"
      ],
      "title": "OpeningHour - DetailedOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "place": {
      "additionalProperties": false,
      "properties": {
        "about_us": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "address": {
          "type": "string"
        },
        "business_type": {
          "enum": [
            "shop",
            "restaurant",
            "producer"
          ],
          "type": "string"
        },
        "category": {
          "enum": [
            "grocery_store",
            "bakery",
            "wine_merchant",
            "green_grocer_shop",
            "pastry_shop",
            "cheese_shop",
            "fish_shop",
            "butcher_shop",
            "coffee_roasting_shop",
            "tea_shop",
            "flower_shop",
            "seed_shop",
            "producer",
            "artisan",
            "farmer_market",
            "market_place",
            "restaurant",
            "brewery",
            "dairy_shop",
            "candy_shop",
            "ice_cream_shop"
          ],
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "coordinates": {
          "$ref": "#/definitions/DefaultCoordinates_2836",
          "type": "object"
        },
        "country": {
          "type": "string"
        },
        "email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "facebook_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "following": {
          "type": "boolean"
        },
        "id": {
          "type": "string"
        },
        "image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "instagram_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "is_attached_to_professional": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "opening_hours": {
          "items": {
            "$ref": "#/definitions/DetailedOpeningHour_2831",
            "type": "object"
          },
          "type": "array"
        },
        "phone_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "products": {
          "items": {
            "enum": [
              "aromatic",
              "alcohols",
              "beers",
              "biscuits",
              "soft_drinks",
              "coffees",
              "jams",
              "charcuterie",
              "chocolates",
              "chips",
              "canned_fish",
              "creamery",
              "shellfish",
              "spices",
              "flour",
              "cheese",
              "fruits",
              "cakes",
              "ice_cream",
              "oils",
              "dairy",
              "vegetables",
              "legumes",
              "honey",
              "eggs",
              "olives",
              "bread",
              "pasta",
              "baking",
              "baby_food",
              "pisces",
              "sandwich",
              "herbal_teas",
              "catering",
              "meat",
              "pastries",
              "wine",
              "seeds",
              "flowers",
              "gluten_free",
              "vegan",
              "bulk",
              "delivery"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "website_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "about_us",
        "address",
        "business_type",
        "category",
        "city",
        "coordinates",
        "country",
        "email",
        "facebook_url",
        "following",
        "id",
        "image_url",
        "instagram_url",
        "is_attached_to_professional",
        "name",
        "opening_hours",
        "phone_number",
        "products",
        "user_id",
        "website_url",
        "zip_code"
      ],
      "type": "object"
    }
  },
  "required": [
    "place"
  ],
  "title": "Place - DetailedPlace",
  "type": "object"
}

JSON instance

{
  "place": {
    "about_us": "Très belle sélection de vins travaillés le plus naturellement possible, dans cette cave créée en 2005 par Michael, ainsi que quelques bières, cidres, spiritueux et même des glaces bios. Toujours un plaisir de se laisser guider joyeusement par lui et Vincent, son acolyte. ",
    "address": "7 rue Paul Bert ",
    "business_type": "shop",
    "category": "wine_merchant",
    "city": "Paris",
    "coordinates": {
      "latitude": 48.8515144,
      "longitude": 2.3844319
    },
    "country": "FR",
    "email": "crusetdecouvertes@gmail.com",
    "facebook_url": "https://www.facebook.com/pages/Crus-et-Découvertes/427382323975180",
    "following": true,
    "id": "4c8e8e5e-8bc7-4c69-a891-7c9f8521c81d",
    "image_url": null,
    "instagram_url": null,
    "is_attached_to_professional": false,
    "name": "Crus et Découvertes",
    "opening_hours": [
      {
        "day_of_the_week": 0,
        "hour_closing_time": 13,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 1,
        "hour_closing_time": 20,
        "hour_opening_time": 16,
        "minute_closing_time": 0,
        "minute_opening_time": 0
      },
      {
        "day_of_the_week": 2,
        "hour_closing_time": 13,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 2,
        "hour_closing_time": 20,
        "hour_opening_time": 16,
        "minute_closing_time": 0,
        "minute_opening_time": 0
      },
      {
        "day_of_the_week": 3,
        "hour_closing_time": 13,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 3,
        "hour_closing_time": 20,
        "hour_opening_time": 16,
        "minute_closing_time": 0,
        "minute_opening_time": 0
      },
      {
        "day_of_the_week": 4,
        "hour_closing_time": 13,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 4,
        "hour_closing_time": 20,
        "hour_opening_time": 16,
        "minute_closing_time": 0,
        "minute_opening_time": 0
      },
      {
        "day_of_the_week": 5,
        "hour_closing_time": 13,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 5,
        "hour_closing_time": 20,
        "hour_opening_time": 15,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      },
      {
        "day_of_the_week": 6,
        "hour_closing_time": 20,
        "hour_opening_time": 10,
        "minute_closing_time": 30,
        "minute_opening_time": 30
      }
    ],
    "phone_number": "00331 43 71 56 79 ",
    "products": [
      "wine",
      "soft_drinks",
      "beers",
      "ice_cream",
      "alcohols"
    ],
    "user_id": null,
    "website_url": "https://www.crusetdecouvertes.fr/",
    "zip_code": "75011"
  }
}

Validation #1078

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/' did not contain a required property of 'cropLabel' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-03-15T09:00:09",
  "cityCode": "CY_FR_51500",
  "cityName": "SAINT-MARD-SUR-LE-MONT",
  "countryCode": "FR",
  "cropId": 25275,
  "currentDayRisks": {
    "globalRiskLevel": 3,
    "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
    "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/63C4F084D57E5201ED6E760D7B9C1E77.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 156,
  "fieldId": 1295,
  "fieldName": "Bas du pays",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 48.92535,
    "longitude": 4.84312
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 3,
      "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
      "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/63C4F084D57E5201ED6E760D7B9C1E77.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-15T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 542,
  "previousCropLabel": "Colza",
  "soilTextureId": 10,
  "soilTextureLabel": "Argile calcaire",
  "sowingDate": "2020-10-20T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-30T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-11T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-19T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-05-04T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-05-06T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-24T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-30T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-11T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 2.69,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1077

Success

The input JSON schema validates the input JSON instance (JSON Schema Draft 4).

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 64008533,
  "antePreviousCropLabel": "voluptate",
  "calculationDate": "cupidatat tempor Duis dolore incididunt",
  "cityCode": "ut incididunt",
  "countryCode": "nostrud",
  "cropId": -79669367,
  "cropLabel": "labore nisi reprehenderit officia",
  "currentDayRisks": {
    "globalRiskLevelLabel": "Excepteur dolor ea",
    "targets": [
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": -10479584,
            "organLabel": "in exercitation laboris irure ullamco",
            "organRiskLevel": 36919347,
            "organRiskLevelLabel": "aliqua"
          }
        ],
        "plantAlertLevel": 63357684,
        "plantAlertLevelLabel": "dolor ad minim in quis",
        "targetId": 34952110,
        "targetLabel": "in"
      },
      {
        "isTargetInTest": true,
        "organs": [
          {
            "organId": 46445158,
            "organLabel": "irure laboris dolor deserunt",
            "organRiskLevel": -64272328,
            "organRiskLevelLabel": "mollit commodo nostrud Ut"
          },
          {
            "organId": 53252766,
            "organLabel": "officia dolore sint",
            "organRiskLevel": -15509642,
            "organRiskLevelLabel": "deserunt reprehenderit sunt labore"
          }
        ],
        "plantAlertLevel": 10708338,
        "plantAlertLevelLabel": "est",
        "targetId": 47027075,
        "targetLabel": "consectetur aliquip"
      },
      {
        "isTargetInTest": true,
        "organs": [
          {
            "organId": -85561563,
            "organLabel": "nostrud mollit veniam",
            "organRiskLevel": -94634601,
            "organRiskLevelLabel": "nulla commodo"
          },
          {
            "organId": -34723139,
            "organLabel": "in magna est",
            "organRiskLevel": -26612833,
            "organRiskLevelLabel": "in dolor consectetur velit ex"
          },
          {
            "organId": 59393770,
            "organLabel": "culpa",
            "organRiskLevel": 74611115,
            "organRiskLevelLabel": "eu ex ut in enim"
          },
          {
            "organId": -13511826,
            "organLabel": "quis",
            "organRiskLevel": 3284896,
            "organRiskLevelLabel": "sint"
          }
        ],
        "plantAlertLevel": -68131956,
        "plantAlertLevelLabel": "in aliquip",
        "targetId": 29426871,
        "targetLabel": "qui laboris do Ut velit"
      }
    ]
  },
  "farmId": 33705827,
  "fieldId": -69559872,
  "fieldName": "exercitation",
  "groupId": -70349958,
  "groupLabel": "in culpa",
  "localization": {
    "latitude": -26486282.6974746,
    "longitude": 33469718.031418517
  },
  "missingObservations": 6360891,
  "nextDaysRisks": [
    {
      "globalRiskLevelLabel": "laboris veniam in",
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -45625683,
              "organLabel": "Ut sunt",
              "organRiskLevel": -3043435,
              "organRiskLevelLabel": "nis"
            }
          ],
          "plantAlertLevel": 44456701,
          "plantAlertLevelLabel": "irure ad",
          "targetId": 72864882,
          "targetLabel": "dolore sint voluptate"
        }
      ]
    },
    {
      "globalRiskLevelLabel": "in velit proident veniam qui",
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -84850807,
              "organLabel": "voluptate Ut commodo consequat",
              "organRiskLevel": 38375302,
              "organRiskLevelLabel": "est labore sit"
            },
            {
              "organId": -74102352,
              "organLabel": "eu ut mollit Excepteur in",
              "organRiskLevel": -4340182,
              "organRiskLevelLabel": "ea cillum"
            },
            {
              "organId": -8179101,
              "organLabel": "culpa eiusmod amet in laborum",
              "organRiskLevel": 25031812,
              "organRiskLevelLabel": "minim anim dolore dolore"
            },
            {
              "organId": -6101271,
              "organLabel": "laboris minim ut",
              "organRiskLevel": 26858976,
              "organRiskLevelLabel": "deserunt reprehende"
            }
          ],
          "plantAlertLevel": -43878824,
          "plantAlertLevelLabel": "amet",
          "targetId": -54627312,
          "targetLabel": "magna nostrud adipisicing velit ad"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 83149226,
              "organLabel": "culpa aute ut et",
              "organRiskLevel": 37743294,
              "organRiskLevelLabel": "quis nostrud"
            },
            {
              "organId": -27123441,
              "organLabel": "in non magna amet",
              "organRiskLevel": 6413535,
              "organRiskLevelLabel": "irure proident incididunt id nulla"
            }
          ],
          "plantAlertLevel": 23447424,
          "plantAlertLevelLabel": "non amet Duis",
          "targetId": 99572339,
          "targetLabel": "non sint reprehenderit nostrud"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -91324146,
              "organLabel": "est anim incididunt quis",
              "organRiskLevel": 1795608,
              "organRiskLevelLabel": "mollit voluptate nostrud"
            },
            {
              "organId": -40240537,
              "organLabel": "exercitation aliqua esse",
              "organRiskLevel": 11308369,
              "organRiskLevelLabel": "exercitation consectetur irure mollit"
            },
            {
              "organId": -19328897,
              "organLabel": "laboris est",
              "organRiskLevel": 84459439,
              "organRiskLevelLabel": "occaecat id"
            },
            {
              "organId": 63256739,
              "organLabel": "ad ullamco",
              "organRiskLevel": 62005784,
              "organRiskLevelLabel": "qui"
            }
          ],
          "plantAlertLevel": 45669230,
          "plantAlertLevelLabel": "cillum tempor nulla ad",
          "targetId": 17347861,
          "targetLabel": "sed est laboris"
        }
      ]
    },
    {
      "globalRiskLevelLabel": "consequat sint amet eu ut",
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -7122628,
              "organLabel": "velit",
              "organRiskLevel": -72817665,
              "organRiskLevelLabel": "tempor voluptate occaecat nulla"
            },
            {
              "organId": -43134916,
              "organLabel": "qui consequat laborum",
              "organRiskLevel": 26626143,
              "organRiskLevelLabel": "nostrud ut voluptate "
            },
            {
              "organId": -56176143,
              "organLabel": "aliqua aute",
              "organRiskLevel": -97861471,
              "organRiskLevelLabel": "anim aliquip nostrud voluptate"
            }
          ],
          "plantAlertLevel": -32671163,
          "plantAlertLevelLabel": "sint non elit exercitation voluptate",
          "targetId": -530598,
          "targetLabel": "laboris es"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -10488815,
              "organLabel": "labore eu",
              "organRiskLevel": -56018965,
              "organRiskLevelLabel": "veniam"
            }
          ],
          "plantAlertLevel": 39793129,
          "plantAlertLevelLabel": "nis",
          "targetId": -84602869,
          "targetLabel": "sit consequat velit nisi laboris"
        }
      ]
    },
    {
      "globalRiskLevelLabel": "dolor in amet pariatur",
      "targets": [
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -51675583,
              "organLabel": "in Excepteur Duis ea irure",
              "organRiskLevel": 17153008,
              "organRiskLevelLabel": "dolor sint aliqua"
            },
            {
              "organId": -71571839,
              "organLabel": "aliqua magna",
              "organRiskLevel": -4162483,
              "organRiskLevelLabel": "esse"
            },
            {
              "organId": -79998840,
              "organLabel": "ad id laborum",
              "organRiskLevel": -89776000,
              "organRiskLevelLabel": "Excepteur culpa"
            },
            {
              "organId": -13262232,
              "organLabel": "cillum aliquip",
              "organRiskLevel": 85798211,
              "organRiskLevelLabel": "commodo est adipisicing"
            },
            {
              "organId": 95284523,
              "organLabel": "irure officia amet labore",
              "organRiskLevel": 81673859,
              "organRiskLevelLabel": "dolor qui"
            }
          ],
          "plantAlertLevel": -97992365,
          "plantAlertLevelLabel": "fug",
          "targetId": 35123766,
          "targetLabel": "mollit veniam sint laboris"
        },
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -97082497,
              "organLabel": "exercitation quis",
              "organRiskLevel": -31952688,
              "organRiskLevelLabel": "sed dolor mollit incididunt laboris"
            },
            {
              "organId": 79730662,
              "organLabel": "et veniam",
              "organRiskLevel": -76423091,
              "organRiskLevelLabel": ""
            },
            {
              "organId": -66424289,
              "organLabel": "ve",
              "organRiskLevel": -70199379,
              "organRiskLevelLabel": "esse"
            },
            {
              "organId": 72932827,
              "organLabel": "est quis cillum",
              "organRiskLevel": 41417795,
              "organRiskLevelLabel": "amet"
            },
            {
              "organId": 57253891,
              "organLabel": "minim sunt pariatur",
              "organRiskLevel": -78062144,
              "organRiskLevelLabel": "sunt dolore aliqua"
            }
          ],
          "plantAlertLevel": -92716878,
          "plantAlertLevelLabel": "cillum",
          "targetId": 78288611,
          "targetLabel": "labore occaec"
        }
      ]
    },
    {
      "globalRiskLevelLabel": "reprehenderit",
      "targets": [
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 89582018,
              "organLabel": "sunt",
              "organRiskLevel": 14700922,
              "organRiskLevelLabel": "incididunt officia fugiat velit"
            },
            {
              "organId": -31684482,
              "organLabel": "id ad in",
              "organRiskLevel": 38082305,
              "organRiskLevelLabel": "deserunt commodo nisi"
            },
            {
              "organId": 6370054,
              "organLabel": "consequat commodo sunt enim Ut",
              "organRiskLevel": 59183735,
              "organRiskLevelLabel": "dolore"
            }
          ],
          "plantAlertLevel": -33763883,
          "plantAlertLevelLabel": "amet",
          "targetId": -44973282,
          "targetLabel": "amet cillum proident Excepteur"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 98026400,
              "organLabel": "enim dolore voluptate magna",
              "organRiskLevel": 11487642,
              "organRiskLevelLabel": "velit Ut anim"
            },
            {
              "organId": 95360676,
              "organLabel": "aute reprehenderit ut",
              "organRiskLevel": 92392794,
              "organRiskLevelLabel": "ex"
            }
          ],
          "plantAlertLevel": -85097142,
          "plantAlertLevelLabel": "occaecat",
          "targetId": 72767881,
          "targetLabel": "cupidatat tempor anim Duis sint"
        },
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -76788180,
              "organLabel": "amet",
              "organRiskLevel": -37363309,
              "organRiskLevelLabel": "et"
            },
            {
              "organId": 1291371,
              "organLabel": "occaecat laborum in adipisicing Lorem",
              "organRiskLevel": -17378075,
              "organRiskLevelLabel": "nulla Excepteur"
            }
          ],
          "plantAlertLevel": 21254825,
          "plantAlertLevelLabel": "amet officia ullamco in",
          "targetId": 94085030,
          "targetLabel": "non consequat voluptate ad enim"
        }
      ]
    }
  ],
  "ploughed": "consequat sed",
  "predictionDate": "enim",
  "predictionModelLabel": "Duis sed elit",
  "previousCropId": 19155537,
  "previousCropLabel": "non sit anim Excepteur",
  "soilTextureId": -76126264,
  "soilTextureLabel": "minim occaecat voluptate sint elit",
  "sowingDate": "s",
  "stages": [
    {
      "observationId": -10912170,
      "position": -30533281,
      "stageDate": "quis irure tempor ea aute",
      "stageDescription": "sit culpa dolor consequat",
      "stageId": -30070357,
      "stageLabel": "ex adipisicing ipsum",
      "stagePictureURL": "mollit voluptate velit",
      "stageType": -83292034
    },
    {
      "observationId": 58583647,
      "position": -58753670,
      "stageDate": "labore enim proid",
      "stageDescription": "et",
      "stageId": 95380200,
      "stageLabel": "sed",
      "stagePictureURL": "aliquip",
      "stageType": 13117260
    }
  ],
  "surface": -54406013.3011782,
  "workOperations": [
    {
      "operationDate": "in irur",
      "operationId": 39523693,
      "operationsProducts": [
        {
          "productId": -82916925,
          "productLabel": "deserunt",
          "quantity": 9795260.320732161,
          "unitCode": "amet ",
          "unitId": 50263308
        },
        {
          "productId": 56690762,
          "productLabel": "ipsum Ut reprehenderit pariatur",
          "quantity": 51232869.08355689,
          "unitCode": "aliquip",
          "unitId": 10117916
        },
        {
          "productId": -48584982,
          "productLabel": "fugiat et Excepteur",
          "quantity": -47120789.193199776,
          "unitCode": "nisi tempor Lorem dolore proident",
          "unitId": 46688649
        },
        {
          "productId": 72406991,
          "productLabel": "tempor nisi",
          "quantity": -94438803.64182307,
          "unitCode": "sed nisi",
          "unitId": 14847237
        },
        {
          "productId": 49437285,
          "productLabel": "minim ut amet",
          "quantity": -85599072.75333348,
          "unitCode": "veniam",
          "unitId": 68200519
        }
      ],
      "workOperationLabel": "adipisicing dolor do reprehenderit magna",
      "workOperationType": -23381904
    },
    {
      "operationDate": "ullamco",
      "operationId": 24592955,
      "operationsProducts": [
        {
          "productId": -12667843,
          "productLabel": "consequat aliquip Lorem incididunt anim",
          "quantity": -57805395.76289812,
          "unitCode": "qui Duis laborum ut",
          "unitId": -33199896
        },
        {
          "productId": -5397786,
          "productLabel": "est ea",
          "quantity": 4320178.509246647,
          "unitCode": "commodo ull",
          "unitId": 88519619
        },
        {
          "productId": -5475472,
          "productLabel": "exercitation esse",
          "quantity": 88215961.1689283,
          "unitCode": "irure fugiat aliquip magna id",
          "unitId": -68457351
        },
        {
          "productId": 66962630,
          "productLabel": "aliquip Excepteur deserunt non adipisicing",
          "quantity": -86534890.78996332,
          "unitCode": "in irure sunt consectetur esse",
          "unitId": -4965456
        }
      ],
      "workOperationLabel": "quis",
      "workOperationType": 15812004
    }
  ],
  "yieldPotential": "esse non consectetur"
}

Validation #1076

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-02-25T10:26:06",
  "cityCode": "CY_FR_18160",
  "cityName": "NERONDES",
  "countryCode": "FR",
  "cropId": 385,
  "cropLabel": "PROVIDENCE",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/BAD296AA2784F145B0E4677A90412AA9.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention  ",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 46,
  "fieldId": 419,
  "fieldName": "Gnasseries 1",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.00326,
    "longitude": 2.86692
  },
  "missingObservations": 1,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/BAD296AA2784F145B0E4677A90412AA9.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention  ",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-12T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 555,
  "previousCropLabel": "Tournesol",
  "soilTextureId": 6,
  "soilTextureLabel": "Limon argileux",
  "sowingDate": "2020-10-19T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-16T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-03T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-14T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-21T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-04-26T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-15T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-23T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-01T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 11,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}

Validation #1075

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-02-25T10:26:06",
  "cityCode": "CY_FR_18160",
  "cityName": "NERONDES",
  "countryCode": "FR",
  "cropId": 385,
  "cropLabel": "PROVIDENCE",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/BAD296AA2784F145B0E4677A90412AA9.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention  ",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 46,
  "fieldId": 419,
  "fieldName": "Gnasseries 1",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.00326,
    "longitude": 2.86692
  },
  "missingObservations": 1,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/BAD296AA2784F145B0E4677A90412AA9.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention  ",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-12T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 555,
  "previousCropLabel": "Tournesol",
  "soilTextureId": 6,
  "soilTextureLabel": "Limon argileux",
  "sowingDate": "2020-10-19T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-16T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-03T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-14T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-21T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-04-26T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-15T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-23T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-01T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 11,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}

Validation #1074

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/' did not contain a required property of 'cropLabel' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-02-25T10:24:08",
  "cityCode": "CY_FR_18160",
  "cityName": "NERONDES",
  "countryCode": "FR",
  "cropId": 25177,
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/7DEDCB2174A73D1BAD21CE7C8BF54264.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 0,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention  ",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 46,
  "fieldId": 418,
  "fieldName": "Gnasseries",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.00575,
    "longitude": 2.86059
  },
  "missingObservations": 1,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/7DEDCB2174A73D1BAD21CE7C8BF54264.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Pas de risque",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 0,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention  ",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Non labour",
  "predictionDate": "2021-03-12T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 557,
  "previousCropLabel": "Autres légumineuses",
  "soilTextureId": 6,
  "soilTextureLabel": "Limon argileux",
  "sowingDate": "2020-10-19T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-15T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 1,
      "stageDate": "2021-04-02T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-04-13T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-21T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-04-25T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-05-15T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-23T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-07-01T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 5.5,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}

Validation #1073

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/stages/0' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/1' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/2' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/3' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/4' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/5' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/6' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#
  • The property '#/stages/7' did not contain a required property of 'observationId' in schema 436f1e7d-052f-5f56-aa0c-eb275417cd2f#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultFungicideDayRisks_2225": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "globalRiskLevel": {
          "type": "integer"
        },
        "globalRiskLevelLabel": {
          "type": "string"
        },
        "globalRiskPictureURL": {
          "type": "string"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "$ref": "#/definitions/FungicideDetailTarget_2224",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "globalRiskLevelLabel",
        "targets"
      ],
      "title": "FungicideDayRisks - DefaultFungicideDayRisks",
      "type": "object"
    },
    "DefaultFungicideOrgan_2222": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "organId": {
          "type": "integer"
        },
        "organLabel": {
          "type": "string"
        },
        "organRiskLevel": {
          "type": "integer"
        },
        "organRiskLevelLabel": {
          "type": "string"
        }
      },
      "required": [
        "organId",
        "organLabel",
        "organRiskLevel",
        "organRiskLevelLabel"
      ],
      "title": "FungicideOrgan - DefaultFungicideOrgan",
      "type": "object"
    },
    "DefaultFungicideStage_2221": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "observationId": {
          "description": "Obligatoire si stageType == 1",
          "type": "integer"
        },
        "position": {
          "type": "integer"
        },
        "stageDate": {
          "type": "string"
        },
        "stageDescription": {
          "type": "string"
        },
        "stageId": {
          "type": "integer"
        },
        "stageLabel": {
          "type": "string"
        },
        "stagePictureURL": {
          "type": "string"
        },
        "stageType": {
          "type": "integer"
        }
      },
      "required": [
        "observationId",
        "position",
        "stageDate",
        "stageDescription",
        "stageId",
        "stageLabel",
        "stagePictureURL",
        "stageType"
      ],
      "title": "FungicideStage - DefaultFungicideStage",
      "type": "object"
    },
    "DefaultFungicideWorkOperation_2227": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "operationDate": {
          "type": "string"
        },
        "operationId": {
          "type": "integer"
        },
        "operationsProducts": {
          "items": {
            "$ref": "#/definitions/FungicideOperationProduct_2226",
            "type": "object"
          },
          "type": "array"
        },
        "workOperationLabel": {
          "type": "string"
        },
        "workOperationType": {
          "type": "integer"
        }
      },
      "required": [
        "operationDate",
        "operationId",
        "operationsProducts",
        "workOperationLabel",
        "workOperationType"
      ],
      "title": "FungicideWorkOperation - DefaultFungicideWorkOperation",
      "type": "object"
    },
    "DefaultLocalization_2210": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Localization - DefaultLocalization",
      "type": "object"
    },
    "FungicideDetailTarget_2224": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "organs": {
          "items": {
            "$ref": "#/definitions/DefaultFungicideOrgan_2222",
            "type": "object"
          },
          "type": "array"
        },
        "plantAlertLevel": {
          "type": "integer"
        },
        "plantAlertLevelLabel": {
          "type": "string"
        },
        "targetDescription": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "isTargetInTest",
        "organs",
        "plantAlertLevel",
        "plantAlertLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideDetailTarget",
      "type": "object"
    },
    "FungicideOperationProduct_2226": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "unitCode": {
          "type": "string"
        },
        "unitId": {
          "type": "integer"
        }
      },
      "required": [
        "productId",
        "productLabel",
        "quantity",
        "unitCode",
        "unitId"
      ],
      "title": "FungicideProduct - FungicideOperationProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "antePreviousCropId": {
      "type": "integer"
    },
    "antePreviousCropLabel": {
      "type": "string"
    },
    "calculationDate": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cityCode": {
      "type": "string"
    },
    "cityName": {
      "type": "string"
    },
    "countryCode": {
      "description": "Non utilisé",
      "type": "string"
    },
    "cropId": {
      "type": "integer"
    },
    "cropLabel": {
      "type": "string"
    },
    "currentDayRisks": {
      "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
      "type": "object"
    },
    "farmId": {
      "description": "Non utilisé",
      "type": "integer"
    },
    "fieldId": {
      "type": "integer"
    },
    "fieldName": {
      "type": "string"
    },
    "groupId": {
      "type": "integer"
    },
    "groupLabel": {
      "type": "string"
    },
    "localization": {
      "$ref": "#/definitions/DefaultLocalization_2210",
      "type": "object"
    },
    "missingObservations": {
      "type": "integer"
    },
    "nextDaysRisks": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideDayRisks_2225",
        "type": "object"
      },
      "type": "array"
    },
    "ploughed": {
      "type": "string"
    },
    "predictionDate": {
      "type": "string"
    },
    "predictionModelLabel": {
      "description": "Non utilisé",
      "type": "string"
    },
    "previousCropId": {
      "type": "integer"
    },
    "previousCropLabel": {
      "type": "string"
    },
    "soilTextureId": {
      "type": "integer"
    },
    "soilTextureLabel": {
      "type": "string"
    },
    "sowingDate": {
      "type": "string"
    },
    "stages": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideStage_2221",
        "type": "object"
      },
      "type": "array"
    },
    "surface": {
      "type": "number"
    },
    "workOperations": {
      "items": {
        "$ref": "#/definitions/DefaultFungicideWorkOperation_2227",
        "type": "object"
      },
      "type": "array"
    },
    "yieldPotential": {
      "type": "string"
    }
  },
  "required": [
    "antePreviousCropId",
    "antePreviousCropLabel",
    "calculationDate",
    "cityCode",
    "countryCode",
    "cropId",
    "cropLabel",
    "currentDayRisks",
    "farmId",
    "fieldId",
    "fieldName",
    "groupId",
    "groupLabel",
    "localization",
    "missingObservations",
    "nextDaysRisks",
    "ploughed",
    "predictionDate",
    "predictionModelLabel",
    "previousCropId",
    "previousCropLabel",
    "soilTextureId",
    "soilTextureLabel",
    "sowingDate",
    "stages",
    "surface",
    "workOperations",
    "yieldPotential"
  ],
  "title": "FungicideParcel - DefaultFungicideFieldDetail",
  "type": "object"
}

JSON instance

{
  "antePreviousCropId": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-03-11T11:32:48",
  "cityCode": "CY_FR_37032",
  "cityName": "BOURNAN",
  "countryCode": "FR",
  "cropId": 169,
  "cropLabel": "FILON",
  "currentDayRisks": {
    "globalRiskLevel": 3,
    "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
    "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/220F93301109896455B377F62E41D779.png",
    "organs": [
      {
        "organId": 2,
        "organLabel": "F1",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 3,
        "organLabel": "F2",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 4,
        "organLabel": "F3",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 5,
        "organLabel": "F4",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      },
      {
        "organId": 6,
        "organLabel": "F5",
        "organRiskLevel": 0,
        "organRiskLevelLabel": "Pas de risque"
      }
    ],
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": 2,
            "organLabel": "F1",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 3,
            "organLabel": "F2",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 4,
            "organLabel": "F3",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 5,
            "organLabel": "F4",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          },
          {
            "organId": 6,
            "organLabel": "F5",
            "organRiskLevel": 0,
            "organRiskLevelLabel": "Sain"
          }
        ],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "Période pertinente non atteinte",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "organs": [],
        "plantAlertLevel": 3,
        "plantAlertLevelLabel": "Pas de risque",
        "targetDescription": "En dehors de la période d'intervention ",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  "farmId": 174,
  "fieldId": 1534,
  "fieldName": "Le Château d'eau",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.01351,
    "longitude": 0.18223
  },
  "missingObservations": 1,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 3,
      "globalRiskLevelLabel": "En dehors des stades de traitement pour la maladie concernée",
      "globalRiskPictureURL": "https://static-cf.farmi.com/plantsimages/220F93301109896455B377F62E41D779.png",
      "organs": [
        {
          "organId": 2,
          "organLabel": "F1",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 3,
          "organLabel": "F2",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 4,
          "organLabel": "F3",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 5,
          "organLabel": "F4",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        },
        {
          "organId": 6,
          "organLabel": "F5",
          "organRiskLevel": 0,
          "organRiskLevelLabel": "Pas de risque"
        }
      ],
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 1,
          "targetLabel": "Piétin-verse"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 2,
          "targetLabel": "Septoriose"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 3,
          "targetLabel": "Rouille brune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 4,
          "targetLabel": "Rouille jaune"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": 2,
              "organLabel": "F1",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 3,
              "organLabel": "F2",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 4,
              "organLabel": "F3",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 5,
              "organLabel": "F4",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            },
            {
              "organId": 6,
              "organLabel": "F5",
              "organRiskLevel": 0,
              "organRiskLevelLabel": "Sain"
            }
          ],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "Période pertinente non atteinte",
          "targetId": 6,
          "targetLabel": "Oïdium"
        },
        {
          "isTargetInTest": true,
          "organs": [],
          "plantAlertLevel": 3,
          "plantAlertLevelLabel": "Pas de risque",
          "targetDescription": "En dehors de la période d'intervention ",
          "targetId": 7,
          "targetLabel": "Fusariose"
        }
      ]
    }
  ],
  "ploughed": "Labour",
  "predictionDate": "2021-03-11T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 555,
  "previousCropLabel": "Tournesol",
  "soilTextureId": 10,
  "soilTextureLabel": "Argile calcaire",
  "sowingDate": "2020-11-05T00:00:00",
  "stages": [
    {
      "position": 0,
      "stageDate": "2021-03-12T00:00:00",
      "stageDescription": "Les plantes se redressent : c'est la fin du tallage herbacé et la tige principale commence à s'allonger. La distance entre le sommet de l'épi et le plateau de tallage est en moyenne d'1cm.\n  Pour l'observer :\n   - Isoler le maitre-brin de chaque plante arrachée et éliminer les talles.\n  - Couper les racines à la base de la tige.\n  - Fendre la base de la tige avec une lame de couteau dans le sens de la longueur\n  - Mesurer la distance entre le sommet de l'épi et la base du plateau de tallage",
      "stageId": 2285,
      "stageLabel": "Épi 1 cm, début montaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH30_EPI1CM.jpg",
      "stageType": 0
    },
    {
      "position": 2,
      "stageDate": "2021-03-26T00:00:00",
      "stageDescription": "Il faut l'observer 10 à 15 jours après le stade épi 1cm. Le premier nœud est situé le plus près de la base de la tige.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 3 à 5 cm.",
      "stageId": 2286,
      "stageLabel": "1er nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH31_1NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 3,
      "stageDate": "2021-04-04T00:00:00",
      "stageDescription": "Les deux premiers nœuds sont bien visibles à la base de la tige quand on atteint 2 nœuds.\n  La hauteur entre le sommet de l'épi et le plateau de tallage varie entre 6 à 12 cm.",
      "stageId": 2287,
      "stageLabel": "2ème nœud formé",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH32_2NOEUD.jpg",
      "stageType": 0
    },
    {
      "position": 4,
      "stageDate": "2021-04-19T00:00:00",
      "stageDescription": "La dernière feuille est visible mais encore enroulée.  ",
      "stageId": 2292,
      "stageLabel": "Dernière feuille pointante",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH37_DERNIERE_FEUILLE_POINTANTE.jpg",
      "stageType": 0
    },
    {
      "position": 5,
      "stageDate": "2021-04-21T00:00:00",
      "stageDescription": "La ligule de la dernière feuille est entièrement développée. La gaine est gonflée au niveau de l'épi",
      "stageId": 2293,
      "stageLabel": "Dernière feuille étalée",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH39_DERNIERE_FEUILLE_ETALEE.png",
      "stageType": 0
    },
    {
      "position": 6,
      "stageDate": "2021-05-11T00:00:00",
      "stageDescription": "L'épiaison est le stade phénologique qui correspond à l'apparition de l'épi hors de la gaine de la dernière feuille.\n  Le stade mi-épaison correspond à 50 % de l'inflorescence sortie et la gaine est éclatée.",
      "stageId": 2303,
      "stageLabel": "Mi épiaison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH55_MI_EPIAISON.png",
      "stageType": 0
    },
    {
      "position": 7,
      "stageDate": "2021-05-19T00:00:00",
      "stageDescription": "La floraison se caractérise par l'apparition des étamines hors des épillets.\n C'est la fin de la montaison, la croissance des tiges est terminée.\n L'appréciaiton précise du stade est délicate en raison de la présence des étamines sur les épi longtemps après la floraision.",
      "stageId": 2329,
      "stageLabel": "Floraison",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH60_FLORAISON.png",
      "stageType": 0
    },
    {
      "position": 8,
      "stageDate": "2021-06-30T00:00:00",
      "stageDescription": "",
      "stageId": 2324,
      "stageLabel": "Maturité complète",
      "stagePictureURL": "https://static-cf.farmi.com/cmsoufflet/BLE_BBCH89_MATURITECOMPLETE.png",
      "stageType": 0
    }
  ],
  "surface": 5.69,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}