Validations history

Validation #1175

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCompletedOrder_1851": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "orderNumber": {
          "type": "integer"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/shortProductWithTraceability_1656",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "orderNumber",
        "products"
      ],
      "title": "completedOrder - DefaultCompletedOrder",
      "type": "object"
    },
    "shortProductWithTraceability_1656": {
      "additionalProperties": false,
      "properties": {
        "quantity": {
          "description": "in PRINT MVP always = 1",
          "type": "integer"
        },
        "serialNumber": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sku": {
          "type": "string"
        }
      },
      "required": [
        "quantity",
        "sku"
      ],
      "title": "product - shortProductWithTraceability",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "date": {
      "format": "date",
      "type": "string"
    },
    "labelType": {
      "enum": [
        "CDI_TAG",
        "CDI_MAXI"
      ],
      "type": "string"
    },
    "orders": {
      "items": {
        "$ref": "#/definitions/DefaultCompletedOrder_1851",
        "type": "object"
      },
      "type": "array"
    },
    "printerId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "stockroomId": {
      "type": "string"
    },
    "storeId": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "orders",
    "stockroomId",
    "storeId"
  ],
  "title": "completedOrders - defaultCompletedOrders",
  "type": "object"
}

JSON instance

{
  "date": "2021-04-29",
  "labelType": "CDI_TAG",
  "orders": [
    {
      "orderNumber": 91778,
      "products": [
        {
          "quantity": 1,
          "sku": "V20942"
        }
      ]
    }
  ],
  "printerId": "PDF_100_tag",
  "stockroomId": "100",
  "storeId": "100"
}

Validation #1174

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCompletedOrder_1851": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "orderNumber": {
          "type": "integer"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/shortProductWithTraceability_1656",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "orderNumber",
        "products"
      ],
      "title": "completedOrder - DefaultCompletedOrder",
      "type": "object"
    },
    "shortProductWithTraceability_1656": {
      "additionalProperties": false,
      "properties": {
        "quantity": {
          "description": "in PRINT MVP always = 1",
          "type": "integer"
        },
        "serialNumber": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sku": {
          "type": "string"
        }
      },
      "required": [
        "quantity",
        "sku"
      ],
      "title": "product - shortProductWithTraceability",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "date": {
      "format": "date",
      "type": "string"
    },
    "labelType": {
      "enum": [
        "CDI_TAG",
        "CDI_MAXI"
      ],
      "type": "string"
    },
    "orders": {
      "items": {
        "$ref": "#/definitions/DefaultCompletedOrder_1851",
        "type": "object"
      },
      "type": "array"
    },
    "printerId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "stockroomId": {
      "type": "string"
    },
    "storeId": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "orders",
    "stockroomId",
    "storeId"
  ],
  "title": "completedOrders - defaultCompletedOrders",
  "type": "object"
}

JSON instance

{
  "date": "2021-04-29",
  "labelType": "CDI_TAG",
  "orders": [
    {
      "orderNumber": 91778,
      "products": [
        {
          "quantity": 1,
          "sku": "V20942"
        }
      ]
    }
  ],
  "printerId": "PDF_100_tag",
  "stockroomId": "100",
  "storeId": "100"
}

Validation #1173

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCompletedOrder_1851": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "orderNumber": {
          "type": "integer"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/shortProductWithTraceability_1656",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "orderNumber",
        "products"
      ],
      "title": "completedOrder - DefaultCompletedOrder",
      "type": "object"
    },
    "shortProductWithTraceability_1656": {
      "additionalProperties": false,
      "properties": {
        "quantity": {
          "description": "in PRINT MVP always = 1",
          "type": "integer"
        },
        "serialNumber": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sku": {
          "type": "string"
        }
      },
      "required": [
        "quantity",
        "sku"
      ],
      "title": "product - shortProductWithTraceability",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "date": {
      "format": "date",
      "type": "string"
    },
    "labelType": {
      "enum": [
        "CDI_TAG",
        "CDI_MAXI"
      ],
      "type": "string"
    },
    "orders": {
      "items": {
        "$ref": "#/definitions/DefaultCompletedOrder_1851",
        "type": "object"
      },
      "type": "array"
    },
    "printerId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "stockroomId": {
      "type": "string"
    },
    "storeId": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "orders",
    "stockroomId",
    "storeId"
  ],
  "title": "completedOrders - defaultCompletedOrders",
  "type": "object"
}

