Validations history

Validation #1072

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1071

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1070

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1069

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1068

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

Validation #1067

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": -35154369,
  "antePreviousCropLabel": "ipsum ex reprehenderit",
  "calculationDate": "Excepteur Ut",
  "cityCode": "et eiusmod laborum occaec",
  "countryCode": "cillum irure culpa Lorem adip",
  "cropId": 64356237,
  "cropLabel": "et",
  "currentDayRisks": {
    "globalRiskLevelLabel": "aliquip Lorem deserunt",
    "targets": [
      {
        "isTargetInTest": false,
        "organs": [
          {
            "organId": -91960386,
            "organLabel": "pariatur mollit sunt amet irure",
            "organRiskLevel": 85057197,
            "organRiskLevelLabel": "dolore quis sunt"
          },
          {
            "organId": 2477020,
            "organLabel": "dolore",
            "organRiskLevel": -42229773,
            "organRiskLevelLabel": "ex dolore"
          },
          {
            "organId": -5691471,
            "organLabel": "eiusmod aliqua cupidatat sint",
            "organRiskLevel": -60316182,
            "organRiskLevelLabel": "velit irure veniam officia"
          },
          {
            "organId": -59458118,
            "organLabel": "anim nisi laboris",
            "organRiskLevel": -94252103,
            "organRiskLevelLabel": "aliqua"
          }
        ],
        "plantAlertLevel": -95800842,
        "plantAlertLevelLabel": "elit veniam",
        "targetId": 10727297,
        "targetLabel": "aute sit nisi irure"
      },
      {
        "isTargetInTest": true,
        "organs": [
          {
            "organId": 77558468,
            "organLabel": "et ",
            "organRiskLevel": 16586050,
            "organRiskLevelLabel": "fugiat consectetur"
          }
        ],
        "plantAlertLevel": -59032040,
        "plantAlertLevelLabel": "commodo",
        "targetId": 94222286,
        "targetLabel": "et"
      }
    ]
  },
  "farmId": -24897797,
  "fieldId": 52259977,
  "fieldName": "Lorem Duis sunt voluptate",
  "groupId": -43751084,
  "groupLabel": "enim Lorem nulla mollit",
  "localization": {
    "latitude": 66863864.04268974,
    "longitude": 77218849.30364946
  },
  "missingObservations": -27681126,
  "nextDaysRisks": [
    {
      "globalRiskLevelLabel": "reprehenderit velit aliqua veniam",
      "targets": [
        {
          "isTargetInTest": false,
          "organs": [
            {
              "organId": -33944917,
              "organLabel": "ullamco aute",
              "organRiskLevel": 45118150,
              "organRiskLevelLabel": "pariatur magna sunt proident"
            }
          ],
          "plantAlertLevel": -49761480,
          "plantAlertLevelLabel": "ut consequat",
          "targetId": -37450428,
          "targetLabel": "consequat"
        },
        {
          "isTargetInTest": true,
          "organs": [
            {
              "organId": -62852001,
              "organLabel": "commodo",
              "organRiskLevel": -19397047,
              "organRiskLevelLabel": "consequat"
            },
            {
              "organId": 39793819,
              "organLabel": "eiusmod",
              "organRiskLevel": 52149240,
              "organRiskLevelLabel": "in id aute sint"
            },
            {
              "organId": 11831587,
              "organLabel": "dolor Excepte",
              "organRiskLevel": -32247437,
              "organRiskLevelLabel": "min"
            }
          ],
          "plantAlertLevel": -65064397,
          "plantAlertLevelLabel": "in et",
          "targetId": -52563876,
          "targetLabel": "sit in commodo adipisicing"
        }
      ]
    }
  ],
  "ploughed": "sed",
  "predictionDate": "anim eiusmod",
  "predictionModelLabel": "ipsum commodo qui aute",
  "previousCropId": 62073785,
  "previousCropLabel": "est velit dolore",
  "soilTextureId": 86671250,
  "soilTextureLabel": "in",
  "sowingDate": "irure ips",
  "stages": [
    {
      "observationId": 86689886,
      "position": 29371772,
      "stageDate": "tempor",
      "stageDescription": "esse",
      "stageId": 95802325,
      "stageLabel": "Lorem magna ullamco",
      "stagePictureURL": "laboris officia adipisicing",
      "stageType": -94608249
    },
    {
      "observationId": -89006739,
      "position": -52877126,
      "stageDate": "consectetur Excepteur dolor amet est",
      "stageDescription": "laboris do ut",
      "stageId": 1621331,
      "stageLabel": "dolor elit reprehenderit in",
      "stagePictureURL": "Ut",
      "stageType": -11906107
    }
  ],
  "surface": 53700922.40864316,
  "workOperations": [
    {
      "operationDate": "amet ad",
      "operationId": -55220674,
      "operationsProducts": [
        {
          "productId": 93862054,
          "productLabel": "et eu s",
          "quantity": -43503670.61090346,
          "unitCode": "aute ut amet dolor occaecat",
          "unitId": 11879422
        }
      ],
      "workOperationLabel": "occaecat",
      "workOperationType": 78326983
    },
    {
      "operationDate": "enim ut dolore",
      "operationId": -69312234,
      "operationsProducts": [
        {
          "productId": -43628451,
          "productLabel": "aliquip ut anim aliqua",
          "quantity": 40263484.01061219,
          "unitCode": "anim culpa velit",
          "unitId": -92710323
        },
        {
          "productId": -21082944,
          "productLabel": "sunt ut nostrud nulla",
          "quantity": 26656823.753926367,
          "unitCode": "enim",
          "unitId": -57586159
        }
      ],
      "workOperationLabel": "proident",
      "workOperationType": 27223802
    },
    {
      "operationDate": "veniam Excepteur aliqua",
      "operationId": 6329070,
      "operationsProducts": [
        {
          "productId": 77123945,
          "productLabel": "eiusmod dolore id est in",
          "quantity": -33807421.06259644,
          "unitCode": "o",
          "unitId": -9067689
        }
      ],
      "workOperationLabel": "dolor cupidatat ut irure ullamco",
      "workOperationType": 38045776
    },
    {
      "operationDate": "proident laborum dolore non",
      "operationId": 45410386,
      "operationsProducts": [
        {
          "productId": -38911641,
          "productLabel": "",
          "quantity": 96089939.03934696,
          "unitCode": "voluptate Duis",
          "unitId": 91072806
        },
        {
          "productId": -86169761,
          "productLabel": "Excepteur dolore nulla magna mollit",
          "quantity": 20837943.780621424,
          "unitCode": "dolore dolor aliqua exerci",
          "unitId": -67121194
        },
        {
          "productId": -37821901,
          "productLabel": "est proident",
          "quantity": 8800296.70229417,
          "unitCode": "aliqua dolor Ut id",
          "unitId": -92362243
        },
        {
          "productId": -66767202,
          "productLabel": "esse irure aute sed laborum",
          "quantity": 88959215.70553488,
          "unitCode": "culpa ex velit",
          "unitId": -26914243
        }
      ],
      "workOperationLabel": "nostrud velit enim officia ut",
      "workOperationType": 23285883
    },
    {
      "operationDate": "sit",
      "operationId": 20025618,
      "operationsProducts": [
        {
          "productId": -80052736,
          "productLabel": "est",
          "quantity": -5668818.718412846,
          "unitCode": "quis adipisicing aliqua consectetur",
          "unitId": 20375078
        },
        {
          "productId": 53358199,
          "productLabel": "ea",
          "quantity": -87490269.9838342,
          "unitCode": "eiusmod est",
          "unitId": 58895401
        },
        {
          "productId": -91989389,
          "productLabel": "Excepteur eu amet",
          "quantity": -97334632.0200724,
          "unitCode": "Lorem",
          "unitId": 62757212
        },
        {
          "productId": 66461987,
          "productLabel": "dolor et",
          "quantity": 98871430.60202983,
          "unitCode": "magna ut",
          "unitId": 77653865
        },
        {
          "productId": -53705867,
          "productLabel": "ut est velit",
          "quantity": -7423643.19845961,
          "unitCode": "eiusmod irure id ea enim",
          "unitId": 80168784
        }
      ],
      "workOperationLabel": "in",
      "workOperationType": -35762056
    }
  ],
  "yieldPotential": "quis adipisicing"
}

Validation #1066

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1065

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1064

Failure

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

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

JSON Schema

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

JSON instance

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

Validation #1063

Failure

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

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

JSON Schema

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

JSON instance

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