Validations history

Validation #263

Failure

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

  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultStade_690": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "id_stade": {
          "type": "string"
        },
        "produits": {
          "$ref": "#/definitions/needsProduct_691",
          "type": "object"
        },
        "stade_image_url": {
          "type": "string"
        },
        "stade_libelle": {
          "type": "string"
        }
      },
      "required": [
        "id_stade",
        "produits",
        "stade_image_url",
        "stade_libelle"
      ],
      "title": "Stade - DefaultStade",
      "type": "object"
    },
    "needsProduct_691": {
      "additionalProperties": false,
      "properties": {
        "dose": {
          "type": "string"
        },
        "id_produit": {
          "type": "string"
        }
      },
      "required": [
        "dose",
        "id_produit"
      ],
      "title": "Gamme S - Product - needsProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "needs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "culture_image_url": {
            "type": "string"
          },
          "culture_nom": {
            "type": "string"
          },
          "id_culture": {
            "type": "string"
          },
          "stades": {
            "items": {
              "$ref": "#/definitions/DefaultStade_690",
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "culture_image_url",
          "culture_nom",
          "id_culture",
          "stades"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "needs"
  ],
  "title": "Need - DefaultNeed",
  "type": "object"
}

JSON instance

{
  "needs": [
    {
      "culture_image_url": "Cultures\\Culture_Céréales.JPG",
      "culture_nom": "Céréales",
      "id_culture": "1",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 nœuds"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 nœuds"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2.5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition de la dernière feuille, Gonflement"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epiaison"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "40-50",
              "id_produit": "5"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Etamines sorties"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Formation des grains"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maturité"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "1-2",
              "id_produit": "1"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Début tallage"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin tallage"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epi 1 cm"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 nœud"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Colza.JPG",
      "culture_nom": "Colza",
      "id_culture": "2",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition inflorescence"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Boutons séparés"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Elongation pédoncules floraux"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Premières fleurs"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "2,5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Chute des premiers pétales"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 premières siliques"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Toutes les siliques ont leur tailles finales"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Cotylédon"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin formation de la rosette"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            },
            {
              "dose": "5 à 10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 entre-nœuds visibles"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Maïs.JPG",
      "culture_nom": "Maïs",
      "id_culture": "3",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "7 feuilles"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "8 feuilles"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 feuilles"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Panicule visible"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Germination"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Levée"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maïs pointant"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "4 feuilles"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "6 feuilles"
        }
      ]
    }
  ]
}

Validation #262

Failure

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

  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 8bee827b-054f-54c0-a6e5-0a8e3d790ac6#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultStade_690": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "id_stade": {
          "type": "string"
        },
        "produits": {
          "$ref": "#/definitions/needsProduct_691",
          "type": "object"
        },
        "stade_image_url": {
          "type": "string"
        },
        "stade_libelle": {
          "type": "string"
        }
      },
      "required": [
        "id_stade",
        "produits",
        "stade_image_url",
        "stade_libelle"
      ],
      "title": "Stade - DefaultStade",
      "type": "object"
    },
    "needsProduct_691": {
      "additionalProperties": false,
      "properties": {
        "dose": {
          "type": "string"
        },
        "id_produit": {
          "type": "string"
        }
      },
      "required": [
        "dose",
        "id_produit"
      ],
      "title": "Gamme S - Product - needsProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "needs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "culture_image_url": {
            "type": "string"
          },
          "culture_nom": {
            "type": "string"
          },
          "id_culture": {
            "type": "string"
          },
          "stades": {
            "items": {
              "$ref": "#/definitions/DefaultStade_690",
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "culture_image_url",
          "culture_nom",
          "id_culture",
          "stades"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "needs"
  ],
  "title": "Need - DefaultNeed",
  "type": "object"
}

JSON instance

{
  "needs": [
    {
      "culture_image_url": "Cultures\\Culture_Céréales.JPG",
      "culture_nom": "Céréales",
      "id_culture": "1",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 nœuds"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 nœuds"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2.5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition de la dernière feuille, Gonflement"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epiaison"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "40-50",
              "id_produit": "5"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Etamines sorties"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Formation des grains"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maturité"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "1-2",
              "id_produit": "1"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Début tallage"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin tallage"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epi 1 cm"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 nœud"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Colza.JPG",
      "culture_nom": "Colza",
      "id_culture": "2",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition inflorescence"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Boutons séparés"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Elongation pédoncules floraux"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Premières fleurs"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "2,5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Chute des premiers pétales"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 premières siliques"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Toutes les siliques ont leur tailles finales"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Cotylédon"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin formation de la rosette"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            },
            {
              "dose": "5 à 10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 entre-nœuds visibles"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Maïs.JPG",
      "culture_nom": "Maïs",
      "id_culture": "3",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "7 feuilles"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "8 feuilles"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 feuilles"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Panicule visible"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Germination"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Levée"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maïs pointant"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "4 feuilles"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "6 feuilles"
        }
      ]
    }
  ]
}

