Validations history

Validation #1002

Failure

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

  • The property '#/contracts/0' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/1' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/3' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/4' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/5' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/6' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/7' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "ContractIdentifier_2761": {
      "additionalProperties": false,
      "properties": {
        "crmId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "crmId",
        "id"
      ],
      "title": "Contract - ContractIdentifier",
      "type": "object"
    },
    "DefaultCellVariety_2771": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cell": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "variety": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "title": "CellVariety - DefaultCellVariety",
      "type": "object"
    },
    "DefaultContractSample_2772": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cellVarieties": {
          "items": {
            "$ref": "#/definitions/DefaultCellVariety_2771",
            "type": "object"
          },
          "type": "array"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "date": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        }
      },
      "required": [
        "cellVarieties",
        "characteristics",
        "date",
        "number",
        "quantity"
      ],
      "title": "ContractSample - DefaultContractSample",
      "type": "object"
    },
    "DefaultDeliveryCharacteristic_2766": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryCharacteristic - DefaultDeliveryCharacteristic",
      "type": "object"
    },
    "DefaultDeliveryInvoice_2768": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "lines": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryLine_2769",
            "type": "object"
          },
          "type": "array"
        },
        "prices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryPrice_2773",
            "type": "object"
          },
          "type": "array"
        },
        "productLabel": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "characteristics",
        "lines",
        "prices",
        "productLabel"
      ],
      "title": "DeliveryInvoice - DefaultDeliveryInvoice",
      "type": "object"
    },
    "DefaultDeliveryLine_2769": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "invoiceDate": {
          "type": "string"
        },
        "invoiceNumber": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "netPrice": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "invoiceDate",
        "invoiceNumber",
        "label",
        "netPrice"
      ],
      "title": "DeliveryLine - DefaultDeliveryLine",
      "type": "object"
    },
    "DefaultDeliveryPrice_2773": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryPrice - DefaultDeliveryPrice",
      "type": "object"
    },
    "DefaultDelivery_2767": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "basePrice": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "contractualizableOffer": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "date": {
          "type": "string"
        },
        "deliveryModeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deliveryNumber": {
          "type": "string"
        },
        "invoices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryInvoice_2768",
            "type": "object"
          },
          "type": "array"
        },
        "netAmount": {
          "type": "number"
        },
        "netPrice": {
          "type": "number"
        },
        "normedAmount": {
          "type": "number"
        },
        "placeId": {
          "type": "string"
        },
        "productCode": {
          "type": "string"
        },
        "productName": {
          "type": "string"
        },
        "siteLabel": {
          "type": "string"
        },
        "stockType": {
          "type": "integer"
        },
        "variety": {
          "type": "string"
        },
        "varietyName": {
          "type": "string"
        }
      },
      "required": [
        "basePrice",
        "characteristics",
        "date",
        "deliveryNumber",
        "invoices",
        "netAmount",
        "netPrice",
        "normedAmount",
        "placeId",
        "productCode",
        "productName",
        "siteLabel",
        "stockType",
        "variety",
        "varietyName"
      ],
      "title": "Delivery - DefaultDelivery",
      "type": "object"
    },
    "DefaultSettlement_2762": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "date": {
          "description": "Date au format \"YYYY-MM-DD\"",
          "type": "string"
        },
        "price": {
          "type": "number"
        },
        "status": {
          "type": "integer"
        }
      },
      "required": [
        "amount",
        "date",
        "price",
        "status"
      ],
      "title": "Settlement - DefaultSettlement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "contracts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activePrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "amountToDeliver": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorizedUnlock": {
            "type": "boolean"
          },
          "commencementDate": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodityId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contracts": {
            "items": {
              "$ref": "#/definitions/ContractIdentifier_2761",
              "type": "object"
            },
            "type": "array"
          },
          "crmId": {
            "type": "string"
          },
          "date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveredAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveries": {
            "items": {
              "$ref": "#/definitions/DefaultDelivery_2767",
              "type": "object"
            },
            "type": "array"
          },
          "depositedAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "fiscalYear": {
            "type": "integer"
          },
          "gain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "isClosed": {
            "type": "boolean"
          },
          "itkFeedback": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maturity": {
            "type": "string"
          },
          "maturityId": {
            "type": "string"
          },
          "message": {
            "anyOf": [
              {
                "description": "Message à afficher si authorizedUnlock est à faux, pour les débouclages des contrats Euronext",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minimumPrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "potentialGain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "productCode": {
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "qualityBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "samples": {
            "items": {
              "$ref": "#/definitions/DefaultContractSample_2772",
              "type": "object"
            },
            "type": "array"
          },
          "settlements": {
            "items": {
              "$ref": "#/definitions/DefaultSettlement_2762",
              "type": "object"
            },
            "type": "array"
          },
          "specialBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "stockType": {
            "type": "integer"
          },
          "strike": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "surface": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "terminationDate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalAmount": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "variety": {
            "type": "string"
          },
          "varietyName": {
            "type": "string"
          },
          "varietyStandardDeviation": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "warrantyCost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "yield": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "authorizedUnlock",
          "contracts",
          "crmId",
          "deliveries",
          "fiscalYear",
          "id",
          "isClosed",
          "maturity",
          "maturityId",
          "name",
          "productCode",
          "productName",
          "samples",
          "settlements",
          "stockType",
          "totalAmount",
          "type",
          "variety",
          "varietyName"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "contracts"
  ],
  "title": "Contract - DefaultContract",
  "type": "object"
}

JSON instance