JSON instance

{
  "date": "2021-04-29",
  "labelType": "CDI_TAG",
  "orders": [
    {
      "orderNumber": 91778,
      "products": [
        {
          "quantity": 1,
          "sku": "V20942"
        }
      ]
    }
  ],
  "printerId": "PDF_100_tag",
  "stockroomId": "100",
  "storeId": "100"
}

Validation #1172

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCompletedOrder_1851": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "orderNumber": {
          "type": "integer"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/shortProductWithTraceability_1656",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "orderNumber",
        "products"
      ],
      "title": "completedOrder - DefaultCompletedOrder",
      "type": "object"
    },
    "shortProductWithTraceability_1656": {
      "additionalProperties": false,
      "properties": {
        "quantity": {
          "description": "in PRINT MVP always = 1",
          "type": "integer"
        },
        "serialNumber": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sku": {
          "type": "string"
        }
      },
      "required": [
        "quantity",
        "sku"
      ],
      "title": "product - shortProductWithTraceability",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "date": {
      "format": "date",
      "type": "string"
    },
    "labelType": {
      "enum": [
        "CDI_TAG",
        "CDI_MAXI"
      ],
      "type": "string"
    },
    "orders": {
      "items": {
        "$ref": "#/definitions/DefaultCompletedOrder_1851",
        "type": "object"
      },
      "type": "array"
    },
    "printerId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "stockroomId": {
      "type": "string"
    },
    "storeId": {
      "type": "string"
    }
  },
  "required": [
    "date",
    "orders",
    "stockroomId",
    "storeId"
  ],
  "title": "completedOrders - defaultCompletedOrders",
  "type": "object"
}

JSON instance

{
  "date": "2021-04-29",
  "labelType": "CDI_TAG",
  "orders": [
    {
      "orderNumber": 91617,
      "products": [
        {
          "quantity": 2,
          "sku": "P037017P"
        }
      ]
    }
  ],
  "printerId": "PDF_100_tag",
  "stockroomId": "100",
  "storeId": "100"
}

Validation #1171

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "MinimalFriendship_3177": {
      "additionalProperties": false,
      "properties": {
        "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"
        },
        "status": {
          "enum": [
            "pending",
            "confirmed"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "status"
      ],
      "title": "Friendship - MinimalFriendship",
      "type": "object"
    }
  },
  "properties": {
    "meta": {
      "properties": {
        "limit_value": {
          "nullable": false,
          "type": "integer"
        },
        "total_pages": {
          "nullable": false,
          "type": "integer"
        }
      },
      "required": [
        "total_pages",
        "limit_value"
      ],
      "type": "object"
    },
    "profiles": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "first_name": {
            "type": "string"
          },
          "friendship": {
            "anyOf": [
              {
                "$ref": "#/definitions/MinimalFriendship_3177",
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "description": "UUID",
            "type": "string"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "type": "string"
          },
          "nickname": {
            "type": "string"
          },
          "stages_user_id": {
            "type": "integer"
          }
        },
        "required": [
          "first_name",
          "friendship",
          "id",
          "image_url",
          "location",
          "nickname",
          "stages_user_id"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "profiles",
    "meta"
  ],
  "title": "Profile - ShortProfile",
  "type": "object"
}

JSON instance

{
  "meta": {
    "limit_value": -24478697,
    "total_pages": -8570658
  },
  "profiles": [
    {
      "first_name": "exercitation laborum id",
      "friendship": {
        "id": "ca7791e7-41dc-2297-bfbc-2e6c633f4748",
        "status": "pending"
      },
      "id": "s",
      "image_url": "labore id",
      "location": "eiusmod dolor Ut",
      "nickname": "labore",
      "stages_user_id": -57670938
    },
    {
      "first_name": "culpa labore",
      "friendship": {
        "id": "65d42c14-26ad-1a73-96b6-c6e6ca68d0e3",
        "status": "confirmed"
      },
      "id": "incididunt exercitation esse Lorem",
      "image_url": "et in pariatur Ut dolore",
      "location": "adipisicing ullamco ex eiusmod n",
      "nickname": "laboris consequat",
      "stages_user_id": -17767567
    }
  ]
}

Validation #1170

Success

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

JSON Schema

{
  "definitions": {
    "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"
    }
  },
  "items": {
    "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"
    ],
    "type": "object"
  },
  "title": "CollectAlert - DefaultCollectAlert",
  "type": "array"
}