Validation #261

Failure

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

  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/13/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/14/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/0/stades/15/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/13/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/14/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/1/stades/15/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/0/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/1/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/2/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/3/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/4/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/5/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/6/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/7/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/8/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/9/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/10/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/11/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#
  • The property '#/needs/2/stades/12/produits' of type array did not match the following type: object in schema 87fdd692-f29c-503f-9292-8b35f0b3e99b#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultStade_690": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "id_stade": {
          "type": "string"
        },
        "produits": {
          "$ref": "#/definitions/minimal_686",
          "type": "object"
        },
        "stade_image_url": {
          "type": "string"
        },
        "stade_libelle": {
          "type": "string"
        }
      },
      "required": [
        "id_stade",
        "produits",
        "stade_image_url",
        "stade_libelle"
      ],
      "title": "Stade - DefaultStade",
      "type": "object"
    },
    "minimal_686": {
      "additionalProperties": false,
      "properties": {
        "id_produit": {
          "type": "string"
        }
      },
      "required": [
        "id_produit"
      ],
      "title": "Gamme S - Product - minimal",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "needs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "culture_image_url": {
            "type": "string"
          },
          "culture_nom": {
            "type": "string"
          },
          "id_culture": {
            "type": "string"
          },
          "stades": {
            "items": {
              "$ref": "#/definitions/DefaultStade_690",
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "culture_image_url",
          "culture_nom",
          "id_culture",
          "stades"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "needs"
  ],
  "title": "Need - DefaultNeed",
  "type": "object"
}

JSON instance