{
  "contracts": [
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407674-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420751",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407672-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 5.5,
      "id": "420749",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 174,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 10,
          "date": "2020-12-16",
          "price": 206.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 201,
      "surface": 0,
      "terminationDate": "2020-12-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 100,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407671-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420748",
      "isClosed": false,
      "maturity": "SEP-20",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 175,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 185,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 100,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 7,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407670-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 4.9,
      "id": "420747",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 173,
      "name": "Contrat Euronext",
      "price": 181,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 199,
          "status": 0
        },
        {
          "amount": 30,
          "date": "2020-12-02",
          "price": 205.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 198,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407669-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 7,
      "id": "420746",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 167,
      "name": "Contrat Euronext",
      "price": 175,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 196,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 189,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407668-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 11.333,
      "id": "420745",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 201,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 204,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 208,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 193,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 50,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407667-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 10.5,
      "id": "420744",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 177,
      "name": "Contrat Euronext",
      "price": 185,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 200,
          "status": 0
        },
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 209,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 50,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 25,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407666-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 30.25,
      "id": "420743",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 187,
      "name": "Contrat Euronext",
      "price": 195,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 210.25,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 180,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 25,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "400492-000",
      "date": "2020-10-30",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "413751",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "397031-000",
      "date": "2020-10-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409890",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 197,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-12-01",
      "contracts": [],
      "crmId": "395784-000",
      "date": "2020-10-16",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409084",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-03-31",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "389054-000",
      "date": "2020-09-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "402032",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 185,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "381443-000",
      "date": "2020-09-02",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "394824",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 170,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 60,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "365132-000",
      "date": "2020-04-21",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "378551",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 177,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-04-01",
      "contracts": [],
      "crmId": "358808-000",
      "date": "2020-02-26",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "372264",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 160,
      "productCode": "000945",
      "productName": "BLE FRUCTIDOR",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 0,
      "authorizedUnlock": false,
      "contracts": [],
      "crmId": "HC-000021-1",
      "deliveredAmount": 0,
      "deliveries": [
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8927-1",
          "netAmount": 12.5,
          "normedAmount": 12.5,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 11
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8928-3",
          "netAmount": 12.25,
          "normedAmount": 12.25,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 80
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8929-1",
          "netAmount": 12,
          "normedAmount": 12,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0.1
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU1",
          "deliveryNumber": "16052-1",
          "netAmount": 16.75,
          "normedAmount": 16.733,
          "placeId": "0009",
          "productName": "BLE APACHE",
          "siteLabel": "ANGLURE T",
          "stockType": 1
        }
      ],
      "depositedAmount": 53.483,
      "fiscalYear": 2020,
      "id": "0",
      "isClosed": false,
      "name": "Hors Contrat",
      "price": 0,
      "productCode": "000021",
      "productName": "BLE APACHE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 1,
      "surface": 0,
      "totalAmount": 0,
      "type": "HC",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    }
  ]
}

Validation #1001

Failure

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

  • The property '#/contracts/0' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/1' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/3' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/4' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/5' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/6' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/7' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "ContractIdentifier_2761": {
      "additionalProperties": false,
      "properties": {
        "crmId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "crmId",
        "id"
      ],
      "title": "Contract - ContractIdentifier",
      "type": "object"
    },
    "DefaultCellVariety_2771": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cell": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "variety": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "title": "CellVariety - DefaultCellVariety",
      "type": "object"
    },
    "DefaultContractSample_2772": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cellVarieties": {
          "items": {
            "$ref": "#/definitions/DefaultCellVariety_2771",
            "type": "object"
          },
          "type": "array"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "date": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        }
      },
      "required": [
        "cellVarieties",
        "characteristics",
        "date",
        "number",
        "quantity"
      ],
      "title": "ContractSample - DefaultContractSample",
      "type": "object"
    },
    "DefaultDeliveryCharacteristic_2766": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryCharacteristic - DefaultDeliveryCharacteristic",
      "type": "object"
    },
    "DefaultDeliveryInvoice_2768": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "lines": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryLine_2769",
            "type": "object"
          },
          "type": "array"
        },
        "prices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryPrice_2773",
            "type": "object"
          },
          "type": "array"
        },
        "productLabel": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "characteristics",
        "lines",
        "prices",
        "productLabel"
      ],
      "title": "DeliveryInvoice - DefaultDeliveryInvoice",
      "type": "object"
    },
    "DefaultDeliveryLine_2769": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "invoiceDate": {
          "type": "string"
        },
        "invoiceNumber": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "netPrice": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "invoiceDate",
        "invoiceNumber",
        "label",
        "netPrice"
      ],
      "title": "DeliveryLine - DefaultDeliveryLine",
      "type": "object"
    },
    "DefaultDeliveryPrice_2773": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryPrice - DefaultDeliveryPrice",
      "type": "object"
    },
    "DefaultDelivery_2767": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "basePrice": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "contractualizableOffer": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "date": {
          "type": "string"
        },
        "deliveryModeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deliveryNumber": {
          "type": "string"
        },
        "invoices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryInvoice_2768",
            "type": "object"
          },
          "type": "array"
        },
        "netAmount": {
          "type": "number"
        },
        "netPrice": {
          "type": "number"
        },
        "normedAmount": {
          "type": "number"
        },
        "placeId": {
          "type": "string"
        },
        "productCode": {
          "type": "string"
        },
        "productName": {
          "type": "string"
        },
        "siteLabel": {
          "type": "string"
        },
        "stockType": {
          "type": "integer"
        },
        "variety": {
          "type": "string"
        },
        "varietyName": {
          "type": "string"
        }
      },
      "required": [
        "basePrice",
        "characteristics",
        "date",
        "deliveryNumber",
        "invoices",
        "netAmount",
        "netPrice",
        "normedAmount",
        "placeId",
        "productCode",
        "productName",
        "siteLabel",
        "stockType",
        "variety",
        "varietyName"
      ],
      "title": "Delivery - DefaultDelivery",
      "type": "object"
    },
    "DefaultSettlement_2762": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "date": {
          "description": "Date au format \"YYYY-MM-DD\"",
          "type": "string"
        },
        "price": {
          "type": "number"
        },
        "status": {
          "type": "integer"
        }
      },
      "required": [
        "amount",
        "date",
        "price",
        "status"
      ],
      "title": "Settlement - DefaultSettlement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "contracts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activePrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "amountToDeliver": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorizedUnlock": {
            "type": "boolean"
          },
          "commencementDate": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodityId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contracts": {
            "items": {
              "$ref": "#/definitions/ContractIdentifier_2761",
              "type": "object"
            },
            "type": "array"
          },
          "crmId": {
            "type": "string"
          },
          "date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveredAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveries": {
            "items": {
              "$ref": "#/definitions/DefaultDelivery_2767",
              "type": "object"
            },
            "type": "array"
          },
          "depositedAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "fiscalYear": {
            "type": "integer"
          },
          "gain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "isClosed": {
            "type": "boolean"
          },
          "itkFeedback": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maturity": {
            "type": "string"
          },
          "maturityId": {
            "type": "string"
          },
          "message": {
            "anyOf": [
              {
                "description": "Message à afficher si authorizedUnlock est à faux, pour les débouclages des contrats Euronext",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minimumPrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "potentialGain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "productCode": {
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "qualityBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "samples": {
            "items": {
              "$ref": "#/definitions/DefaultContractSample_2772",
              "type": "object"
            },
            "type": "array"
          },
          "settlements": {
            "items": {
              "$ref": "#/definitions/DefaultSettlement_2762",
              "type": "object"
            },
            "type": "array"
          },
          "specialBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "stockType": {
            "type": "integer"
          },
          "strike": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "surface": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "terminationDate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalAmount": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "variety": {
            "type": "string"
          },
          "varietyName": {
            "type": "string"
          },
          "varietyStandardDeviation": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "warrantyCost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "yield": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "authorizedUnlock",
          "contracts",
          "crmId",
          "deliveries",
          "fiscalYear",
          "id",
          "isClosed",
          "maturity",
          "maturityId",
          "name",
          "productCode",
          "productName",
          "samples",
          "settlements",
          "stockType",
          "totalAmount",
          "type",
          "variety",
          "varietyName"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "contracts"
  ],
  "title": "Contract - DefaultContract",
  "type": "object"
}