JSON instance

[
  {
    "activeValue": 395.35,
    "cropCode": "OH",
    "cropLabel": "ORGE HIVER",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 4.65,
    "notificationId": 168,
    "periodCode": "0",
    "periodLabel": "SEPT / DEC",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 205,
    "productName": "ESC VISUEL",
    "saleAgreement": {
      "comment": null,
      "expirationDate": "2021-04-23T00:00:00",
      "idDeliveryAddress": "90127191",
      "notificationId": 0,
      "quantity": 30,
      "saleAgreementId": 10000029
    },
    "thresholdValue": 400
  },
  {
    "activeValue": 300,
    "cropCode": "BT",
    "cropLabel": "BLE TENDRE",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 0,
    "notificationId": 169,
    "periodCode": "0",
    "periodLabel": "MOISSON",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 105,
    "productName": "BLE BPMF MEUNERIE",
    "saleAgreement": null,
    "thresholdValue": 300
  }
]

Validation #1169

Failure

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

  • The property '#/0/saleAgreement' of type object did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/0/saleAgreement/quantity' of type string did not match the following type: number - anyOf #1: - The property '#/0/saleAgreement' of type object did not match the following type: null

JSON Schema

{
  "definitions": {
    "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"
    }
  },
  "items": {
    "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"
    ],
    "type": "object"
  },
  "title": "CollectAlert - DefaultCollectAlert",
  "type": "array"
}

JSON instance

[
  {
    "activeValue": 395.35,
    "cropCode": "OH",
    "cropLabel": "ORGE HIVER",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 4.65,
    "notificationId": 168,
    "periodCode": "0",
    "periodLabel": "SEPT / DEC",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 205,
    "productName": "ESC VISUEL",
    "saleAgreement": {
      "comment": null,
      "expirationDate": "2021-04-23T00:00:00",
      "idDeliveryAddress": "90127191",
      "notificationId": 0,
      "quantity": "30.000000",
      "saleAgreementId": 10000029
    },
    "thresholdValue": 400
  },
  {
    "activeValue": 300,
    "cropCode": "BT",
    "cropLabel": "BLE TENDRE",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 0,
    "notificationId": 169,
    "periodCode": "0",
    "periodLabel": "MOISSON",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 105,
    "productName": "BLE BPMF MEUNERIE",
    "saleAgreement": null,
    "thresholdValue": 300
  }
]

Validation #1168

Success

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

JSON Schema

{
  "definitions": {
    "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"
    }
  },
  "items": {
    "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"
    ],
    "type": "object"
  },
  "title": "CollectAlert - DefaultCollectAlert",
  "type": "array"
}

JSON instance