{
  "needs": [
    {
      "culture_image_url": "Cultures\\Culture_Céréales.JPG",
      "culture_nom": "Céréales",
      "id_culture": "1",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 nœuds"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 nœuds"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2.5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition de la dernière feuille, Gonflement"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epiaison"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "40-50",
              "id_produit": "4"
            },
            {
              "dose": "40-50",
              "id_produit": "5"
            },
            {
              "dose": "5-8",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Etamines sorties"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Formation des grains"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maturité"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "1-2",
              "id_produit": "1"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Début tallage"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3-5",
              "id_produit": "2"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin tallage"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Epi 1 cm"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2-3",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5-10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 nœud"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Colza.JPG",
      "culture_nom": "Colza",
      "id_culture": "2",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Apparition inflorescence"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Boutons séparés"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Elongation pédoncules floraux"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Premières fleurs"
        },
        {
          "id_stade": "14",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "2,5-4",
              "id_produit": "7"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Chute des premiers pétales"
        },
        {
          "id_stade": "15",
          "produits": [
            {
              "dose": "2",
              "id_produit": "12"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 premières siliques"
        },
        {
          "id_stade": "16",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Toutes les siliques ont leur tailles finales"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Post semis Pré-levée"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Cotylédon"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "3 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "5",
              "id_produit": "6"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Fin formation de la rosette"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "2",
              "id_produit": "8"
            },
            {
              "dose": "5 à 10",
              "id_produit": "9"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 entre-nœuds visibles"
        }
      ]
    },
    {
      "culture_image_url": "Cultures\\Culture_Maïs.JPG",
      "culture_nom": "Maïs",
      "id_culture": "3",
      "stades": [
        {
          "id_stade": "1",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Pré-semis"
        },
        {
          "id_stade": "10",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "7 feuilles"
        },
        {
          "id_stade": "11",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "8 feuilles"
        },
        {
          "id_stade": "12",
          "produits": [
            {
              "dose": "25",
              "id_produit": "4"
            },
            {
              "dose": "25",
              "id_produit": "5"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "10 feuilles"
        },
        {
          "id_stade": "13",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Panicule visible"
        },
        {
          "id_stade": "2",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Semis"
        },
        {
          "id_stade": "3",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Germination"
        },
        {
          "id_stade": "4",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Levée"
        },
        {
          "id_stade": "5",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "Maïs pointant"
        },
        {
          "id_stade": "6",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "1 feuille"
        },
        {
          "id_stade": "7",
          "produits": [
            {
              "dose": "",
              "id_produit": ""
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "2 feuilles"
        },
        {
          "id_stade": "8",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "3",
              "id_produit": "10"
            },
            {
              "dose": "2",
              "id_produit": "11"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "4 feuilles"
        },
        {
          "id_stade": "9",
          "produits": [
            {
              "dose": "2",
              "id_produit": "1"
            },
            {
              "dose": "2",
              "id_produit": "12"
            },
            {
              "dose": "3 à 5",
              "id_produit": "2"
            },
            {
              "dose": "3 à 5",
              "id_produit": "3"
            },
            {
              "dose": "5",
              "id_produit": "6"
            },
            {
              "dose": "5",
              "id_produit": "8"
            }
          ],
          "stade_image_url": "",
          "stade_libelle": "6 feuilles"
        }
      ]
    }
  ]
}

Validation #260

Success

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

JSON Schema

{
  "definitions": {
    "DefaultEvalValuesObject_657": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "eval": {
          "maximum": 1,
          "minimum": -1,
          "type": "integer"
        },
        "values": {
          "items": {
            "$ref": "#/definitions/DefaultValueObject_656",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "eval",
        "values"
      ],
      "title": "eval values object - DefaultEvalValuesObject",
      "type": "object"
    },
    "DefaultFloatEvalValue_655": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "eval": {
          "maximum": 1,
          "minimum": -1,
          "type": "integer"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "eval",
        "value"
      ],
      "title": "float eval value object - DefaultFloatEvalValue",
      "type": "object"
    },
    "DefaultNotationAccumulationDon_659": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "eval": {
          "description": "1 ou -1",
          "maximum": 1,
          "minimum": -1,
          "type": "integer"
        },
        "value": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "eval",
        "value"
      ],
      "title": "notationAccumulationDon - DefaultNotationAccumulationDon",
      "type": "object"
    },
    "DefaultValueObject_656": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "value": {
          "type": "string"
        }
      },
      "required": [
        "value"
      ],
      "title": "string value object - DefaultValueObject",
      "type": "object"
    },
    "FullValueObject_658": {
      "additionalProperties": false,
      "properties": {
        "eval": {
          "description": "-1 ou 1",
          "maximum": 1,
          "minimum": -1,
          "type": "integer"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "eval",
        "value"
      ],
      "title": "string value object - FullValueObject",
      "type": "object"
    }
  },
  "items": {
    "additionalProperties": false,
    "properties": {
      "PMG": {
        "type": "string"
      },
      "alternativite": {
        "items": {
          "$ref": "#/definitions/DefaultValueObject_656",
          "type": "object"
        },
        "type": "array"
      },
      "appreciationMoulinSoufflet": {
        "type": "string"
      },
      "coefficientCEPP": {
        "type": "number"
      },
      "commentaires": {
        "type": "string"
      },
      "coupDeCoeur": {
        "type": "boolean"
      },
      "hauteur": {
        "type": "string"
      },
      "illustration": {
        "type": "string"
      },
      "nomVariete": {
        "type": "string"
      },
      "notationAccumulationDon": {
        "$ref": "#/definitions/DefaultNotationAccumulationDon_659",
        "description": "Eval : if >= 5.5 then 1 otherwise -1",
        "type": "object"
      },
      "notationDeRendementCategorieDebouche": {
        "oneOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ]
      },
      "notationFusario": {
        "$ref": "#/definitions/DefaultFloatEvalValue_655",
        "description": "Eval : if >= 6 then 1 otherwise -1",
        "type": "object"
      },
      "nouveaute": {
        "type": "boolean"
      },
      "poidsSpecifique": {
        "$ref": "#/definitions/DefaultFloatEvalValue_655",
        "description": "Eval : if >= 6 then 1 otherwise -1",
        "type": "object"
      },
      "precociteEpiaison": {
        "items": {
          "$ref": "#/definitions/DefaultValueObject_656",
          "type": "object"
        },
        "type": "array"
      },
      "presenceDeBarbe": {
        "type": "string"
      },
      "resistanceALaVerse": {
        "$ref": "#/definitions/DefaultEvalValuesObject_657",
        "description": "Eval : If \"Bien (B)\" or \"Très Bien (TB)\" then 1 otherwise -1",
        "type": "object"
      },
      "resistanceAuFroid": {
        "$ref": "#/definitions/DefaultEvalValuesObject_657",
        "description": "Eval : If \"Bien (B)\" or \"Très Bien (TB)\" then 1 otherwise -1",
        "type": "object"
      },
      "teneurProteinesCollecteSoufflet": {
        "$ref": "#/definitions/DefaultFloatEvalValue_655",
        "description": "Eval : if >= 6 then 1 otherwise -1",
        "type": "object"
      },
      "toleranceCecidomyies": {
        "$ref": "#/definitions/FullValueObject_658",
        "description": "Eval : If \"Tolérant (T)\", \"Moyen Sensible (MS)\" , \"Peu Sensible (PS)\" then 1 (green)\r\nIf \"Sensible (S)\" then -1 (red)",
        "type": "object"
      },
      "toleranceChlortoluron": {
        "$ref": "#/definitions/FullValueObject_658",
        "description": "Eval : If \"Tolérant (T)\", \"Moyen Sensible (MS)\" , \"Peu Sensible (PS)\" then 1 (green)\r\nIf \"Sensible (S)\" then -1 (red)",
        "type": "object"
      },
      "toleranceMosaique": {
        "$ref": "#/definitions/FullValueObject_658",
        "description": "Eval : If \"Tolérant (T)\", \"Moyen Sensible (MS)\" , \"Peu Sensible (PS)\" then 1 (green)\r\nIf \"Sensible (S)\" then -1 (red)",
        "type": "object"
      },
      "tolerancePietinVerse": {
        "$ref": "#/definitions/FullValueObject_658",
        "description": "Eval : If \"Tolérant (T)\", \"Moyen Sensible (MS)\" , \"Peu Sensible (PS)\" then 1 (green)\r\nIf \"Sensible (S)\" then -1 (red)",
        "type": "object"
      },
      "toleranceSeptoFeuille": {
        "$ref": "#/definitions/FullValueObject_658",
        "description": "Eval : If \"Tolérant (T)\", \"Moyen Sensible (MS)\" , \"Peu Sensible (PS)\" then 1 (green)\r\nIf \"Sensible (S)\" then -1 (red)",
        "type": "object"
      },
      "traitementDeSemence": {
        "type": "string"
      }
    },
    "required": [
      "PMG",
      "alternativite",
      "appreciationMoulinSoufflet",
      "coefficientCEPP",
      "commentaires",
      "coupDeCoeur",
      "hauteur",
      "illustration",
      "nomVariete",
      "notationAccumulationDon",
      "notationDeRendementCategorieDebouche",
      "notationFusario",
      "nouveaute",
      "poidsSpecifique",
      "precociteEpiaison",
      "presenceDeBarbe",
      "resistanceALaVerse",
      "resistanceAuFroid",
      "teneurProteinesCollecteSoufflet",
      "toleranceCecidomyies",
      "toleranceChlortoluron",
      "toleranceMosaique",
      "tolerancePietinVerse",
      "toleranceSeptoFeuille",
      "traitementDeSemence"
    ],
    "type": "object"
  },
  "title": "OAD wheat product - Original",
  "type": "array"
}

