Validations history

Validation #1022

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultResult_3008": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "outcome": {
          "enum": [
            "win",
            "draw",
            "defeat",
            "ignored"
          ],
          "type": "string"
        },
        "rating_delta": {
          "type": "integer"
        }
      },
      "required": [
        "outcome",
        "rating_delta"
      ],
      "title": "Result - DefaultResult",
      "type": "object"
    },
    "ShortPlayer_3004": {
      "additionalProperties": false,
      "properties": {
        "current_rating": {
          "description": "Rating is a number of points. Ranking are based on this rating.",
          "type": "integer"
        },
        "first_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "global_ranking": {
          "description": "Ranking between all players.",
          "type": "integer"
        },
        "group": {
          "type": "string"
        },
        "group_ranking": {
          "description": "Ranking between the players of player’s group",
          "type": "string"
        },
        "id": {
          "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",
          "type": "string"
        },
        "last_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "current_rating",
        "first_name",
        "global_ranking",
        "group",
        "group_ranking",
        "id",
        "last_name"
      ],
      "title": "Player - ShortPlayer",
      "type": "object"
    }
  },
  "properties": {
    "matches": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "current_round_index": {
            "minimum": 0,
            "type": "integer"
          },
          "expires_at": {
            "format": "date-time",
            "type": "string"
          },
          "finished_rounds_opponent_score": {
            "type": "number"
          },
          "id": {
            "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",
            "type": "string"
          },
          "my_score": {
            "minimum": 0,
            "type": "integer"
          },
          "opponent": {
            "$ref": "#/definitions/ShortPlayer_3004",
            "type": "object"
          },
          "opponent_score": {
            "minimum": 0,
            "type": "integer"
          },
          "result": {
            "anyOf": [
              {
                "$ref": "#/definitions/DefaultResult_3008",
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "stage": {
            "enum": [
              "new_game",
              "challenge",
              "playing",
              "finished"
            ],
            "type": "string"
          },
          "turn": {
            "enum": [
              "mine",
              "opponent",
              "finished"
            ],
            "type": "string"
          }
        },
        "required": [
          "current_round_index",
          "expires_at",
          "finished_rounds_opponent_score",
          "id",
          "my_score",
          "opponent",
          "opponent_score",
          "result",
          "stage",
          "turn"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "matches"
  ],
  "title": "Match - ShortMatch",
  "type": "object"
}

JSON instance

{
  "matches": [
    {
      "current_round_index": 17944088,
      "expires_at": "2016-05-06T17:29:23.898Z",
      "finished_rounds_opponent_score": 31137821.280743554,
      "id": "525b6aeb-fad3-3a42-8c33-124bb837e55e",
      "my_score": 21408063,
      "opponent": {
        "current_rating": -21615477,
        "first_name": null,
        "global_ranking": -86283840,
        "group": "magna ",
        "group_ranking": "dolore sed officia aliquip",
        "id": "9e8cbe4f-1e16-42fb-8b0b-758e4c8e082a",
        "last_name": null
      },
      "opponent_score": 68193481,
      "result": {
        "outcome": "draw",
        "rating_delta": -12085636
      },
      "stage": "challenge",
      "turn": "finished"
    },
    {
      "current_round_index": 52012417,
      "expires_at": "1943-04-17T20:59:23.567Z",
      "finished_rounds_opponent_score": 38410588.27887452,
      "id": "37fa8349-25fa-14da-934e-c0ff86b0a06d",
      "my_score": 9579261,
      "opponent": {
        "current_rating": -23844387,
        "first_name": null,
        "global_ranking": 59625060,
        "group": "consectetur non anim commodo",
        "group_ranking": "aute reprehenderit cupidatat",
        "id": "7c42f5b1-fb24-3d9d-98d8-f00baa189067",
        "last_name": null
      },
      "opponent_score": 35453977,
      "result": {
        "outcome": "win",
        "rating_delta": -950021
      },
      "stage": "new_game",
      "turn": "finished"
    },
    {
      "current_round_index": 40464450,
      "expires_at": "1945-03-09T23:34:01.143Z",
      "finished_rounds_opponent_score": 34936086.07254362,
      "id": "c7688d34-36a4-4894-801b-ecfcf9e64036",
      "my_score": 56122917,
      "opponent": {
        "current_rating": -49763365,
        "first_name": "in consequat",
        "global_ranking": 48737348,
        "group": "nulla non do",
        "group_ranking": "aliquip culpa",
        "id": "5dedb07c-ec61-4a8c-9c52-79ab55b8f6f7",
        "last_name": "officia id aliquip sed exercitation"
      },
      "opponent_score": 77366103,
      "result": null,
      "stage": "finished",
      "turn": "finished"
    }
  ]
}

Validation #1021

Success

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

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "offer_transaction": {
      "additionalProperties": false,
      "properties": {
        "base_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "description": "Farm customer number",
          "type": "string"
        },
        "customer_relation_email": {
          "type": "string"
        },
        "delivery_mode": {
          "description": "deliveryType.main_type",
          "type": "string"
        },
        "delivery_mode_id": {
          "anyOf": [
            {
              "description": "deliveryType.id",
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_place_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "email": {
          "type": "string"
        },
        "hash_farm_id": {
          "description": "Le Hash de l’IdFARM sera un code généré par le Front Farmi pour permettre le contrôle d’accès à une transaction associé à une exploitation.",
          "type": "string"
        },
        "id_delivery_address": {
          "anyOf": [
            {
              "description": "delivery_address.id_delivery_address",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "language": {
          "type": "string"
        },
        "last_price_update": {
          "format": "date-time",
          "type": "string"
        },
        "maturity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "maturity_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "mobile_phone": {
          "type": "string"
        },
        "offer_id": {
          "type": "integer"
        },
        "price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_difference": {
          "anyOf": [
            {
              "description": "= priceDiff côté Soufflet",
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_zone_id": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "strike_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "warranty_cost": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "customer_number",
        "customer_relation_email",
        "delivery_mode",
        "delivery_mode_id",
        "delivery_period_code",
        "delivery_period_id",
        "delivery_period_name",
        "delivery_place_label",
        "email",
        "hash_farm_id",
        "language",
        "mobile_phone",
        "offer_id",
        "price_zone_id",
        "quantity"
      ],
      "type": "object"
    }
  },
  "required": [
    "offer_transaction"
  ],
  "title": "OfferTransaction - v2NewTransactionParameters",
  "type": "object"
}

JSON instance

{
  "offer_transaction": {
    "customer_number": "Lorem",
    "customer_relation_email": "sed Ut",
    "delivery_mode": "id irure exercitation minim",
    "delivery_mode_id": 35840801,
    "delivery_period_code": null,
    "delivery_period_id": 88439014,
    "delivery_period_name": null,
    "delivery_place_label": "deserunt laboris officia",
    "email": "eiusmod dolor dolore Duis esse",
    "hash_farm_id": "nostrud eiusmod",
    "language": "dolore",
    "mobile_phone": "in commodo",
    "offer_id": -1483565,
    "price_zone_id": 67857085,
    "quantity": 7989026.571592107
  }
}

Validation #1020

Failure

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

  • The property '#/' contains additional properties ["language"] outside of the schema when none are allowed in schema ee32f75b-9fc6-561f-b76b-c21fee518358
  • The property '#/offer_transaction' contains additional properties ["idDeliveryAddress"] outside of the schema when none are allowed in schema ee32f75b-9fc6-561f-b76b-c21fee518358
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema ee32f75b-9fc6-561f-b76b-c21fee518358
  • The property '#/offer_transaction' did not contain a required property of 'language' in schema ee32f75b-9fc6-561f-b76b-c21fee518358

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "offer_transaction": {
      "additionalProperties": false,
      "properties": {
        "base_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "description": "Farm customer number",
          "type": "string"
        },
        "customer_relation_email": {
          "type": "string"
        },
        "delivery_mode": {
          "description": "deliveryType.main_type",
          "type": "string"
        },
        "delivery_mode_id": {
          "anyOf": [
            {
              "description": "deliveryType.id",
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_period_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_place_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "email": {
          "type": "string"
        },
        "hash_farm_id": {
          "description": "Le Hash de l’IdFARM sera un code généré par le Front Farmi pour permettre le contrôle d’accès à une transaction associé à une exploitation.",
          "type": "string"
        },
        "id_delivery_address": {
          "anyOf": [
            {
              "description": "delivery_address.id_delivery_address",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "language": {
          "type": "string"
        },
        "last_price_update": {
          "format": "date-time",
          "type": "string"
        },
        "maturity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "maturity_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "mobile_phone": {
          "type": "string"
        },
        "offer_id": {
          "type": "integer"
        },
        "price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_difference": {
          "anyOf": [
            {
              "description": "= priceDiff côté Soufflet",
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_zone_id": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "strike_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "warranty_cost": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "customer_number",
        "customer_relation_email",
        "delivery_mode",
        "delivery_mode_id",
        "delivery_period_code",
        "delivery_period_id",
        "delivery_period_name",
        "delivery_place_label",
        "email",
        "hash_farm_id",
        "language",
        "mobile_phone",
        "offer_id",
        "price_zone_id",
        "quantity"
      ],
      "type": "object"
    }
  },
  "required": [
    "offer_transaction"
  ],
  "title": "OfferTransaction - v2NewTransactionParameters",
  "type": "object"
}

JSON instance

{
  "language": "fr-FR",
  "offer_transaction": {
    "base_price": 212.45,
    "customer_number": "98034066",
    "customer_relation_email": "mgabette@soufflet.com",
    "delivery_mode": "RDU1",
    "delivery_mode_id": 559,
    "delivery_period_code": "Janvier",
    "delivery_period_id": 293,
    "delivery_period_name": "JANV / MARS",
    "delivery_place": "0006",
    "email": "mgabette@soufflet.com",
    "hash_farm_id": "9dd2893ac3fd61c267fdd0e5d068de24c64986e527899166574962859b1f421a",
    "idDeliveryAddress": "90127191",
    "last_price_update": "2021-01-28T15:04:59+01:00",
    "mobile_phone": "0033649582454",
    "offer_id": 282,
    "price": 219.89,
    "price_difference": 3,
    "price_zone_id": 12,
    "quantity": 1
  }
}

Validation #1019

Failure

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

  • The property '#/' of type array did not match the following type: object in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

[
  {
    "cropCode": "OP",
    "cropLabel": "ORGE PRINTEMPS",
    "harvest": 2021,
    "notifications": [
      {
        "activeValue": 0,
        "cropCode": "OP",
        "cropLabel": "ORGE PRINTEMPS",
        "deliveryMode": "DEP2",
        "harvest": 2021,
        "increaseValue": 0,
        "notificationId": 41,
        "periodCode": "moisson",
        "periodLabel": "MOISSON",
        "productId": 204,
        "productName": "ORGE FANTEX",
        "saleAgreement": {
          "expirationDate": "2021-08-31T00:00:00",
          "idDeliveryAddress": "90127191",
          "quantity": 56,
          "saleAgreementId": 10000002
        },
        "thresholdValue": 200
      },
      {
        "activeValue": 0,
        "cropCode": "OP",
        "cropLabel": "ORGE PRINTEMPS",
        "deliveryMode": "DEP2",
        "harvest": 2021,
        "increaseValue": 7.44,
        "notificationId": 42,
        "periodCode": "Janvier",
        "periodLabel": "JANV / MARS",
        "productId": 65,
        "productName": "ORGE PLANET",
        "saleAgreement": {
          "expirationDate": "2021-01-31T00:00:00",
          "idDeliveryAddress": "90127191",
          "quantity": 15,
          "saleAgreementId": 10000003
        },
        "thresholdValue": 320
      }
    ],
    "totalQuantity": 71
  }
]

Validation #1018

Failure

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

  • The property '#/notifications/0/saleAgreement' of type object did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/notifications/0/saleAgreement' did not contain a required property of 'notificationId' - anyOf #1: - The property '#/notifications/0/saleAgreement' of type object did not match the following type: null
  • The property '#/notifications/0' did not contain a required property of 'productBase' in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8#
  • The property '#/notifications/1/saleAgreement' of type object did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/notifications/1/saleAgreement' did not contain a required property of 'notificationId' - anyOf #1: - The property '#/notifications/1/saleAgreement' of type object did not match the following type: null
  • The property '#/notifications/1' did not contain a required property of 'productBase' in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

{
  "cropCode": "OP",
  "cropLabel": "ORGE PRINTEMPS",
  "harvest": 2021,
  "notifications": [
    {
      "activeValue": 0,
      "cropCode": "OP",
      "cropLabel": "ORGE PRINTEMPS",
      "deliveryMode": "DEP2",
      "harvest": 2021,
      "increaseValue": 0,
      "notificationId": 41,
      "periodCode": "moisson",
      "periodLabel": "MOISSON",
      "productId": 204,
      "productName": "ORGE FANTEX",
      "saleAgreement": {
        "expirationDate": "2021-08-31T00:00:00",
        "idDeliveryAddress": "90127191",
        "quantity": 56,
        "saleAgreementId": 10000002
      },
      "thresholdValue": 200
    },
    {
      "activeValue": 0,
      "cropCode": "OP",
      "cropLabel": "ORGE PRINTEMPS",
      "deliveryMode": "DEP2",
      "harvest": 2021,
      "increaseValue": 7.44,
      "notificationId": 42,
      "periodCode": "Janvier",
      "periodLabel": "JANV / MARS",
      "productId": 65,
      "productName": "ORGE PLANET",
      "saleAgreement": {
        "expirationDate": "2021-01-31T00:00:00",
        "idDeliveryAddress": "90127191",
        "quantity": 15,
        "saleAgreementId": 10000003
      },
      "thresholdValue": 320
    }
  ],
  "totalQuantity": 71
}

Validation #1017

Failure

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

  • The property '#/' of type array did not match the following type: object in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

[
  {
    "cropCode": "OP",
    "cropLabel": "ORGE PRINTEMPS",
    "harvest": 2021,
    "notifications": [
      {
        "activeValue": 0,
        "cropCode": "OP",
        "cropLabel": "ORGE PRINTEMPS",
        "deliveryMode": "DEP2",
        "harvest": 2021,
        "increaseValue": 0,
        "notificationId": 41,
        "periodCode": "moisson",
        "periodLabel": "MOISSON",
        "productId": 204,
        "productName": "ORGE FANTEX",
        "saleAgreement": {
          "expirationDate": "2021-08-31T00:00:00",
          "idDeliveryAddress": "90127191",
          "quantity": 56,
          "saleAgreementId": 10000002
        },
        "thresholdValue": 200
      },
      {
        "activeValue": 0,
        "cropCode": "OP",
        "cropLabel": "ORGE PRINTEMPS",
        "deliveryMode": "DEP2",
        "harvest": 2021,
        "increaseValue": 7.44,
        "notificationId": 42,
        "periodCode": "Janvier",
        "periodLabel": "JANV / MARS",
        "productId": 65,
        "productName": "ORGE PLANET",
        "saleAgreement": {
          "expirationDate": "2021-01-31T00:00:00",
          "idDeliveryAddress": "90127191",
          "quantity": 15,
          "saleAgreementId": 10000003
        },
        "thresholdValue": 320
      }
    ],
    "totalQuantity": 71
  }
]

Validation #1016

Failure

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

  • The property '#/notifications/0/saleAgreement' of type object did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/notifications/0/saleAgreement' did not contain a required property of 'notificationId' - anyOf #1: - The property '#/notifications/0/saleAgreement' of type object did not match the following type: null
  • The property '#/notifications/0' did not contain a required property of 'productBase' in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

{
  "cropCode": "OP",
  "cropLabel": "ORGE PRINTEMPS",
  "harvest": 2021,
  "notifications": [
    {
      "activeValue": 0,
      "cropCode": "OP",
      "cropLabel": "ORGE PRINTEMPS",
      "deliveryMode": "DEP2",
      "harvest": 2021,
      "increaseValue": 0,
      "notificationId": 41,
      "periodCode": "moisson",
      "periodLabel": "MOISSON",
      "productId": 204,
      "productName": "ORGE FANTEX",
      "saleAgreement": {
        "expirationDate": "2021-08-31T00:00:00",
        "idDeliveryAddress": "90127191",
        "quantity": 56,
        "saleAgreementId": 10000002
      },
      "thresholdValue": 200
    }
  ],
  "totalQuantity": 56
}

Validation #1015

Failure

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

  • The property '#/' of type array did not match the following type: object in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

[
  {
    "cropCode": "OP",
    "cropLabel": "ORGE PRINTEMPS",
    "harvest": 2021,
    "notifications": [
      {
        "activeValue": 0,
        "cropCode": "OP",
        "cropLabel": "ORGE PRINTEMPS",
        "deliveryMode": "DEP2",
        "harvest": 2021,
        "increaseValue": 0,
        "notificationId": 41,
        "periodCode": "moisson",
        "periodLabel": "MOISSON",
        "productId": 204,
        "productName": "ORGE FANTEX",
        "saleAgreement": {
          "expirationDate": "2021-08-31T00:00:00",
          "idDeliveryAddress": "90127191",
          "quantity": 56,
          "saleAgreementId": 10000002
        },
        "thresholdValue": 200
      }
    ],
    "totalQuantity": 56
  }
]

Validation #1014

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

{
  "cropCode": "consectetur culpa aute exercitation",
  "harvest": 16976322,
  "notifications": [
    {
      "activeValue": -20291654.393500686,
      "cropCode": "velit in enim",
      "cropLabel": "Duis adipisicing",
      "deliveryMode": "reprehenderit sed",
      "harvest": -20132400,
      "increaseValue": -92509194.62658134,
      "notificationId": 43724385,
      "periodCode": "cupidatat dolor",
      "periodLabel": "do occaecat",
      "productBase": "Excepteur irure nulla qui aliquip",
      "productId": 84610769,
      "productName": "adipisicing tempor",
      "thresholdValue": -77540664.9504331
    }
  ],
  "totalQuantity": -82950459.38396339
}

Validation #1013

Failure

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

  • The property '#/notifications/0/saleAgreement' of type object did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/notifications/0/saleAgreement' did not contain a required property of 'notificationId' - anyOf #1: - The property '#/notifications/0/saleAgreement' of type object did not match the following type: null
  • The property '#/notifications/0' did not contain a required property of 'productBase' in schema d5aebb41-f73d-5631-a9c0-805af7bc74c8#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCollectAlert_1859": {
      "additionalProperties": false,
      "properties": {
        "activeValue": {
          "type": "number"
        },
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "deliveryMode": {
          "type": "string"
        },
        "harvest": {
          "type": "integer"
        },
        "increaseValue": {
          "type": "number"
        },
        "notificationId": {
          "type": "integer"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        },
        "placeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "placeName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productName": {
          "type": "string"
        },
        "saleAgreement": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultSaleAgreement_2812",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "thresholdValue": {
          "type": "number"
        }
      },
      "required": [
        "activeValue",
        "cropCode",
        "cropLabel",
        "deliveryMode",
        "harvest",
        "increaseValue",
        "notificationId",
        "periodCode",
        "periodLabel",
        "productBase",
        "productId",
        "productName",
        "thresholdValue"
      ],
      "title": "CollectAlert - DefaultCollectAlert",
      "type": "object"
    },
    "DefaultSaleAgreement_2812": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "comment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expirationDate": {
          "type": "string"
        },
        "idDeliveryAddress": {
          "type": "string"
        },
        "notificationId": {
          "type": "integer"
        },
        "quantity": {
          "type": "number"
        },
        "saleAgreementId": {
          "type": "integer"
        }
      },
      "required": [
        "expirationDate",
        "idDeliveryAddress",
        "notificationId",
        "quantity",
        "saleAgreementId"
      ],
      "title": "SaleAgreement - DefaultSaleAgreement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "cropCode": {
      "description": "Jamais utilisé ",
      "type": "string"
    },
    "cropLabel": {
      "anyOf": [
        {
          "description": "Jamais utilisé ",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "harvest": {
      "description": "Jamais utilisé ",
      "type": "integer"
    },
    "notifications": {
      "items": {
        "$ref": "#/definitions/DefaultCollectAlert_1859",
        "type": "object"
      },
      "type": "array"
    },
    "totalQuantity": {
      "description": "Jamais utilisé ",
      "type": "number"
    }
  },
  "required": [
    "cropCode",
    "harvest",
    "notifications",
    "totalQuantity"
  ],
  "title": "SaleAgreementSummaryResponse - DefaultSaleAgreementSummaryResponse",
  "type": "object"
}

JSON instance

{
  "cropCode": "OP",
  "cropLabel": "ORGE PRINTEMPS",
  "harvest": 2021,
  "notifications": [
    {
      "activeValue": 0,
      "cropCode": "OP",
      "cropLabel": "ORGE PRINTEMPS",
      "deliveryMode": "DEP2",
      "harvest": 2021,
      "increaseValue": 0,
      "notificationId": 41,
      "periodCode": "moisson",
      "periodLabel": "MOISSON",
      "productId": 204,
      "productName": "ORGE FANTEX",
      "saleAgreement": {
        "expirationDate": "2021-08-31T00:00:00",
        "idDeliveryAddress": "90127191",
        "quantity": 56,
        "saleAgreementId": 10000002
      },
      "thresholdValue": 200
    }
  ],
  "totalQuantity": 56
}