JSON instance

{
  "contracts": [
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407674-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420751",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407672-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 5.5,
      "id": "420749",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 174,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 10,
          "date": "2020-12-16",
          "price": 206.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 201,
      "surface": 0,
      "terminationDate": "2020-12-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 100,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407671-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420748",
      "isClosed": false,
      "maturity": "SEP-20",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 175,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 185,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 100,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 7,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407670-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 4.9,
      "id": "420747",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 173,
      "name": "Contrat Euronext",
      "price": 181,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 199,
          "status": 0
        },
        {
          "amount": 30,
          "date": "2020-12-02",
          "price": 205.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 198,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407669-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 7,
      "id": "420746",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 167,
      "name": "Contrat Euronext",
      "price": 175,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 196,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 189,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407668-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 11.333,
      "id": "420745",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 201,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 204,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 208,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 193,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 50,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407667-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 10.5,
      "id": "420744",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 177,
      "name": "Contrat Euronext",
      "price": 185,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 200,
          "status": 0
        },
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 209,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 50,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 25,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407666-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 30.25,
      "id": "420743",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 187,
      "name": "Contrat Euronext",
      "price": 195,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 210.25,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 180,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 25,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "400492-000",
      "date": "2020-10-30",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "413751",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "397031-000",
      "date": "2020-10-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409890",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 197,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-12-01",
      "contracts": [],
      "crmId": "395784-000",
      "date": "2020-10-16",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409084",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-03-31",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "389054-000",
      "date": "2020-09-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "402032",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 185,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "381443-000",
      "date": "2020-09-02",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "394824",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 170,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 60,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "365132-000",
      "date": "2020-04-21",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "378551",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 177,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-04-01",
      "contracts": [],
      "crmId": "358808-000",
      "date": "2020-02-26",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "372264",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 160,
      "productCode": "000945",
      "productName": "BLE FRUCTIDOR",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 0,
      "authorizedUnlock": false,
      "contracts": [],
      "crmId": "HC-000021-1",
      "deliveredAmount": 0,
      "deliveries": [
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8927-1",
          "netAmount": 12.5,
          "normedAmount": 12.5,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 11
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8928-3",
          "netAmount": 12.25,
          "normedAmount": 12.25,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 80
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8929-1",
          "netAmount": 12,
          "normedAmount": 12,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0.1
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU1",
          "deliveryNumber": "16052-1",
          "netAmount": 16.75,
          "normedAmount": 16.733,
          "placeId": "0009",
          "productName": "BLE APACHE",
          "siteLabel": "ANGLURE T",
          "stockType": 1
        }
      ],
      "depositedAmount": 53.483,
      "fiscalYear": 2020,
      "id": "0",
      "isClosed": false,
      "name": "Hors Contrat",
      "price": 0,
      "productCode": "000021",
      "productName": "BLE APACHE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 1,
      "surface": 0,
      "totalAmount": 0,
      "type": "HC",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    }
  ]
}

Validation #1000