JSON instance

[
  {
    "PMG": "est mollit fugiat aliquip",
    "alternativite": [
      {
        "value": "ad nostrud occaecat laboris"
      }
    ],
    "appreciationMoulinSoufflet": "ut ad",
    "coefficientCEPP": 58038710.36996874,
    "commentaires": "labore proident nostrud",
    "coupDeCoeur": true,
    "hauteur": "in quis",
    "illustration": "culpa magna irure",
    "nomVariete": "commodo eu laboris sit",
    "notationAccumulationDon": {
      "eval": 0,
      "value": 43034433.86786601
    },
    "notationDeRendementCategorieDebouche": null,
    "notationFusario": {
      "eval": 0,
      "value": -38425631.79941014
    },
    "nouveaute": false,
    "poidsSpecifique": {
      "eval": 0,
      "value": -5572889.538961157
    },
    "precociteEpiaison": [
      {
        "value": "fug"
      },
      {
        "value": "esse eiusmod consectetur ipsum mag"
      },
      {
        "value": "qui incididunt ex"
      },
      {
        "value": "magna velit"
      },
      {
        "value": "dolor amet do"
      }
    ],
    "presenceDeBarbe": "reprehenderit ut et est in",
    "resistanceALaVerse": {
      "eval": 0,
      "values": [
        {
          "value": "consequat magna sunt proident cupidatat"
        },
        {
          "value": "ad magna anim velit ex"
        }
      ]
    },
    "resistanceAuFroid": {
      "eval": 0,
      "values": [
        {
          "value": "magna"
        },
        {
          "value": "Lorem cillum enim"
        },
        {
          "value": "aliquip enim laboris"
        },
        {
          "value": "fugiat minim laboris aute commodo"
        },
        {
          "value": "laborum"
        }
      ]
    },
    "teneurProteinesCollecteSoufflet": {
      "eval": 0,
      "value": -17338014.365307733
    },
    "toleranceCecidomyies": {
      "eval": 0,
      "value": "dolor veniam est"
    },
    "toleranceChlortoluron": {
      "eval": 0,
      "value": "qui eiusmod officia"
    },
    "toleranceMosaique": {
      "eval": 0,
      "value": "minim officia"
    },
    "tolerancePietinVerse": {
      "eval": 0,
      "value": "irure"
    },
    "toleranceSeptoFeuille": {
      "eval": 0,
      "value": "est laboris Lorem ullamco ea"
    },
    "traitementDeSemence": "est"
  },
  {
    "PMG": "dolor sunt eu adipisicing ipsum",
    "alternativite": [
      {
        "value": "minim dolore enim"
      },
      {
        "value": "eu commodo est ullamco"
      },
      {
        "value": "exercitation adipisicing nisi elit commodo"
      }
    ],
    "appreciationMoulinSoufflet": "proident officia",
    "coefficientCEPP": 11860786.985776216,
    "commentaires": "et do exercitation",
    "coupDeCoeur": false,
    "hauteur": "culpa adipisicing",
    "illustration": "laboris esse sit",
    "nomVariete": "pariatur com",
    "notationAccumulationDon": {
      "eval": 0,
      "value": null
    },
    "notationDeRendementCategorieDebouche": null,
    "notationFusario": {
      "eval": 0,
      "value": -70319960.68907262
    },
    "nouveaute": true,
    "poidsSpecifique": {
      "eval": 0,
      "value": 36992985.03426719
    },
    "precociteEpiaison": [
      {
        "value": "do aliquip non labore"
      },
      {
        "value": "est"
      }
    ],
    "presenceDeBarbe": "qui non esse",
    "resistanceALaVerse": {
      "eval": 0,
      "values": [
        {
          "value": "ut magna"
        },
        {
          "value": "tempor Excepteur"
        }
      ]
    },
    "resistanceAuFroid": {
      "eval": 0,
      "values": [
        {
          "value": "velit labore cillum occaecat"
        },
        {
          "value": "sed sint dol"
        },
        {
          "value": "mollit in"
        },
        {
          "value": "in ea"
        },
        {
          "value": "magna proident pariatur cillum"
        }
      ]
    },
    "teneurProteinesCollecteSoufflet": {
      "eval": 0,
      "value": 83907323.83585563
    },
    "toleranceCecidomyies": {
      "eval": 0,
      "value": "d"
    },
    "toleranceChlortoluron": {
      "eval": 0,
      "value": "commodo sit amet exercitation"
    },
    "toleranceMosaique": {
      "eval": 0,
      "value": "cil"
    },
    "tolerancePietinVerse": {
      "eval": 0,
      "value": "Excepteur laborum irure"
    },
    "toleranceSeptoFeuille": {
      "eval": 0,
      "value": "commodo consequat pr"
    },
    "traitementDeSemence": "cupidatat"
  },
  {
    "PMG": "irure aliqua in Ut",
    "alternativite": [
      {
        "value": "elit Excepteur ut ex"
      }
    ],
    "appreciationMoulinSoufflet": "Duis lab",
    "coefficientCEPP": 99898782.79023895,
    "commentaires": "do amet deserunt Lorem",
    "coupDeCoeur": false,
    "hauteur": "id consequat dolore ",
    "illustration": "dolore mollit",
    "nomVariete": "tempor cillum culpa",
    "notationAccumulationDon": {
      "eval": 0,
      "value": -13675892.65488647
    },
    "notationDeRendementCategorieDebouche": null,
    "notationFusario": {
      "eval": 0,
      "value": -74829425.1734877
    },
    "nouveaute": true,
    "poidsSpecifique": {
      "eval": 0,
      "value": -8335545.284946695
    },
    "precociteEpiaison": [
      {
        "value": "in aute eu"
      },
      {
        "value": "veniam tempor"
      },
      {
        "value": "incididunt sint nostrud aute"
      },
      {
        "value": "reprehenderit cillum sint ad"
      }
    ],
    "presenceDeBarbe": "reprehenderit in",
    "resistanceALaVerse": {
      "eval": 0,
      "values": [
        {
          "value": "sunt tempor reprehenderit"
        },
        {
          "value": "amet"
        },
        {
          "value": "in Ut"
        }
      ]
    },
    "resistanceAuFroid": {
      "eval": 0,
      "values": [
        {
          "value": "laborum qui"
        },
        {
          "value": "labore"
        },
        {
          "value": "dolor"
        }
      ]
    },
    "teneurProteinesCollecteSoufflet": {
      "eval": 0,
      "value": 60125384.38363305
    },
    "toleranceCecidomyies": {
      "eval": 0,
      "value": "ad"
    },
    "toleranceChlortoluron": {
      "eval": 0,
      "value": "consectetur quis aliqua"
    },
    "toleranceMosaique": {
      "eval": 0,
      "value": "Excepteur Lorem nulla voluptate"
    },
    "tolerancePietinVerse": {
      "eval": 0,
      "value": "Ut pariatur dolore"
    },
    "toleranceSeptoFeuille": {
      "eval": 0,
      "value": "s"
    },
    "traitementDeSemence": "amet se"
  }
]

