Validations history

Validation #1042

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": 559,
  "antePreviousCropLabel": "Pailles",
  "calculationDate": "2021-02-24T15:53:23",
  "cityCode": "CY_FR_21432",
  "cityName": "MONTIGNY-SUR-AUBE",
  "countryCode": "FR",
  "cropId": 107,
  "cropLabel": "CHEVIGNON",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": 22,
  "fieldId": 426,
  "fieldName": "Fontenies",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.9598,
    "longitude": 4.8164
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": "Labour",
  "predictionDate": "2021-02-25T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 541,
  "previousCropLabel": "Blé",
  "soilTextureId": 5,
  "soilTextureLabel": "Argile limoneuse",
  "sowingDate": "2020-10-17T00:00:00",
  "stages": [
    {
      "observationId": 23,
      "position": 1,
      "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
    },
    {
      "observationId": 23,
      "position": 2,
      "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
    },
    {
      "observationId": 23,
      "position": 3,
      "stageDate": "2021-04-17T00: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
    },
    {
      "observationId": 23,
      "position": 4,
      "stageDate": "2021-04-24T00: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
    },
    {
      "observationId": 23,
      "position": 5,
      "stageDate": "2021-04-30T00: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
    },
    {
      "observationId": 23,
      "position": 6,
      "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
    },
    {
      "observationId": 23,
      "position": 7,
      "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
    },
    {
      "observationId": 23,
      "position": 8,
      "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": 60.43,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1041

Failure

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

  • 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-24T15:53:23",
  "cityCode": "CY_FR_21432",
  "cityName": "MONTIGNY-SUR-AUBE",
  "countryCode": "FR",
  "cropId": 107,
  "cropLabel": "CHEVIGNON",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": 22,
  "fieldId": 426,
  "fieldName": "Fontenies",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.9598,
    "longitude": 4.8164
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": "Labour",
  "predictionDate": "2021-02-25T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 541,
  "previousCropLabel": "Blé",
  "soilTextureId": 5,
  "soilTextureLabel": "Argile limoneuse",
  "sowingDate": "2020-10-17T00:00:00",
  "stages": [
    {
      "observationId": 23,
      "position": 1,
      "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
    },
    {
      "observationId": 23,
      "position": 2,
      "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
    },
    {
      "observationId": 23,
      "position": 3,
      "stageDate": "2021-04-17T00: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
    },
    {
      "observationId": 23,
      "position": 4,
      "stageDate": "2021-04-24T00: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
    },
    {
      "observationId": 23,
      "position": 5,
      "stageDate": "2021-04-30T00: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
    },
    {
      "observationId": 23,
      "position": 6,
      "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
    },
    {
      "observationId": 23,
      "position": 7,
      "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": 8,
      "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": 60.43,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1040

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-24T15:52:34",
  "cityCode": "CY_FR_18160",
  "cityName": "NERONDES",
  "countryCode": "FR",
  "cropId": 117,
  "cropLabel": "COMPLICE",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": 420,
  "fieldName": "Roussillon",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.00273,
    "longitude": 2.86011
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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-02-25T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 555,
  "previousCropLabel": "Tournesol",
  "soilTextureId": 6,
  "soilTextureLabel": "Limon argileux",
  "sowingDate": "2020-10-21T00:00:00",
  "stages": [
    {
      "position": 1,
      "stageDate": "2021-03-20T00: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-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": 3,
      "stageDate": "2021-04-17T00: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-24T00: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-28T00: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-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": 7,
      "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": 8,
      "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": 12.5,
  "workOperations": [],
  "yieldPotential": "de 70 à 80 q/ha"
}

Validation #1039

Success

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

JSON Schema

{
  "definitions": {
    "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"
    },
    "FungicideParcelSumUpTarget_2223": {
      "additionalProperties": false,
      "properties": {
        "isTargetInTest": {
          "type": "boolean"
        },
        "numberOfDays": {
          "type": "integer"
        },
        "riskLevelId": {
          "type": "integer"
        },
        "riskLevelLabel": {
          "type": "string"
        },
        "targetId": {
          "type": "integer"
        },
        "targetLabel": {
          "type": "string"
        }
      },
      "required": [
        "numberOfDays",
        "riskLevelId",
        "riskLevelLabel",
        "targetId",
        "targetLabel"
      ],
      "title": "FungicideTarget - FungicideParcelSumUpTarget",
      "type": "object"
    }
  },
  "items": {
    "additionalProperties": false,
    "properties": {
      "cropId": {
        "type": "integer"
      },
      "cropLabel": {
        "type": "string"
      },
      "fieldId": {
        "type": "integer"
      },
      "fieldName": {
        "type": "string"
      },
      "groupId": {
        "type": "integer"
      },
      "groupLabel": {
        "type": "string"
      },
      "localization": {
        "$ref": "#/definitions/DefaultLocalization_2210",
        "type": "object"
      },
      "missingObservations": {
        "type": "integer"
      },
      "stageId": {
        "type": "integer"
      },
      "stageLabel": {
        "type": "string"
      },
      "surface": {
        "type": "number"
      },
      "targets": {
        "items": {
          "$ref": "#/definitions/FungicideParcelSumUpTarget_2223",
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "cropId",
      "cropLabel",
      "fieldId",
      "fieldName",
      "groupId",
      "groupLabel",
      "localization",
      "missingObservations",
      "stageId",
      "stageLabel",
      "surface",
      "targets"
    ],
    "type": "object"
  },
  "title": "FungicideParcel - FungicideParcelSumUp",
  "type": "array"
}

JSON instance

[
  {
    "cropId": 25177,
    "cropLabel": "KWS ULTIM",
    "fieldId": 418,
    "fieldName": "Gnasseries",
    "groupId": 2,
    "groupLabel": "Blé tendre",
    "localization": {
      "latitude": 47.0058,
      "longitude": 2.86059
    },
    "missingObservations": 0,
    "stageId": 0,
    "stageLabel": "Période pertinente non atteinte",
    "surface": 5.5,
    "targets": [
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  {
    "cropId": 385,
    "cropLabel": "PROVIDENCE",
    "fieldId": 419,
    "fieldName": "Gnasseries 1",
    "groupId": 2,
    "groupLabel": "Blé tendre",
    "localization": {
      "latitude": 47.0033,
      "longitude": 2.86692
    },
    "missingObservations": 0,
    "stageId": 0,
    "stageLabel": "Période pertinente non atteinte",
    "surface": 11,
    "targets": [
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  {
    "cropId": 117,
    "cropLabel": "COMPLICE",
    "fieldId": 420,
    "fieldName": "Roussillon",
    "groupId": 2,
    "groupLabel": "Blé tendre",
    "localization": {
      "latitude": 47.0027,
      "longitude": 2.86011
    },
    "missingObservations": 0,
    "stageId": 0,
    "stageLabel": "Période pertinente non atteinte",
    "surface": 12.5,
    "targets": [
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  },
  {
    "cropId": 342,
    "cropLabel": "NEMO",
    "fieldId": 421,
    "fieldName": "Champ de devant",
    "groupId": 2,
    "groupLabel": "Blé tendre",
    "localization": {
      "latitude": 47.035,
      "longitude": 2.91967
    },
    "missingObservations": 0,
    "stageId": 0,
    "stageLabel": "Période pertinente non atteinte",
    "surface": 6,
    "targets": [
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 1,
        "targetLabel": "Piétin-verse"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 2,
        "targetLabel": "Septoriose"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 3,
        "targetLabel": "Rouille brune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 4,
        "targetLabel": "Rouille jaune"
      },
      {
        "isTargetInTest": false,
        "numberOfDays": 0,
        "riskLevelId": 0,
        "riskLevelLabel": "Pas de risque",
        "targetId": 6,
        "targetLabel": "Oïdium"
      },
      {
        "isTargetInTest": true,
        "numberOfDays": 0,
        "riskLevelId": 3,
        "riskLevelLabel": "Pas de risque",
        "targetId": 7,
        "targetLabel": "Fusariose"
      }
    ]
  }
]

Validation #1038

Failure

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

  • 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-24T15:53:23",
  "cityCode": "CY_FR_21432",
  "cityName": "MONTIGNY-SUR-AUBE",
  "countryCode": "FR",
  "cropId": 107,
  "cropLabel": "CHEVIGNON",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": 22,
  "fieldId": 426,
  "fieldName": "Fontenies",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.9598,
    "longitude": 4.8164
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": "Labour",
  "predictionDate": "2021-02-25T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 541,
  "previousCropLabel": "Blé",
  "soilTextureId": 5,
  "soilTextureLabel": "Argile limoneuse",
  "sowingDate": "2020-10-17T00:00:00",
  "stages": [
    {
      "observationId": 23,
      "position": 1,
      "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": 2,
      "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": 3,
      "stageDate": "2021-04-17T00: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-24T00: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-30T00: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-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": 7,
      "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": 8,
      "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": 60.43,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1037

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-24T15:53:23",
  "cityCode": "CY_FR_21432",
  "cityName": "MONTIGNY-SUR-AUBE",
  "countryCode": "FR",
  "cropId": 107,
  "cropLabel": "CHEVIGNON",
  "currentDayRisks": {
    "globalRiskLevel": 0,
    "globalRiskLevelLabel": "Pas de risque",
    "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": 22,
  "fieldId": 426,
  "fieldName": "Fontenies",
  "groupId": 2,
  "groupLabel": "Blé tendre",
  "localization": {
    "latitude": 47.9598,
    "longitude": 4.8164
  },
  "missingObservations": 0,
  "nextDaysRisks": [
    {
      "globalRiskLevel": 0,
      "globalRiskLevelLabel": "Pas de risque",
      "globalRiskPictureURL": "https://sflapifarmidevhsto-cdn.azureedge.net/plantsimages-rec/2F71814154B9800DE760C34E38E5A8C0.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": "Labour",
  "predictionDate": "2021-02-25T00:00:00",
  "predictionModelLabel": "Simulation agroclimatique",
  "previousCropId": 541,
  "previousCropLabel": "Blé",
  "soilTextureId": 5,
  "soilTextureLabel": "Argile limoneuse",
  "sowingDate": "2020-10-17T00:00:00",
  "stages": [
    {
      "position": 1,
      "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": 2,
      "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": 3,
      "stageDate": "2021-04-17T00: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-24T00: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-30T00: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-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": 7,
      "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": 8,
      "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": 60.43,
  "workOperations": [],
  "yieldPotential": "de 80 à 90 q/ha"
}

Validation #1036

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": -16212843,
  "antePreviousCropLabel": "officia qui",
  "calculationDate": "dolor ea magna esse ad",
  "cityCode": "laboris sint Du",
  "countryCode": "veniam consectetur enim",
  "cropId": 4338153,
  "cropLabel": "officia esse aliqua adipisicing",
  "currentDayRisks": {
    "globalRiskLevelLabel": "aliquip",
    "targets": [
      {
        "isTargetInTest": true,
        "organs": [
          {
            "organId": 61985544,
            "organLabel": "vel",
            "organRiskLevel": 73090455,
            "organRiskLevelLabel": "dolore aliqua Ut"
          },
          {
            "organId": 78085519,
            "organLabel": "eu velit nulla",
            "organRiskLevel": -22727722,
            "organRiskLevelLabel": "aliqua velit dolore fugiat ipsum"
          },
          {
            "organId": 38254594,
            "organLabel": "aliquip anim ex elit",
            "organRiskLevel": -56316790,
            "organRiskLevelLabel": "in"
          },
          {
            "organId": -16934734,
            "organLabel": "ipsum commodo nulla",
            "organRiskLevel": -8356782,
            "organRiskLevelLabel": "in Lore"
          },
          {
            "organId": -92636219,
            "organLabel": "ut",
            "organRiskLevel": -27654037,
            "organRiskLevelLabel": "sit sunt ex amet"
          }
        ],
        "plantAlertLevel": 63976425,
        "plantAlertLevelLabel": "dolore non in dolor ad",
        "targetId": -8788170,
        "targetLabel": "ad irure"
      }
    ]
  },
  "farmId": -31830863,
  "fieldId": 47398344,
  "fieldName": "est",
  "groupId": -86667694,
  "groupLabel": "ipsum id qui laborum in",
  "localization": {
    "latitude": -56884980.07918659,
    "longitude": 19274420.4025566
  },
  "missingObservations": -15418754,
  "nextDaysRisks": [
    {
      "globalRiskLevelLabel": "in cupidatat irure enim elit",
      "targets": [
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -86761551,
              "organLabel": "esse in ex",
              "organRiskLevel": -39481032,
              "organRiskLevelLabel": "cupidatat occaecat ut eu"
            }
          ],
          "plantAlertLevel": -7405592,
          "plantAlertLevelLabel": "elit sunt tempor reprehenderit",
          "targetId": -85610959,
          "targetLabel": "in"
        },
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": 47223203,
              "organLabel": "elit minim ex",
              "organRiskLevel": 57270238,
              "organRiskLevelLabel": "velit"
            },
            {
              "organId": -15299906,
              "organLabel": "veni",
              "organRiskLevel": -10157899,
              "organRiskLevelLabel": "in"
            },
            {
              "organId": 57400770,
              "organLabel": "dolore nulla Ut pariatur",
              "organRiskLevel": -89498154,
              "organRiskLevelLabel": "dolor dolor ut"
            },
            {
              "organId": 8794828,
              "organLabel": "incididunt",
              "organRiskLevel": 12471154,
              "organRiskLevelLabel": "e"
            }
          ],
          "plantAlertLevel": 81589647,
          "plantAlertLevelLabel": "Excepteur veniam eu in",
          "targetId": 58808763,
          "targetLabel": "occaeca"
        },
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": 2074744,
              "organLabel": "aute aliquip",
              "organRiskLevel": -77089285,
              "organRiskLevelLabel": "velit fugiat cillum"
            },
            {
              "organId": 63048040,
              "organLabel": "Ut",
              "organRiskLevel": 27465858,
              "organRiskLevelLabel": "in"
            },
            {
              "organId": 29004360,
              "organLabel": "adipisicing sit mollit Duis irure",
              "organRiskLevel": 62806081,
              "organRiskLevelLabel": "fugiat deserunt proi"
            },
            {
              "organId": 79302113,
              "organLabel": "dolor labore dolore dolor nulla",
              "organRiskLevel": -92710357,
              "organRiskLevelLabel": "Excepteur qui nisi enim"
            }
          ],
          "plantAlertLevel": 16326738,
          "plantAlertLevelLabel": "minim cillum sunt qui",
          "targetId": -99741185,
          "targetLabel": "anim qui voluptate pariatur irure"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -92827905,
              "organLabel": "ipsum anim",
              "organRiskLevel": 1971863,
              "organRiskLevelLabel": "est do officia consectetur"
            }
          ],
          "plantAlertLevel": 25356102,
          "plantAlertLevelLabel": "anim nulla culpa fugiat",
          "targetId": -23872588,
          "targetLabel": "adipis"
        },
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -21042053,
              "organLabel": "Ut",
              "organRiskLevel": -31686364,
              "organRiskLevelLabel": "Lorem voluptate ea"
            },
            {
              "organId": -63996368,
              "organLabel": "consequat nulla sint",
              "organRiskLevel": 60976369,
              "organRiskLevelLabel": "incididunt"
            },
            {
              "organId": -29102688,
              "organLabel": "eu ad",
              "organRiskLevel": 61836033,
              "organRiskLevelLabel": "esse non occaecat"
            },
            {
              "organId": 10518663,
              "organLabel": "commodo aliquip anim eiusmod Excepteur",
              "organRiskLevel": -5547163,
              "organRiskLevelLabel": "in laborum ullamco"
            }
          ],
          "plantAlertLevel": -70737656,
          "plantAlertLevelLabel": "pariatur",
          "targetId": -40753013,
          "targetLabel": "sed officia ad id ipsum"
        }
      ]
    },
    {
      "globalRiskLevelLabel": "laborum",
      "targets": [
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": 64400317,
              "organLabel": "elit do",
              "organRiskLevel": 41604892,
              "organRiskLevelLabel": "cupidatat"
            },
            {
              "organId": 83440004,
              "organLabel": "ad aliquip",
              "organRiskLevel": -18847055,
              "organRiskLevelLabel": "Lorem exercita"
            },
            {
              "organId": -18393424,
              "organLabel": "ex aliqua irure veniam tempor",
              "organRiskLevel": 78758647,
              "organRiskLevelLabel": "velit deserunt"
            },
            {
              "organId": -6803291,
              "organLabel": "in deserunt eu Lorem in",
              "organRiskLevel": -21667734,
              "organRiskLevelLabel": "aute Lorem"
            },
            {
              "organId": -56472871,
              "organLabel": "ut sint culpa ad",
              "organRiskLevel": 66744924,
              "organRiskLevelLabel": "proident culpa dolor"
            }
          ],
          "plantAlertLevel": 14512821,
          "plantAlertLevelLabel": "deserunt voluptate mollit non lab",
          "targetId": 49917581,
          "targetLabel": "minim"
        }
      ]
    }
  ],
  "ploughed": "aute enim laborum minim magna",
  "predictionDate": "qui voluptate",
  "predictionModelLabel": "aliqua ex Duis dolore",
  "previousCropId": -18085650,
  "previousCropLabel": "in aliqua ea nostrud",
  "soilTextureId": 78200674,
  "soilTextureLabel": "non",
  "sowingDate": "occaecat proident in eiusmod ad",
  "stages": [
    {
      "observationId": -13873784,
      "position": -75219036,
      "stageDate": "ea officia",
      "stageDescription": "amet",
      "stageId": -82266024,
      "stageLabel": "sint ame",
      "stagePictureURL": "adipisicing exercitation consequat dolore",
      "stageType": -29950161
    },
    {
      "observationId": 17581309,
      "position": 33743134,
      "stageDate": "eu sit mollit",
      "stageDescription": "non cillum eu",
      "stageId": -52632380,
      "stageLabel": "aute",
      "stagePictureURL": "nisi nulla do proident",
      "stageType": 75835924
    },
    {
      "observationId": -87465769,
      "position": -64735013,
      "stageDate": "aute pariatur in sint ipsum",
      "stageDescription": "eiusmod dolor aute Duis",
      "stageId": -14502270,
      "stageLabel": "in qui dolor eu",
      "stagePictureURL": "reprehenderit tempor incididunt officia anim",
      "stageType": 33141267
    },
    {
      "observationId": -34395421,
      "position": -11097333,
      "stageDate": "ipsum enim exercitation",
      "stageDescription": "aliquip fugiat ipsum ex",
      "stageId": 68443307,
      "stageLabel": "ullamco in cupidatat tempor sunt",
      "stagePictureURL": "quis amet",
      "stageType": -92144879
    }
  ],
  "surface": 75668235.40953922,
  "workOperations": [
    {
      "operationDate": "fugiat ",
      "operationId": 77505068,
      "operationsProducts": [
        {
          "productId": 82220505,
          "productLabel": "Excepteur",
          "quantity": -53390377.801600456,
          "unitCode": "consequat",
          "unitId": -67355932
        },
        {
          "productId": -27543285,
          "productLabel": "est ea quis commodo",
          "quantity": 543696.5879490227,
          "unitCode": "veniam",
          "unitId": -39238842
        },
        {
          "productId": -75055021,
          "productLabel": "consectetur commodo dolor",
          "quantity": -55281562.739271894,
          "unitCode": "reprehenderit sed dolor enim",
          "unitId": 99591017
        },
        {
          "productId": -77418618,
          "productLabel": "dolor elit ",
          "quantity": -50142155.1560298,
          "unitCode": "laboris sint eiusmod",
          "unitId": -50336270
        }
      ],
      "workOperationLabel": "aliquip proident do",
      "workOperationType": -70253837
    },
    {
      "operationDate": "adipisicing consectetur magna",
      "operationId": 14033662,
      "operationsProducts": [
        {
          "productId": 29073550,
          "productLabel": "ex",
          "quantity": 7680423.006764993,
          "unitCode": "mollit nulla Excepteur",
          "unitId": 20483190
        },
        {
          "productId": 65871778,
          "productLabel": "dolor",
          "quantity": 94786786.6844554,
          "unitCode": "officia id do ullamco",
          "unitId": 53318046
        },
        {
          "productId": -42125249,
          "productLabel": "culpa non laboris esse",
          "quantity": 78039070.3734223,
          "unitCode": "in ut non",
          "unitId": 83586249
        }
      ],
      "workOperationLabel": "aliquip",
      "workOperationType": -52077212
    },
    {
      "operationDate": "ullamco",
      "operationId": 81442949,
      "operationsProducts": [
        {
          "productId": -59083259,
          "productLabel": "irure",
          "quantity": 43635429.98911831,
          "unitCode": "ut",
          "unitId": -27314121
        },
        {
          "productId": -52384628,
          "productLabel": "incididunt",
          "quantity": -2401238.598581299,
          "unitCode": "dolore irure eiusmod elit",
          "unitId": -23455244
        },
        {
          "productId": -97224847,
          "productLabel": "in non qui in",
          "quantity": -27324106.855282754,
          "unitCode": "exercitation deseru",
          "unitId": -57995789
        }
      ],
      "workOperationLabel": "se",
      "workOperationType": -67576698
    },
    {
      "operationDate": "deserunt anim aliquip",
      "operationId": -48413882,
      "operationsProducts": [
        {
          "productId": -58339668,
          "productLabel": "ad nisi",
          "quantity": 65993391.4823184,
          "unitCode": "voluptate sed occaecat Excepteur anim",
          "unitId": 77551659
        }
      ],
      "workOperationLabel": "cupidatat Ut",
      "workOperationType": 46998547
    },
    {
      "operationDate": "ut aute amet sint voluptate",
      "operationId": -32395247,
      "operationsProducts": [
        {
          "productId": 88549664,
          "productLabel": "amet reprehenderit adi",
          "quantity": 70487878.4988983,
          "unitCode": "ullamco Ut ",
          "unitId": 87622383
        },
        {
          "productId": 84764426,
          "productLabel": "ullamco mollit ",
          "quantity": 96478245.29297161,
          "unitCode": "nisi veniam minim sit pariatur",
          "unitId": 17968375
        },
        {
          "productId": 79237224,
          "productLabel": "ut veniam ipsum in eu",
          "quantity": -63920227.54047253,
          "unitCode": "irure",
          "unitId": 28336440
        },
        {
          "productId": 64181456,
          "productLabel": "consectetur sint fugiat eu",
          "quantity": 65524389.50887257,
          "unitCode": "dolore dolor exercitation consectetur mollit",
          "unitId": -16488076
        }
      ],
      "workOperationLabel": "voluptate culpa esse nul",
      "workOperationType": 50798203
    }
  ],
  "yieldPotential": "exercitation enim"
}