Failure

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

  • The property '#/contracts/0' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/1' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/2' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/3' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/4' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/5' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/6' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/7' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/8' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/9' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/10' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/11' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/12' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/13' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'deliveries' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/14' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/0' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/1' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/2' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'basePrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'invoices' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'netPrice' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'productCode' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'variety' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15/deliveries/3' did not contain a required property of 'varietyName' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24#
  • The property '#/contracts/15' did not contain a required property of 'maturity' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24
  • The property '#/contracts/15' did not contain a required property of 'maturityId' in schema c7899bdb-57d5-5623-9a2e-8fecd8468d24

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "ContractIdentifier_2761": {
      "additionalProperties": false,
      "properties": {
        "crmId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "crmId",
        "id"
      ],
      "title": "Contract - ContractIdentifier",
      "type": "object"
    },
    "DefaultCellVariety_2771": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cell": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "variety": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "title": "CellVariety - DefaultCellVariety",
      "type": "object"
    },
    "DefaultContractSample_2772": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cellVarieties": {
          "items": {
            "$ref": "#/definitions/DefaultCellVariety_2771",
            "type": "object"
          },
          "type": "array"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "date": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        }
      },
      "required": [
        "cellVarieties",
        "characteristics",
        "date",
        "number",
        "quantity"
      ],
      "title": "ContractSample - DefaultContractSample",
      "type": "object"
    },
    "DefaultDeliveryCharacteristic_2766": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryCharacteristic - DefaultDeliveryCharacteristic",
      "type": "object"
    },
    "DefaultDeliveryInvoice_2768": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "lines": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryLine_2769",
            "type": "object"
          },
          "type": "array"
        },
        "prices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryPrice_2773",
            "type": "object"
          },
          "type": "array"
        },
        "productLabel": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "characteristics",
        "lines",
        "prices",
        "productLabel"
      ],
      "title": "DeliveryInvoice - DefaultDeliveryInvoice",
      "type": "object"
    },
    "DefaultDeliveryLine_2769": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "invoiceDate": {
          "type": "string"
        },
        "invoiceNumber": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "netPrice": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "invoiceDate",
        "invoiceNumber",
        "label",
        "netPrice"
      ],
      "title": "DeliveryLine - DefaultDeliveryLine",
      "type": "object"
    },
    "DefaultDeliveryPrice_2773": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "DeliveryPrice - DefaultDeliveryPrice",
      "type": "object"
    },
    "DefaultDelivery_2767": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "basePrice": {
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryCharacteristic_2766",
            "type": "object"
          },
          "type": "array"
        },
        "contractualizableOffer": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "date": {
          "type": "string"
        },
        "deliveryModeCode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deliveryNumber": {
          "type": "string"
        },
        "invoices": {
          "items": {
            "$ref": "#/definitions/DefaultDeliveryInvoice_2768",
            "type": "object"
          },
          "type": "array"
        },
        "netAmount": {
          "type": "number"
        },
        "netPrice": {
          "type": "number"
        },
        "normedAmount": {
          "type": "number"
        },
        "placeId": {
          "type": "string"
        },
        "productCode": {
          "type": "string"
        },
        "productName": {
          "type": "string"
        },
        "siteLabel": {
          "type": "string"
        },
        "stockType": {
          "type": "integer"
        },
        "variety": {
          "type": "string"
        },
        "varietyName": {
          "type": "string"
        }
      },
      "required": [
        "basePrice",
        "characteristics",
        "date",
        "deliveryNumber",
        "invoices",
        "netAmount",
        "netPrice",
        "normedAmount",
        "placeId",
        "productCode",
        "productName",
        "siteLabel",
        "stockType",
        "variety",
        "varietyName"
      ],
      "title": "Delivery - DefaultDelivery",
      "type": "object"
    },
    "DefaultSettlement_2762": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "type": "number"
        },
        "date": {
          "description": "Date au format \"YYYY-MM-DD\"",
          "type": "string"
        },
        "price": {
          "type": "number"
        },
        "status": {
          "type": "integer"
        }
      },
      "required": [
        "amount",
        "date",
        "price",
        "status"
      ],
      "title": "Settlement - DefaultSettlement",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "contracts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activePrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "amountToDeliver": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorizedUnlock": {
            "type": "boolean"
          },
          "commencementDate": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodityId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contracts": {
            "items": {
              "$ref": "#/definitions/ContractIdentifier_2761",
              "type": "object"
            },
            "type": "array"
          },
          "crmId": {
            "type": "string"
          },
          "date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveredAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "deliveries": {
            "items": {
              "$ref": "#/definitions/DefaultDelivery_2767",
              "type": "object"
            },
            "type": "array"
          },
          "depositedAmount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "fiscalYear": {
            "type": "integer"
          },
          "gain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string"
          },
          "isClosed": {
            "type": "boolean"
          },
          "itkFeedback": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maturity": {
            "type": "string"
          },
          "maturityId": {
            "type": "string"
          },
          "message": {
            "anyOf": [
              {
                "description": "Message à afficher si authorizedUnlock est à faux, pour les débouclages des contrats Euronext",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minimumPrice": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "potentialGain": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "productCode": {
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "qualityBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "samples": {
            "items": {
              "$ref": "#/definitions/DefaultContractSample_2772",
              "type": "object"
            },
            "type": "array"
          },
          "settlements": {
            "items": {
              "$ref": "#/definitions/DefaultSettlement_2762",
              "type": "object"
            },
            "type": "array"
          },
          "specialBonus": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "stockType": {
            "type": "integer"
          },
          "strike": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "surface": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "terminationDate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "totalAmount": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "variety": {
            "type": "string"
          },
          "varietyName": {
            "type": "string"
          },
          "varietyStandardDeviation": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "warrantyCost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "yield": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "authorizedUnlock",
          "contracts",
          "crmId",
          "deliveries",
          "fiscalYear",
          "id",
          "isClosed",
          "maturity",
          "maturityId",
          "name",
          "productCode",
          "productName",
          "samples",
          "settlements",
          "stockType",
          "totalAmount",
          "type",
          "variety",
          "varietyName"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "contracts"
  ],
  "title": "Contract - DefaultContract",
  "type": "object"
}

JSON instance