Validation #259

Failure

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

  • parse_error

JSON Schema

JSON instance

{}

Validation #258

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultRainradar_301": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "type": "integer"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadar - DefaultRainradar",
      "type": "object"
    },
    "DefaultWarning_302": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "type"
      ],
      "title": "Warning - DefaultWarning",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "properties": {
    "current_weather": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "pattern": "^[A-Z](\\p{L}|-)+$",
          "type": "string"
        },
        "city_code": {
          "pattern": "^[A-Z0-9\\-_]*$",
          "type": "string"
        },
        "humidity": {
          "maximum": 70,
          "minimum": 30,
          "type": "number"
        },
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "night": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "pluviometry": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "pluviometry_cumul": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "rain_radar": {
          "items": {
            "$ref": "#/definitions/DefaultRainradar_301",
            "type": "object"
          },
          "type": "array"
        },
        "recommended_spray": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "risk_of_rain": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "snow": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "temperature": {
          "maximum": 40,
          "minimum": -15,
          "type": "number"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "warnings": {
          "items": {
            "$ref": "#/definitions/DefaultWarning_302",
            "type": "object"
          },
          "type": "array"
        },
        "weather": {
          "maximum": 30,
          "minimum": 0,
          "type": "integer"
        },
        "wind_direction": {
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "wind_gusts": {
          "maximum": 60,
          "minimum": 25,
          "type": "number"
        },
        "wind_speed": {
          "maximum": 30,
          "minimum": 5,
          "type": "number"
        }
      },
      "required": [
        "city",
        "city_code",
        "humidity",
        "latitude",
        "longitude",
        "night",
        "pluviometry",
        "pluviometry_cumul",
        "rain_radar",
        "recommended_spray",
        "risk_of_rain",
        "snow",
        "temperature",
        "time",
        "timezone",
        "warnings",
        "weather",
        "wind_direction",
        "wind_gusts",
        "wind_speed"
      ],
      "type": "object"
    }
  },
  "required": [
    "current_weather"
  ],
  "title": "CurrentWeather - DefaultCurrentweather",
  "type": "object"
}