[
  {
    "activeValue": 395.35,
    "cropCode": "OH",
    "cropLabel": "ORGE HIVER",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 4.65,
    "notificationId": 168,
    "periodCode": "0",
    "periodLabel": "SEPT / DEC",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 205,
    "productName": "ESC VISUEL",
    "saleAgreement": {
      "comment": null,
      "expirationDate": "2021-04-23T00:00:00",
      "idDeliveryAddress": "90127191",
      "notificationId": 0,
      "quantity": 30,
      "saleAgreementId": 10000029
    },
    "thresholdValue": 400
  },
  {
    "activeValue": 300,
    "cropCode": "BT",
    "cropLabel": "BLE TENDRE",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 0,
    "notificationId": 169,
    "periodCode": "0",
    "periodLabel": "MOISSON",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 105,
    "productName": "BLE BPMF MEUNERIE",
    "saleAgreement": null,
    "thresholdValue": 300
  }
]

Validation #1167

Success

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

JSON Schema

{
  "definitions": {
    "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"
    }
  },
  "items": {
    "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"
    ],
    "type": "object"
  },
  "title": "CollectAlert - DefaultCollectAlert",
  "type": "array"
}

JSON instance

[
  {
    "activeValue": 395.35,
    "cropCode": "OH",
    "cropLabel": "ORGE HIVER",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 4.65,
    "notificationId": 168,
    "periodCode": "0",
    "periodLabel": "SEPT / DEC",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 205,
    "productName": "ESC VISUEL",
    "saleAgreement": {
      "comment": null,
      "expirationDate": "2021-04-23T00:00:00",
      "idDeliveryAddress": "90127191",
      "notificationId": 0,
      "quantity": 30,
      "saleAgreementId": 10000029
    },
    "thresholdValue": 400
  },
  {
    "activeValue": 300,
    "cropCode": "BT",
    "cropLabel": "BLE TENDRE",
    "deliveryMode": "RDU1",
    "harvest": 2021,
    "increaseValue": 0,
    "notificationId": 169,
    "periodCode": "0",
    "periodLabel": "MOISSON",
    "placeCode": "0006",
    "placeName": "LUYERES",
    "productBase": "Base Juillet",
    "productId": 105,
    "productName": "BLE BPMF MEUNERIE",
    "saleAgreement": null,
    "thresholdValue": 300
  }
]

Validation #1166

Success

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

JSON Schema

{
  "definitions": {
    "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"
    }
  },
  "items": {
    "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"
    ],
    "type": "object"
  },
  "title": "CollectAlert - DefaultCollectAlert",
  "type": "array"
}

JSON instance

[
  {
    "activeValue": 76713406.91710675,
    "cropCode": "laboris",
    "cropLabel": "dolor exercitation cillum",
    "deliveryMode": "ad nulla lab",
    "harvest": 76756518,
    "increaseValue": -52603228.53067771,
    "notificationId": -84622617,
    "periodCode": "dolor ex dolor laboris enim",
    "periodLabel": "commodo ut ea irure id",
    "productBase": "qui sit",
    "productId": -17492875,
    "productName": "d",
    "thresholdValue": 98070716.39349845
  },
  {
    "activeValue": 90202435.27720931,
    "cropCode": "dolore",
    "cropLabel": "Duis elit ex cupidatat irure",
    "deliveryMode": "cupidatat minim incididunt",
    "harvest": 6824848,
    "increaseValue": 76817675.52929148,
    "notificationId": -4405215,
    "periodCode": "cillum in quis adipisicing proident",
    "periodLabel": "offi",
    "productBase": "sunt et dolore mollit ",
    "productId": -79455650,
    "productName": "exercitation aliqua culpa laborum non",
    "thresholdValue": -85163984.78767529
  },
  {
    "activeValue": 58166035.673749775,
    "cropCode": "dolor magna irure velit",
    "cropLabel": "mollit officia elit aute id",
    "deliveryMode": "dolore ipsum eu quis",
    "harvest": 33150957,
    "increaseValue": -44240660.624873266,
    "notificationId": -45064894,
    "periodCode": "mollit consectetur esse",
    "periodLabel": "magna",
    "productBase": "anim et",
    "productId": -76075636,
    "productName": "anim aliquip",
    "thresholdValue": -61504593.18243206
  }
]