{
  "contracts": [
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407674-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420751",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407672-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 5.5,
      "id": "420749",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 174,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 10,
          "date": "2020-12-16",
          "price": 206.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 201,
      "surface": 0,
      "terminationDate": "2020-12-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 100,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407671-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 0,
      "id": "420748",
      "isClosed": false,
      "maturity": "SEP-20",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 175,
      "name": "Contrat Euronext",
      "price": 182,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 185,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 100,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 7,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 90,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407670-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 4.9,
      "id": "420747",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 173,
      "name": "Contrat Euronext",
      "price": 181,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 199,
          "status": 0
        },
        {
          "amount": 30,
          "date": "2020-12-02",
          "price": 205.5,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 198,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 90,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407669-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 7,
      "id": "420746",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 167,
      "name": "Contrat Euronext",
      "price": 175,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 196,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 189,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407668-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 11.333,
      "id": "420745",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 170,
      "name": "Contrat Euronext",
      "price": 178,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 201,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 204,
          "status": 0
        },
        {
          "amount": 20,
          "date": "2020-12-02",
          "price": 208,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 193,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 60,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 50,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407667-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 10.5,
      "id": "420744",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 177,
      "name": "Contrat Euronext",
      "price": 185,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 200,
          "status": 0
        },
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 209,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 194,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 50,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "activePrice": 211,
      "amountToDeliver": 25,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "BL2",
      "contracts": [],
      "crmId": "407666-000",
      "date": "2020-12-01",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 30.25,
      "id": "420743",
      "isClosed": false,
      "maturity": "MAR-21",
      "maturityId": "Mar21",
      "message": "Il n’y a plus de quantité à déboucler.",
      "minimumPrice": 187,
      "name": "Contrat Euronext",
      "price": 195,
      "productCode": "000005",
      "productName": "BLE 1",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 25,
          "date": "2020-12-02",
          "price": 210.25,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 180,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 25,
      "type": "AE1",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "warrantyCost": 8,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "400492-000",
      "date": "2020-10-30",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "413751",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "397031-000",
      "date": "2020-10-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409890",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 197,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-12-01",
      "contracts": [],
      "crmId": "395784-000",
      "date": "2020-10-16",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "409084",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 184,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-03-31",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "389054-000",
      "date": "2020-09-22",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "402032",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 185,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 60,
      "authorizedUnlock": false,
      "commencementDate": "2020-09-01",
      "contracts": [],
      "crmId": "381443-000",
      "date": "2020-09-02",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "394824",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 170,
      "productCode": "000038",
      "productName": "BLE BPMF MEUNERIE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 60,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-02-01",
      "contracts": [],
      "crmId": "365132-000",
      "date": "2020-04-21",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "378551",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 177,
      "productCode": "000026",
      "productName": "BLE ARKEOS",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 30,
      "authorizedUnlock": false,
      "commencementDate": "2021-04-01",
      "contracts": [],
      "crmId": "358808-000",
      "date": "2020-02-26",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "id": "372264",
      "isClosed": false,
      "name": "Contrat Prix Ferme",
      "price": 160,
      "productCode": "000945",
      "productName": "BLE FRUCTIDOR",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 0,
      "strike": 0,
      "surface": 0,
      "terminationDate": "2021-04-30",
      "totalAmount": 30,
      "type": "APF",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    },
    {
      "amountToDeliver": 0,
      "authorizedUnlock": false,
      "contracts": [],
      "crmId": "HC-000021-1",
      "deliveredAmount": 0,
      "deliveries": [
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8927-1",
          "netAmount": 12.5,
          "normedAmount": 12.5,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 11
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8928-3",
          "netAmount": 12.25,
          "normedAmount": 12.25,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 80
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU2",
          "deliveryNumber": "8929-1",
          "netAmount": 12,
          "normedAmount": 12,
          "placeId": "0004",
          "productName": "BLE APACHE",
          "siteLabel": "PLEURS",
          "stockType": 1
        },
        {
          "characteristics": [
            {
              "code": "01",
              "label": "Humidité",
              "value": 11
            },
            {
              "code": "02",
              "label": "Impuretés",
              "value": 0.1
            },
            {
              "code": "03",
              "label": "Poids Spécifique",
              "value": 79
            },
            {
              "code": "05",
              "label": "Protéine",
              "value": 12
            }
          ],
          "contractualizableOffer": false,
          "date": "2020-07-10",
          "deliveryModeCode": "RDU1",
          "deliveryNumber": "16052-1",
          "netAmount": 16.75,
          "normedAmount": 16.733,
          "placeId": "0009",
          "productName": "BLE APACHE",
          "siteLabel": "ANGLURE T",
          "stockType": 1
        }
      ],
      "depositedAmount": 53.483,
      "fiscalYear": 2020,
      "id": "0",
      "isClosed": false,
      "name": "Hors Contrat",
      "price": 0,
      "productCode": "000021",
      "productName": "BLE APACHE",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [],
      "stockType": 1,
      "surface": 0,
      "totalAmount": 0,
      "type": "HC",
      "variety": "BT",
      "varietyName": "BLE TENDRE",
      "varietyStandardDeviation": 0,
      "yield": 0
    }
  ]
}

Validation #999

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultDeliveryMode_1862": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "deliveryMode": {
          "description": "(DEP2 / RDU1 / RDU2)",
          "type": "string"
        },
        "deliveryPlaces": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/definitions/DefaultDeliveryPlaces_1865",
                "type": "object"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "deliveryMode"
      ],
      "title": "DeliveryMode - DefaultDeliveryMode",
      "type": "object"
    },
    "DefaultDeliveryPlaces_1865": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "type",
        "value"
      ],
      "title": "DeliveryPlaces - DefaultDeliveryPlaces",
      "type": "object"
    },
    "DefaultHarvest_1863": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "harvest": {
          "type": "integer"
        },
        "periods": {
          "items": {
            "$ref": "#/definitions/DefaultPeriod_1864",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "harvest",
        "periods"
      ],
      "title": "Harvest - DefaultHarvest",
      "type": "object"
    },
    "DefaultPeriod_1864": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "increase": {
          "type": "number"
        },
        "periodCode": {
          "type": "string"
        },
        "periodLabel": {
          "type": "string"
        }
      },
      "required": [
        "increase",
        "periodCode",
        "periodLabel"
      ],
      "title": "Period - DefaultPeriod",
      "type": "object"
    },
    "DefaultProduct_1861": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cropCode": {
          "type": "string"
        },
        "cropLabel": {
          "type": "string"
        },
        "harvests": {
          "items": {
            "$ref": "#/definitions/DefaultHarvest_1863",
            "type": "object"
          },
          "type": "array"
        },
        "productBase": {
          "type": "string"
        },
        "productId": {
          "type": "integer"
        },
        "productLabel": {
          "type": "string"
        },
        "productPicture": {
          "type": "string"
        }
      },
      "required": [
        "cropCode",
        "cropLabel",
        "harvests",
        "productBase",
        "productId",
        "productLabel",
        "productPicture"
      ],
      "title": "Product - DefaultProduct",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "deliveryModes": {
      "items": {
        "$ref": "#/definitions/DefaultDeliveryMode_1862",
        "type": "object"
      },
      "type": "array"
    },
    "products": {
      "items": {
        "$ref": "#/definitions/DefaultProduct_1861",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "deliveryModes",
    "products"
  ],
  "title": "OfferAlertInformation - DefaultOfferAlertInformation",
  "type": "object"
}