JSON instance

{
  "current_weather": {
    "city": "NOGENT-SUR-SEINE",
    "city_code": "CY_FR_10268",
    "humidity": 45.11119,
    "latitude": 48.483333,
    "longitude": 3.5,
    "night": 0,
    "pluviometry": 0,
    "pluviometry_cumul": 0,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2018-05-25T13:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T16:00:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 1,
    "snow": 0,
    "temperature": 25.69891,
    "time": "2018-05-25T13:55:02Z",
    "timezone": "Europe/Paris",
    "warnings": [],
    "weather": 7,
    "wind_direction": "E",
    "wind_gusts": 26.5331984,
    "wind_speed": 10.3355064
  }
}

Validation #257

Failure

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

  • The property '#/current_weather/risk_of_rain' of type number did not match the following type: integer in schema dc8a3223-dea3-59e5-a03e-fb5c913e8cef

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultRainradar_301": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "type": "integer"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadar - DefaultRainradar",
      "type": "object"
    },
    "DefaultWarning_302": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "type"
      ],
      "title": "Warning - DefaultWarning",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "properties": {
    "current_weather": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "pattern": "^[A-Z](\\p{L}|-)+$",
          "type": "string"
        },
        "city_code": {
          "pattern": "^[A-Z0-9\\-_]*$",
          "type": "string"
        },
        "humidity": {
          "maximum": 70,
          "minimum": 30,
          "type": "number"
        },
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "night": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "pluviometry": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "pluviometry_cumul": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "rain_radar": {
          "items": {
            "$ref": "#/definitions/DefaultRainradar_301",
            "type": "object"
          },
          "type": "array"
        },
        "recommended_spray": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "risk_of_rain": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "snow": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "temperature": {
          "maximum": 40,
          "minimum": -15,
          "type": "number"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "warnings": {
          "items": {
            "$ref": "#/definitions/DefaultWarning_302",
            "type": "object"
          },
          "type": "array"
        },
        "weather": {
          "maximum": 30,
          "minimum": 0,
          "type": "integer"
        },
        "wind_direction": {
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "wind_gusts": {
          "maximum": 60,
          "minimum": 25,
          "type": "number"
        },
        "wind_speed": {
          "maximum": 30,
          "minimum": 5,
          "type": "number"
        }
      },
      "required": [
        "city",
        "city_code",
        "humidity",
        "latitude",
        "longitude",
        "night",
        "pluviometry",
        "pluviometry_cumul",
        "rain_radar",
        "recommended_spray",
        "risk_of_rain",
        "snow",
        "temperature",
        "time",
        "timezone",
        "warnings",
        "weather",
        "wind_direction",
        "wind_gusts",
        "wind_speed"
      ],
      "type": "object"
    }
  },
  "required": [
    "current_weather"
  ],
  "title": "CurrentWeather - DefaultCurrentweather",
  "type": "object"
}

JSON instance

{
  "current_weather": {
    "city": "NOGENT-SUR-SEINE",
    "city_code": "CY_FR_10268",
    "humidity": 45.11119,
    "latitude": 48.483333,
    "longitude": 3.5,
    "night": 0,
    "pluviometry": 0,
    "pluviometry_cumul": 0,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2018-05-25T13:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T16:00:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 1,
    "snow": 0,
    "temperature": 25.69891,
    "time": "2018-05-25T13:55:02Z",
    "timezone": "Europe/Paris",
    "warnings": [],
    "weather": 7,
    "wind_direction": "E",
    "wind_gusts": 26.5331984,
    "wind_speed": 10.3355064
  }
}

Validation #256