Validation #1035

Failure

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

  • The property '#/player' did not contain a required property of 'avatar' in schema 26b0350a-0dd3-5779-bf55-d65f926f23bc

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "player": {
      "additionalProperties": false,
      "properties": {
        "avatar": {
          "type": "integer"
        },
        "push_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "avatar",
        "push_token"
      ],
      "type": "object"
    }
  },
  "required": [
    "player"
  ],
  "title": "Player - UpdatePlayer",
  "type": "object"
}

JSON instance

{
  "player": {
    "push_token": "eiusmod cupidatat"
  }
}

Validation #1034

Success

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

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "player": {
      "additionalProperties": false,
      "properties": {
        "avatar": {
          "type": "integer"
        },
        "push_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "avatar",
        "push_token"
      ],
      "type": "object"
    }
  },
  "required": [
    "player"
  ],
  "title": "Player - UpdatePlayer",
  "type": "object"
}

JSON instance

{
  "player": {
    "avatar": 19776802,
    "push_token": "eiusmod cupidatat"
  }
}

Validation #1033

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultApplicationCredentials_3079": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "externCredentials": {
          "$ref": "#/definitions/DefaultExternCredentials_3081",
          "type": "object"
        },
        "internCredentials": {
          "$ref": "#/definitions/DefaultInternCredentials_3080",
          "type": "object"
        },
        "type": {
          "enum": [
            "Intern",
            "Extern"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "title": "ApplicationCredentials - DefaultApplicationCredentials",
      "type": "object"
    },
    "DefaultExternCredentials_3081": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "login": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      },
      "required": [
        "login",
        "password"
      ],
      "title": "ExternCredentials - DefaultExternCredentials",
      "type": "object"
    },
    "DefaultInternCredentials_3080": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "apCode": {
          "type": "string"
        }
      },
      "required": [
        "apCode"
      ],
      "title": "InternCredentials - DefaultInternCredentials",
      "type": "object"
    }
  },
  "properties": {
    "credentials": {
      "$ref": "#/definitions/DefaultApplicationCredentials_3079",
      "type": "object"
    },
    "mail": {
      "format": "email",
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "credentials",
    "mail",
    "name"
  ],
  "title": "Application - Create Intern Application",
  "type": "object"
}

JSON instance

{
  "credentials": {
    "type": "Intern"
  },
  "mail": "S6fRj6cro3mf@WeonysAM.acmj",
  "name": "velit"
}