JSON instance

{
  "deliveryModes": [
    {
      "deliveryMode": "RDU1",
      "deliveryPlaces": [
        {
          "code": "0004",
          "type": "SAT",
          "value": "PLEURS"
        },
        {
          "code": "0009",
          "type": "CTL",
          "value": "ANGLURE (recommandé)"
        },
        {
          "code": "0017",
          "type": "SAT",
          "value": "VIAPRES LE GRAND PLANCY L ABBAYE"
        },
        {
          "code": "0024",
          "type": "SAT",
          "value": "ARCIS S AUBE"
        },
        {
          "code": "0027",
          "type": "SAT",
          "value": "GRANDVILLE"
        },
        {
          "code": "0077",
          "type": "SAT",
          "value": "PREMIERFAIT"
        },
        {
          "code": "0147",
          "type": "SAT",
          "value": "CHAMPFLEURY BONNE VOISINE ARIES STK"
        },
        {
          "code": "0354",
          "type": "SAT",
          "value": "ORVILLIERS ST JULIEN"
        }
      ]
    },
    {
      "deliveryMode": "RDU2",
      "deliveryPlaces": [
        {
          "code": "0004",
          "type": "SAT",
          "value": "PLEURS"
        },
        {
          "code": "0009",
          "type": "CTL",
          "value": "ANGLURE (recommandé)"
        },
        {
          "code": "0017",
          "type": "SAT",
          "value": "VIAPRES LE GRAND PLANCY L ABBAYE"
        },
        {
          "code": "0024",
          "type": "SAT",
          "value": "ARCIS S AUBE"
        },
        {
          "code": "0027",
          "type": "SAT",
          "value": "GRANDVILLE"
        },
        {
          "code": "0077",
          "type": "SAT",
          "value": "PREMIERFAIT"
        },
        {
          "code": "0147",
          "type": "SAT",
          "value": "CHAMPFLEURY BONNE VOISINE ARIES STK"
        },
        {
          "code": "0354",
          "type": "SAT",
          "value": "ORVILLIERS ST JULIEN"
        }
      ]
    },
    {
      "deliveryMode": "DEP2"
    }
  ],
  "products": [
    {
      "cropCode": "OP",
      "cropLabel": "ORGE PRINTEMPS",
      "harvests": [
        {
          "harvest": 2020,
          "periods": [
            {
              "increase": 7.44,
              "periodCode": "Janvier",
              "periodLabel": "JANV / MARS"
            }
          ]
        }
      ],
      "productBase": "Base Juillet",
      "productId": 65,
      "productLabel": "ORGE PLANET",
      "productPicture": "https://static-cf.farmi.com/collect/crops/OP_thumbnail.jpg"
    }
  ]
}

Validation #998

Failure

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

  • The property '#/' contains additional properties ["place"] outside of the schema when none are allowed in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'contract_subsidiary' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'insecticide' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'place' in schema f564175c-82d0-55f7-8a72-996da6a65ba4

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CreateDeliveryNoteSilo_2482": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "id",
        "name"
      ],
      "title": "Silo - CreateDeliveryNoteSilo",
      "type": "object"
    },
    "DefaultInsecticideTreatment_2483": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "application_date": {
          "format": "date",
          "type": "string"
        },
        "product": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "application_date",
        "product",
        "quantity",
        "type",
        "unit"
      ],
      "title": "InsecticideTreatment - DefaultInsecticideTreatment",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "delivery_note": {
      "additionalProperties": false,
      "properties": {
        "contract_specificity": {
          "type": "string"
        },
        "contract_subsidiary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "type": "string"
        },
        "insecticide": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultInsecticideTreatment_2483",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "anyOf": [
            {
              "$ref": "#/definitions/CreateDeliveryNoteSilo_2482",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_name": {
          "type": "string"
        },
        "product_production": {
          "type": "string"
        },
        "product_quantity": {
          "type": "integer"
        },
        "product_unit": {
          "description": "kg/t, L/100t",
          "type": "string"
        },
        "product_variety": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "vehicle_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "contract_specificity",
        "contract_subsidiary",
        "customer_number",
        "insecticide",
        "place",
        "product_name",
        "product_production",
        "product_quantity",
        "product_unit",
        "product_variety",
        "transport",
        "vehicle_number"
      ],
      "type": "object"
    }
  },
  "required": [
    "delivery_note"
  ],
  "title": "DeliveryNote - CreateDeliveryNote",
  "type": "object"
}

JSON instance

{
  "delivery_note": {
    "contract_specificity": "Aucune",
    "customer_number": "98034066",
    "product_name": "Blé tendre",
    "product_production": "Conventionnel",
    "product_quantity": 1,
    "product_unit": "t",
    "product_variety": "Non",
    "transport": "Soufflet",
    "vehicle_number": "Test Cde"
  },
  "place": {
    "email": "recettesoufflet01+silo@gmail.com",
    "id": "0",
    "name": "SARRAIL NOGENT S SEINE"
  }
}

Validation #997