Failure

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

  • The property '#/current_weather/recommended_spray' of type null did not match the following type: integer in schema dc8a3223-dea3-59e5-a03e-fb5c913e8cef
  • The property '#/current_weather/risk_of_rain' of type number did not match the following type: integer in schema dc8a3223-dea3-59e5-a03e-fb5c913e8cef

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultRainradar_301": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "type": "integer"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadar - DefaultRainradar",
      "type": "object"
    },
    "DefaultWarning_302": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "type"
      ],
      "title": "Warning - DefaultWarning",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "properties": {
    "current_weather": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "pattern": "^[A-Z](\\p{L}|-)+$",
          "type": "string"
        },
        "city_code": {
          "pattern": "^[A-Z0-9\\-_]*$",
          "type": "string"
        },
        "humidity": {
          "maximum": 70,
          "minimum": 30,
          "type": "number"
        },
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "night": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "pluviometry": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "pluviometry_cumul": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "rain_radar": {
          "items": {
            "$ref": "#/definitions/DefaultRainradar_301",
            "type": "object"
          },
          "type": "array"
        },
        "recommended_spray": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "risk_of_rain": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "snow": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "temperature": {
          "maximum": 40,
          "minimum": -15,
          "type": "number"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "warnings": {
          "items": {
            "$ref": "#/definitions/DefaultWarning_302",
            "type": "object"
          },
          "type": "array"
        },
        "weather": {
          "maximum": 30,
          "minimum": 0,
          "type": "integer"
        },
        "wind_direction": {
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "wind_gusts": {
          "maximum": 60,
          "minimum": 25,
          "type": "number"
        },
        "wind_speed": {
          "maximum": 30,
          "minimum": 5,
          "type": "number"
        }
      },
      "required": [
        "city",
        "city_code",
        "humidity",
        "latitude",
        "longitude",
        "night",
        "pluviometry",
        "pluviometry_cumul",
        "rain_radar",
        "recommended_spray",
        "risk_of_rain",
        "snow",
        "temperature",
        "time",
        "timezone",
        "warnings",
        "weather",
        "wind_direction",
        "wind_gusts",
        "wind_speed"
      ],
      "type": "object"
    }
  },
  "required": [
    "current_weather"
  ],
  "title": "CurrentWeather - DefaultCurrentweather",
  "type": "object"
}

JSON instance

{
  "current_weather": {
    "city": "NOGENT-SUR-SEINE",
    "city_code": "CY_FR_10268",
    "humidity": 45.11119,
    "latitude": 48.483333,
    "longitude": 3.5,
    "night": 0,
    "pluviometry": 0,
    "pluviometry_cumul": 0,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2018-05-25T13:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T16:00:00Z"
      }
    ],
    "recommended_spray": null,
    "risk_of_rain": 1,
    "snow": 0,
    "temperature": 25.69891,
    "time": "2018-05-25T13:55:02Z",
    "timezone": "Europe/Paris",
    "warnings": [],
    "weather": 7,
    "wind_direction": "E",
    "wind_gusts": 26.5331984,
    "wind_speed": 10.3355064
  }
}

Validation #255

Failure

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

  • The property '#/' contains additional properties ["current_weathers"] outside of the schema when none are allowed in schema dc8a3223-dea3-59e5-a03e-fb5c913e8cef
  • The property '#/' did not contain a required property of 'current_weather' in schema dc8a3223-dea3-59e5-a03e-fb5c913e8cef

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultRainradar_301": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "type": "integer"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadar - DefaultRainradar",
      "type": "object"
    },
    "DefaultWarning_302": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "type"
      ],
      "title": "Warning - DefaultWarning",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "properties": {
    "current_weather": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "pattern": "^[A-Z](\\p{L}|-)+$",
          "type": "string"
        },
        "city_code": {
          "pattern": "^[A-Z0-9\\-_]*$",
          "type": "string"
        },
        "humidity": {
          "maximum": 70,
          "minimum": 30,
          "type": "number"
        },
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "night": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "pluviometry": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "pluviometry_cumul": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "rain_radar": {
          "items": {
            "$ref": "#/definitions/DefaultRainradar_301",
            "type": "object"
          },
          "type": "array"
        },
        "recommended_spray": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "risk_of_rain": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "snow": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "temperature": {
          "maximum": 40,
          "minimum": -15,
          "type": "number"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "warnings": {
          "items": {
            "$ref": "#/definitions/DefaultWarning_302",
            "type": "object"
          },
          "type": "array"
        },
        "weather": {
          "maximum": 30,
          "minimum": 0,
          "type": "integer"
        },
        "wind_direction": {
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "wind_gusts": {
          "maximum": 60,
          "minimum": 25,
          "type": "number"
        },
        "wind_speed": {
          "maximum": 30,
          "minimum": 5,
          "type": "number"
        }
      },
      "required": [
        "city",
        "city_code",
        "humidity",
        "latitude",
        "longitude",
        "night",
        "pluviometry",
        "pluviometry_cumul",
        "rain_radar",
        "recommended_spray",
        "risk_of_rain",
        "snow",
        "temperature",
        "time",
        "timezone",
        "warnings",
        "weather",
        "wind_direction",
        "wind_gusts",
        "wind_speed"
      ],
      "type": "object"
    }
  },
  "required": [
    "current_weather"
  ],
  "title": "CurrentWeather - DefaultCurrentweather",
  "type": "object"
}

JSON instance

{
  "current_weathers": {
    "city": "NOGENT-SUR-SEINE",
    "city_code": "CY_FR_10268",
    "humidity": 45.11119,
    "latitude": 48.483333,
    "longitude": 3.5,
    "night": 0,
    "pluviometry": 0,
    "pluviometry_cumul": 0,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2018-05-25T13:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T14:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T15:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2018-05-25T16:00:00Z"
      }
    ],
    "recommended_spray": null,
    "risk_of_rain": 1,
    "snow": 0,
    "temperature": 25.69891,
    "time": "2018-05-25T13:55:02Z",
    "timezone": "Europe/Paris",
    "warnings": [],
    "weather": 7,
    "wind_direction": "E",
    "wind_gusts": 26.5331984,
    "wind_speed": 10.3355064
  }
}

Validation #254

Failure

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

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultRainradar_301": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "type": "integer"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadar - DefaultRainradar",
      "type": "object"
    },
    "DefaultWarning_302": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "type"
      ],
      "title": "Warning - DefaultWarning",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "properties": {
    "current_weather": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "pattern": "^[A-Z](\\p{L}|-)+$",
          "type": "string"
        },
        "city_code": {
          "pattern": "^[A-Z0-9\\-_]*$",
          "type": "string"
        },
        "humidity": {
          "maximum": 70,
          "minimum": 30,
          "type": "number"
        },
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "night": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "pluviometry": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "pluviometry_cumul": {
          "maximum": 2,
          "minimum": 0,
          "type": "number"
        },
        "rain_radar": {
          "items": {
            "$ref": "#/definitions/DefaultRainradar_301",
            "type": "object"
          },
          "type": "array"
        },
        "recommended_spray": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "risk_of_rain": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "snow": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "temperature": {
          "maximum": 40,
          "minimum": -15,
          "type": "number"
        },
        "time": {
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "maxLength": 30,
          "minLength": 2,
          "type": "string"
        },
        "warnings": {
          "items": {
            "$ref": "#/definitions/DefaultWarning_302",
            "type": "object"
          },
          "type": "array"
        },
        "weather": {
          "maximum": 30,
          "minimum": 0,
          "type": "integer"
        },
        "wind_direction": {
          "maxLength": 3,
          "minLength": 1,
          "type": "string"
        },
        "wind_gusts": {
          "maximum": 60,
          "minimum": 25,
          "type": "number"
        },
        "wind_speed": {
          "maximum": 30,
          "minimum": 5,
          "type": "number"
        }
      },
      "required": [
        "city",
        "city_code",
        "humidity",
        "latitude",
        "longitude",
        "night",
        "pluviometry",
        "pluviometry_cumul",
        "rain_radar",
        "recommended_spray",
        "risk_of_rain",
        "snow",
        "temperature",
        "time",
        "timezone",
        "warnings",
        "weather",
        "wind_direction",
        "wind_gusts",
        "wind_speed"
      ],
      "type": "object"
    }
  },
  "required": [
    "current_weather"
  ],
  "title": "CurrentWeather - DefaultCurrentweather",
  "type": "object"
}

JSON instance

{ "current_weathers": {
  {
  "time": "2018-05-25T13:55:02Z",
  "temperature": 25.69891,
  "weather": 7,
  "recommended_spray": null,
  "wind_speed": 10.3355064,
  "wind_gusts": 26.5331984,
  "wind_direction": "E",
  "humidity": 45.11119,
  "pluviometry": 0.0,
  "pluviometry_cumul": 0.0,
  "risk_of_rain": 1.0,
  "warnings": [],
  "rain_radar": [{
    "time": "2018-05-25T13:30:00Z",
    "rain_code": 0
  }, {
    "time": "2018-05-25T14:00:00Z",
    "rain_code": 0
  }, {
    "time": "2018-05-25T14:30:00Z",
    "rain_code": 0
  }, {
    "time": "2018-05-25T15:00:00Z",
    "rain_code": 0
  }, {
    "time": "2018-05-25T15:30:00Z",
    "rain_code": 0
  }, {
    "time": "2018-05-25T16:00:00Z",
    "rain_code": 0
  }],
  "night": 0,
  "snow": 0,
  "city_code": "CY_FR_10268",
  "city": "NOGENT-SUR-SEINE",
  "latitude": 48.483333,
  "longitude": 3.5,
  "timezone": "Europe/Paris"
}
}