Failure

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

  • The property '#/delivery_note' did not contain a required property of 'contract_subsidiary' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'insecticide' in schema f564175c-82d0-55f7-8a72-996da6a65ba4

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CreateDeliveryNoteSilo_2482": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "id",
        "name"
      ],
      "title": "Silo - CreateDeliveryNoteSilo",
      "type": "object"
    },
    "DefaultInsecticideTreatment_2483": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "application_date": {
          "format": "date",
          "type": "string"
        },
        "product": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "application_date",
        "product",
        "quantity",
        "type",
        "unit"
      ],
      "title": "InsecticideTreatment - DefaultInsecticideTreatment",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "delivery_note": {
      "additionalProperties": false,
      "properties": {
        "contract_specificity": {
          "type": "string"
        },
        "contract_subsidiary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "type": "string"
        },
        "insecticide": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultInsecticideTreatment_2483",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "anyOf": [
            {
              "$ref": "#/definitions/CreateDeliveryNoteSilo_2482",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_name": {
          "type": "string"
        },
        "product_production": {
          "type": "string"
        },
        "product_quantity": {
          "type": "integer"
        },
        "product_unit": {
          "description": "kg/t, L/100t",
          "type": "string"
        },
        "product_variety": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "vehicle_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "contract_specificity",
        "contract_subsidiary",
        "customer_number",
        "insecticide",
        "place",
        "product_name",
        "product_production",
        "product_quantity",
        "product_unit",
        "product_variety",
        "transport",
        "vehicle_number"
      ],
      "type": "object"
    }
  },
  "required": [
    "delivery_note"
  ],
  "title": "DeliveryNote - CreateDeliveryNote",
  "type": "object"
}

JSON instance

{
  "delivery_note": {
    "contract_specificity": "Aucune",
    "customer_number": "98034066",
    "place": {
      "email": "recettesoufflet01+silo@gmail.com",
      "id": "0",
      "name": "SARRAIL NOGENT S SEINE"
    },
    "product_name": "Blé tendre",
    "product_production": "Conventionnel",
    "product_quantity": 1,
    "product_unit": "t",
    "product_variety": "Non",
    "transport": "Soufflet",
    "vehicle_number": "Test Cde"
  }
}

Validation #996

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 f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'contract_subsidiary' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'insecticide' in schema f564175c-82d0-55f7-8a72-996da6a65ba4

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CreateDeliveryNoteSilo_2482": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "id",
        "name"
      ],
      "title": "Silo - CreateDeliveryNoteSilo",
      "type": "object"
    },
    "DefaultInsecticideTreatment_2483": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "application_date": {
          "format": "date",
          "type": "string"
        },
        "product": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "application_date",
        "product",
        "quantity",
        "type",
        "unit"
      ],
      "title": "InsecticideTreatment - DefaultInsecticideTreatment",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "delivery_note": {
      "additionalProperties": false,
      "properties": {
        "contract_specificity": {
          "type": "string"
        },
        "contract_subsidiary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "type": "string"
        },
        "insecticide": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultInsecticideTreatment_2483",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "anyOf": [
            {
              "$ref": "#/definitions/CreateDeliveryNoteSilo_2482",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_name": {
          "type": "string"
        },
        "product_production": {
          "type": "string"
        },
        "product_quantity": {
          "type": "integer"
        },
        "product_unit": {
          "description": "kg/t, L/100t",
          "type": "string"
        },
        "product_variety": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "vehicle_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "contract_specificity",
        "contract_subsidiary",
        "customer_number",
        "insecticide",
        "place",
        "product_name",
        "product_production",
        "product_quantity",
        "product_unit",
        "product_variety",
        "transport",
        "vehicle_number"
      ],
      "type": "object"
    }
  },
  "required": [
    "delivery_note"
  ],
  "title": "DeliveryNote - CreateDeliveryNote",
  "type": "object"
}

JSON instance

{
  "delivery_note": {
    "contract_specificity": "Aucune",
    "customer_number": "98034066",
    "place": {
      "email": "recettesoufflet01+silo@gmail.com",
      "id": "0",
      "name": "SARRAIL NOGENT S SEINE"
    },
    "product_name": "Blé tendre",
    "product_production": "Conventionnel",
    "product_quantity": 1,
    "product_unit": "t",
    "product_variety": "Non",
    "transport": "Soufflet",
    "vehicle_number": "Test Cde"
  },
  "language": "fr-FR"
}

Validation #995

Failure

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

  • The property '#/' contains additional properties ["place", "language"] outside of the schema when none are allowed in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'contract_subsidiary' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'insecticide' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'place' in schema f564175c-82d0-55f7-8a72-996da6a65ba4

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CreateDeliveryNoteSilo_2482": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "id",
        "name"
      ],
      "title": "Silo - CreateDeliveryNoteSilo",
      "type": "object"
    },
    "DefaultInsecticideTreatment_2483": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "application_date": {
          "format": "date",
          "type": "string"
        },
        "product": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "application_date",
        "product",
        "quantity",
        "type",
        "unit"
      ],
      "title": "InsecticideTreatment - DefaultInsecticideTreatment",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "delivery_note": {
      "additionalProperties": false,
      "properties": {
        "contract_specificity": {
          "type": "string"
        },
        "contract_subsidiary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "type": "string"
        },
        "insecticide": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultInsecticideTreatment_2483",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "anyOf": [
            {
              "$ref": "#/definitions/CreateDeliveryNoteSilo_2482",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_name": {
          "type": "string"
        },
        "product_production": {
          "type": "string"
        },
        "product_quantity": {
          "type": "integer"
        },
        "product_unit": {
          "description": "kg/t, L/100t",
          "type": "string"
        },
        "product_variety": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "vehicle_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "contract_specificity",
        "contract_subsidiary",
        "customer_number",
        "insecticide",
        "place",
        "product_name",
        "product_production",
        "product_quantity",
        "product_unit",
        "product_variety",
        "transport",
        "vehicle_number"
      ],
      "type": "object"
    }
  },
  "required": [
    "delivery_note"
  ],
  "title": "DeliveryNote - CreateDeliveryNote",
  "type": "object"
}

JSON instance

{
  "delivery_note": {
    "contract_specificity": "Aucune",
    "customer_number": "98034066",
    "product_name": "Blé tendre",
    "product_production": "Conventionnel",
    "product_quantity": 1,
    "product_unit": "t",
    "product_variety": "Non",
    "transport": "Soufflet",
    "vehicle_number": "Test Cde"
  },
  "language": "fr-FR",
  "place": {
    "email": "recettesoufflet01+silo@gmail.com",
    "id": "0",
    "name": "SARRAIL NOGENT S SEINE"
  }
}

Validation #994

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 f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'contract_subsidiary' in schema f564175c-82d0-55f7-8a72-996da6a65ba4
  • The property '#/delivery_note' did not contain a required property of 'insecticide' in schema f564175c-82d0-55f7-8a72-996da6a65ba4

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CreateDeliveryNoteSilo_2482": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "id",
        "name"
      ],
      "title": "Silo - CreateDeliveryNoteSilo",
      "type": "object"
    },
    "DefaultInsecticideTreatment_2483": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "application_date": {
          "format": "date",
          "type": "string"
        },
        "product": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "type": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "application_date",
        "product",
        "quantity",
        "type",
        "unit"
      ],
      "title": "InsecticideTreatment - DefaultInsecticideTreatment",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "delivery_note": {
      "additionalProperties": false,
      "properties": {
        "contract_specificity": {
          "type": "string"
        },
        "contract_subsidiary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customer_number": {
          "type": "string"
        },
        "insecticide": {
          "anyOf": [
            {
              "$ref": "#/definitions/DefaultInsecticideTreatment_2483",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "anyOf": [
            {
              "$ref": "#/definitions/CreateDeliveryNoteSilo_2482",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_name": {
          "type": "string"
        },
        "product_production": {
          "type": "string"
        },
        "product_quantity": {
          "type": "integer"
        },
        "product_unit": {
          "description": "kg/t, L/100t",
          "type": "string"
        },
        "product_variety": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "vehicle_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "type": "string"
        }
      },
      "required": [
        "contract_specificity",
        "contract_subsidiary",
        "customer_number",
        "insecticide",
        "place",
        "product_name",
        "product_production",
        "product_quantity",
        "product_unit",
        "product_variety",
        "transport",
        "vehicle_number"
      ],
      "type": "object"
    }
  },
  "required": [
    "delivery_note"
  ],
  "title": "DeliveryNote - CreateDeliveryNote",
  "type": "object"
}

JSON instance

{
  "delivery_note": {
    "contract_specificity": "Aucune",
    "customer_number": "98034066",
    "place": {
      "email": "recettesoufflet01+silo@gmail.com",
      "id": "0",
      "name": "SARRAIL NOGENT S SEINE"
    },
    "product_name": "Blé tendre",
    "product_production": "Conventionnel",
    "product_quantity": 1,
    "product_unit": "t",
    "product_variety": "Non",
    "transport": "Soufflet",
    "vehicle_number": "Test Cde"
  },
  "language": "fr-FR"
}

Validation #993

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "ProjectMember_2910": {
      "additionalProperties": false,
      "properties": {
        "email": {
          "format": "email",
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        }
      },
      "required": [
        "email",
        "firstName",
        "lastName"
      ],
      "title": "User - ProjectMember",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "area": {
      "minimum": 0,
      "type": "integer"
    },
    "beginDate": {
      "format": "date-time",
      "type": "string"
    },
    "buildingId": {
      "type": "string"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "endDate": {
      "format": "date-time",
      "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"
    },
    "isClosed": {
      "type": "boolean"
    },
    "members": {
      "description": "Only users belonging to companies being `requester` or `contractorOfRequester` shall be added in this field.\r\nThis field can be the empty list on project creation.",
      "items": {
        "$ref": "#/definitions/ProjectMember_2910",
        "type": "object"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "program": {
      "enum": [
        "office",
        "housing",
        "mixed",
        "other"
      ],
      "type": "string"
    },
    "requester": {
      "type": "string"
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string"
    },
    "updatedBy": {
      "type": "string"
    }
  },
  "required": [
    "area",
    "beginDate",
    "buildingId",
    "createdAt",
    "createdBy",
    "description",
    "endDate",
    "id",
    "isClosed",
    "members",
    "name",
    "program",
    "requester",
    "updatedAt",
    "updatedBy"
  ],
  "title": "Project - DefaultProject",
  "type": "object"
}

JSON instance

{
  "area": 54407496,
  "beginDate": "1952-07-05T20:47:01.041Z",
  "buildingId": "minim dolor",
  "createdAt": "1990-02-09T12:32:02.662Z",
  "createdBy": "anim aliqua",
  "description": "ut aliquip",
  "endDate": "1943-03-13T21:07:16.941Z",
  "id": "56c25130-ff9a-4669-b09f-647713be63f7",
  "isClosed": true,
  "members": [
    {
      "email": "UXbH1QA@zEsmpTCjlYXLNdi.vjbg",
      "firstName": "nisi est do cillum ut",
      "lastName": "Excepteur fugiat aliquip"
    },
    {
      "email": "n5ZPY2PQGHEpdGx@gxbHPXAt.ul",
      "firstName": "deserunt cupidatat et officia",
      "lastName": "esse ea velit"
    },
    {
      "email": "osOhxZlG6g3VDTm@OJYXJDLWwsOIRUlZm.kcwe",
      "firstName": "adipisicing tempor dolore",
      "lastName": "id ut Lorem"
    },
    {
      "email": "9lqSvl8@NUugnIrQuUXdZgxRGBmhd.bb",
      "firstName": "in officia nisi est adipisicing",
      "lastName": "eiusmod"
    }
  ],
  "name": "cupidatat minim eu aliquip",
  "program": "mixed",
  "requester": "id nostrud ut",
  "updatedAt": "1997-10-18T19:39:31.656Z",
  "updatedBy": "proident ex exercitation consequat consectetur"
}