Validations history

Validation #992

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"
    }
  },
  "properties": {
    "area": {
      "minimum": 0,
      "type": "integer"
    },
    "beginDate": {
      "format": "date-time",
      "type": "string"
    },
    "buildingId": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "endDate": {
      "format": "date-time",
      "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"
    }
  },
  "required": [
    "area",
    "beginDate",
    "buildingId",
    "description",
    "endDate",
    "isClosed",
    "members",
    "name",
    "program",
    "requester"
  ],
  "title": "Project - NewProject",
  "type": "object"
}

JSON instance

{
  "area": 99738080,
  "beginDate": "1999-02-22T04:12:54.773Z",
  "buildingId": "fugiat irure",
  "description": "aliqua mollit ex",
  "endDate": "2013-12-24T05:57:39.585Z",
  "isClosed": true,
  "members": [
    {
      "email": "HrSsI11Ezz@wLMOdsEO.mtkc",
      "firstName": "consectetur",
      "lastName": "aliqua reprehenderit ea deserunt"
    }
  ],
  "name": "ad eiusmod co",
  "program": "office",
  "requester": "sit magna enim ut minim"
}

Validation #991

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"
    }
  },
  "properties": {
    "area": {
      "minimum": 0,
      "type": "integer"
    },
    "beginDate": {
      "format": "date-time",
      "type": "string"
    },
    "buildingId": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "endDate": {
      "format": "date-time",
      "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"
    }
  },
  "required": [
    "area",
    "beginDate",
    "buildingId",
    "description",
    "endDate",
    "isClosed",
    "members",
    "name",
    "program",
    "requester"
  ],
  "title": "Project - NewProject",
  "type": "object"
}

JSON instance

{
  "area": 99738080,
  "beginDate": "1999-02-22T04:12:54.773Z",
  "buildingId": "fugiat irure",
  "description": "aliqua mollit ex",
  "endDate": "2013-12-24T05:57:39.585Z",
  "isClosed": true,
  "members": [
    {
      "email": "HrSsI11Ezz@wLMOdsEO.mtkc",
      "firstName": "consectetur",
      "lastName": "aliqua reprehenderit ea deserunt"
    }
  ],
  "name": "ad eiusmod co",
  "program": "office",
  "requester": "sit magna enim ut minim"
}

Validation #990

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 f13dc2e9-4cf0-5f9c-a64d-52a658f522d1
  • The property '#/profile' did not contain a required property of 'mobile_number' in schema f13dc2e9-4cf0-5f9c-a64d-52a658f522d1
  • The property '#/profile' did not contain a required property of 'phone_number' in schema f13dc2e9-4cf0-5f9c-a64d-52a658f522d1

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "profile": {
      "additionalProperties": false,
      "properties": {
        "country_code": {
          "type": "string"
        },
        "eula_version": {
          "anyOf": [
            {
              "pattern": "^(\\d+)(\\.\\d+)(\\.\\d+)?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "first_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "language": {
          "type": "string"
        },
        "last_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "mobile_number": {
          "anyOf": [
            {
              "maxLength": 10,
              "minLength": 9,
              "pattern": "\\d+",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "phone_number": {
          "anyOf": [
            {
              "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "zip_code": {
          "anyOf": [
            {
              "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "country_code",
        "eula_version",
        "first_name",
        "language",
        "last_name",
        "mobile_number",
        "phone_number",
        "zip_code"
      ],
      "type": "object"
    }
  },
  "required": [
    "profile"
  ],
  "title": "User - v2NewLead",
  "type": "object"
}

JSON instance

{
  "language": "fr-FR",
  "profile": {
    "country_code": "FR",
    "eula_version": "5.0",
    "first_name": "clem com rec",
    "language": "fr-FR",
    "last_name": "del",
    "zip_code": "10000"
  }
}

Validation #989

Success

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

JSON Schema

{}

JSON instance

{}

Validation #988

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CompanyForUserSignUp_2778": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "title": "Company - CompanyForUserSignUp",
      "type": "object"
    }
  },
  "properties": {
    "company": {
      "$ref": "#/definitions/CompanyForUserSignUp_2778",
      "description": "Company user is linked to",
      "type": "object"
    },
    "email": {
      "format": "email",
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "userCategory": {
      "enum": [
        "supplier",
        "requester",
        "contractorOfRequester"
      ],
      "type": "string"
    }
  },
  "required": [
    "company",
    "email",
    "firstName",
    "lastName",
    "password",
    "userCategory"
  ],
  "title": "User - NewUser",
  "type": "object"
}

JSON instance

{
  "company": {
    "id": "88ed3f90-90de-188b-b0fb-2e4d7a639e61"
  },
  "email": "HFufxyT9VI@KcHrt.bfrd",
  "firstName": "exercitation dolore eiusmod",
  "lastName": "sed",
  "password": "tempor consectetur",
  "userCategory": "contractorOfRequester"
}

Validation #987

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CompanyForUserSignUp_2778": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "title": "Company - CompanyForUserSignUp",
      "type": "object"
    }
  },
  "properties": {
    "company": {
      "$ref": "#/definitions/CompanyForUserSignUp_2778",
      "description": "Company user is linked to",
      "type": "object"
    },
    "email": {
      "format": "email",
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "password": {
      "type": "string"
    }
  },
  "required": [
    "company",
    "email",
    "firstName",
    "lastName",
    "password"
  ],
  "title": "User - NewUser",
  "type": "object"
}

JSON instance

{
  "company": {
    "id": "d060634e-8c6c-262e-a69c-75afc217644b"
  },
  "email": "4APNrh@cvkPCz.cy",
  "firstName": "est Excepteur laboris anim",
  "lastName": "esse aute consequat laborum minim",
  "password": "voluptate aliqua laborum dolor mollit"
}

Validation #986

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "CompanyForUserSignUp_2778": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "title": "Company - CompanyForUserSignUp",
      "type": "object"
    }
  },
  "properties": {
    "company": {
      "$ref": "#/definitions/CompanyForUserSignUp_2778",
      "description": "Company user is linked to",
      "type": "object"
    },
    "email": {
      "format": "email",
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "password": {
      "type": "string"
    }
  },
  "required": [
    "company",
    "email",
    "firstName",
    "lastName",
    "password"
  ],
  "title": "User - NewUser",
  "type": "object"
}

JSON instance

{
  "company": {
    "id": "d060634e-8c6c-262e-a69c-75afc217644b"
  },
  "email": "4APNrh@cvkPCz.cy",
  "firstName": "est Excepteur laboris anim",
  "lastName": "esse aute consequat laborum minim",
  "password": "voluptate aliqua laborum dolor mollit"
}

Validation #985

Failure

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

  • The property '#/contracts/0' contains additional properties ["crmId", "fiscalYear", "productName", "productCode", "isClosed", "totalAmount", "deliveredAmount", "depositedAmount", "amountToDeliver", "activePrice", "maturityLabel", "authorizedUnlock", "message", "commencementDate", "terminationDate", "varietyStandardDeviation", "qualityBonus", "stockType", "varietyName", "warrantyCost", "minimumPrice"] outside of the schema when none are allowed in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'amount_to_deliver' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'crm_id' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'delivered_amount' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'deposited_amount' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'fiscal_year' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'is_closed' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'orgette_price' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'product_code' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'product_name' in schema 2e414749-3021-5d55-9ed1-d874b4739a28
  • The property '#/contracts/0' did not contain a required property of 'total_amount' in schema 2e414749-3021-5d55-9ed1-d874b4739a28

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCellVariety_776": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cell": {
          "type": "string"
        },
        "variety": {
          "type": "string"
        }
      },
      "title": "CellVariety - DefaultCellVariety",
      "type": "object"
    },
    "DefaultContract_546": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount_to_deliver": {
          "description": "qteSoldeContrat",
          "minimum": 0,
          "type": "number"
        },
        "closing_date": {
          "anyOf": [
            {
              "description": "backend Data (settlement_price) : closingDate",
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commencement_date": {
          "anyOf": [
            {
              "description": "dateExecDebut",
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commodity": {
          "anyOf": [
            {
              "description": "codeContratTerme",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commodity_id": {
          "anyOf": [
            {
              "description": "backend Data (settlement_price) : sflCommodity",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "contracts": {
          "items": {
            "$ref": "#/definitions/minimalContract_770",
            "type": "object"
          },
          "type": "array"
        },
        "crm_id": {
          "description": "numContratOrigin",
          "type": "string"
        },
        "date": {
          "anyOf": [
            {
              "description": "dateContrat",
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivered_amount": {
          "description": "qteLivreContrat",
          "minimum": 0,
          "type": "number"
        },
        "deliveries": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/definitions/DefaultDelivery_552",
                "type": "object"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ]
        },
        "deposited_amount": {
          "description": "qteLivreDepot",
          "minimum": 0,
          "type": "number"
        },
        "fiscal_year": {
          "description": "campagne",
          "maximum": 2020,
          "minimum": 2019,
          "type": "integer"
        },
        "gain": {
          "description": "gain",
          "type": "number"
        },
        "id": {
          "description": "numContratOrigin",
          "pattern": "\\d*",
          "type": "string"
        },
        "is_closed": {
          "description": "clotureContrat == 'OUI'",
          "type": "boolean"
        },
        "itk_feedback": {
          "anyOf": [
            {
              "description": "itkFeedback\r\nDirectement la chaîne à afficher. Valeurs possibles : pas de retour, retour papier ou retour electronique",
              "enum": [
                "pas de retour",
                "retour papier",
                "retour electronique"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "maturity": {
          "anyOf": [
            {
              "description": "echeanceMatif",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "maturity_id": {
          "anyOf": [
            {
              "description": "backend Data (settlement_price) : sflMaturity",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "minimum_price": {
          "description": "prixMini",
          "minimum": 0,
          "type": "number"
        },
        "name": {
          "description": "libContrat",
          "type": "string"
        },
        "orgette_price": {
          "description": "prixContratOrgette",
          "minimum": 0,
          "type": "number"
        },
        "price": {
          "description": "prixContrat",
          "minimum": 0,
          "type": "number"
        },
        "product_code": {
          "type": "string"
        },
        "product_name": {
          "description": "libProduitContrat",
          "type": "string"
        },
        "quality_bonus": {
          "anyOf": [
            {
              "description": "qualityBonus",
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "samples": {
          "items": {
            "$ref": "#/definitions/DefaultSample_778",
            "type": "object"
          },
          "type": "array"
        },
        "settlement_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "settlements": {
          "items": {
            "$ref": "#/definitions/DefaultSettlement_560",
            "type": "object"
          },
          "type": "array"
        },
        "special_bonus": {
          "anyOf": [
            {
              "description": "specialBonus",
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "stock_type": {
          "anyOf": [
            {
              "description": "0 = Contrat normal\r\n1 = Contrat MED",
              "maximum": 1,
              "minimum": 0,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "strike": {
          "description": "cotation",
          "type": "number"
        },
        "surface": {
          "anyOf": [
            {
              "description": "surface",
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "termination_date": {
          "anyOf": [
            {
              "description": "dateExecFin",
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "total_amount": {
          "description": "qteContrat",
          "minimum": 0,
          "type": "number"
        },
        "type": {
          "description": "typeContrat",
          "type": "string"
        },
        "variety": {
          "description": "codFamOpticollecte",
          "type": "string"
        },
        "variety_name": {
          "description": "libFamOpticollecte",
          "type": "string"
        },
        "variety_standard_deviation": {
          "anyOf": [
            {
              "description": "varietyStandardDeviation",
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "warranty_cost": {
          "description": "primeOption",
          "minimum": 0,
          "type": "number"
        },
        "yield": {
          "anyOf": [
            {
              "description": "yield",
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "amount_to_deliver",
        "contracts",
        "crm_id",
        "delivered_amount",
        "deposited_amount",
        "fiscal_year",
        "gain",
        "id",
        "is_closed",
        "name",
        "orgette_price",
        "price",
        "product_code",
        "product_name",
        "samples",
        "strike",
        "total_amount",
        "type"
      ],
      "title": "Contract - DefaultContract",
      "type": "object"
    },
    "DefaultDelivery_552": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "base_price": {
          "description": "prixDeBase",
          "minimum": 0,
          "type": "number"
        },
        "characteristics": {
          "description": "caracteristiques",
          "items": {
            "$ref": "#/definitions/DeliveryCharacteristic_551",
            "type": "object"
          },
          "type": "array"
        },
        "contract": {
          "$ref": "#/definitions/DefaultContract_546",
          "type": "object"
        },
        "contractualizable_offer": {
          "type": "boolean"
        },
        "date": {
          "description": "dateLivraison",
          "format": "date",
          "type": "string"
        },
        "delivery_mode_code": {
          "description": "\"RDU1\", \"RDU2\", \"DEP1\", \"DEP2\"",
          "type": "string"
        },
        "delivery_number": {
          "pattern": "\\d*",
          "type": "string"
        },
        "invoices": {
          "description": "factures",
          "items": {
            "$ref": "#/definitions/DefaultInvoice_550",
            "type": "object"
          },
          "type": "array"
        },
        "net_amount": {
          "description": "quantiteNette",
          "minimum": 0,
          "type": "number"
        },
        "net_price": {
          "description": "prixNet",
          "minimum": 0,
          "type": "number"
        },
        "normed_amount": {
          "description": "quantiteNorme",
          "minimum": 0,
          "type": "number"
        },
        "place_id": {
          "description": "codeSiteDepot",
          "type": "string"
        },
        "product_code": {
          "description": "codeArticle",
          "type": "string"
        },
        "product_name": {
          "description": "libelleArticle",
          "type": "string"
        },
        "settled_amount": {
          "description": "debouclage",
          "minimum": 0,
          "type": "number"
        },
        "site_label": {
          "description": "libelleSite",
          "type": "string"
        },
        "stock_type": {
          "description": "natureStock",
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "variety": {
          "description": "codFamOpticollecte",
          "type": "string"
        },
        "variety_name": {
          "description": "libFamOpticollecte",
          "type": "string"
        }
      },
      "required": [
        "base_price",
        "characteristics",
        "contract",
        "date",
        "delivery_number",
        "invoices",
        "net_amount",
        "net_price",
        "normed_amount",
        "place_id",
        "product_code",
        "product_name",
        "settled_amount",
        "site_label",
        "stock_type",
        "variety",
        "variety_name"
      ],
      "title": "Delivery - DefaultDelivery",
      "type": "object"
    },
    "DefaultInvoiceLine_547": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "invoice_date": {
          "format": "date",
          "type": "string"
        },
        "invoice_number": {
          "pattern": "\\d*",
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "net_price": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "code",
        "invoice_date",
        "invoice_number",
        "label",
        "net_price"
      ],
      "title": "InvoiceLine - DefaultInvoiceLine",
      "type": "object"
    },
    "DefaultInvoicePrice_548": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "InvoicePrice - DefaultInvoicePrice",
      "type": "object"
    },
    "DefaultInvoice_550": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "minimum": 0,
          "type": "number"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/InvoiceCharacteristic_549",
            "type": "object"
          },
          "type": "array"
        },
        "lines": {
          "items": {
            "$ref": "#/definitions/DefaultInvoiceLine_547",
            "type": "object"
          },
          "type": "array"
        },
        "prices": {
          "items": {
            "$ref": "#/definitions/DefaultInvoicePrice_548",
            "type": "object"
          },
          "type": "array"
        },
        "product_label": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "characteristics",
        "lines",
        "prices",
        "product_label"
      ],
      "title": "Invoice - DefaultInvoice",
      "type": "object"
    },
    "DefaultSample_778": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "cell_varieties": {
          "items": {
            "$ref": "#/definitions/DefaultCellVariety_776",
            "type": "object"
          },
          "type": "array"
        },
        "characteristics": {
          "items": {
            "$ref": "#/definitions/SampleCharacteristic_777",
            "type": "object"
          },
          "type": "array"
        },
        "date": {
          "description": "The ISO 8601 date format (%Y-%m-%d)",
          "format": "date",
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "quantity": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "characteristics",
        "date",
        "number",
        "quantity"
      ],
      "title": "Sample - DefaultSample",
      "type": "object"
    },
    "DefaultSettlement_560": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "amount": {
          "minimum": 0,
          "type": "number"
        },
        "date": {
          "format": "date",
          "type": "string"
        },
        "price": {
          "minimum": 0,
          "type": "number"
        },
        "status": {
          "description": "0 => nothing special, 1 => to validate",
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "amount",
        "date",
        "price",
        "status"
      ],
      "title": "Settlement - DefaultSettlement",
      "type": "object"
    },
    "DeliveryCharacteristic_551": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "Characteristic - DeliveryCharacteristic",
      "type": "object"
    },
    "InvoiceCharacteristic_549": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "Characteristic - InvoiceCharacteristic",
      "type": "object"
    },
    "SampleCharacteristic_777": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "value": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "code",
        "label",
        "value"
      ],
      "title": "Characteristic - SampleCharacteristic",
      "type": "object"
    },
    "minimalContract_770": {
      "additionalProperties": false,
      "properties": {
        "crm_id": {
          "description": "numContratOrigin",
          "type": "string"
        },
        "id": {
          "description": "numContratOrigin",
          "pattern": "\\d*",
          "type": "string"
        }
      },
      "required": [
        "crm_id",
        "id"
      ],
      "title": "Contract - minimalContract",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "contracts": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "amount_to_deliver": {
            "description": "qteSoldeContrat",
            "minimum": 0,
            "type": "number"
          },
          "closing_date": {
            "anyOf": [
              {
                "description": "backend Data (settlement_price) : closingDate",
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commencement_date": {
            "anyOf": [
              {
                "description": "dateExecDebut",
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodity": {
            "anyOf": [
              {
                "description": "codeContratTerme",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "commodity_id": {
            "anyOf": [
              {
                "description": "backend Data (settlement_price) : sflCommodity",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contracts": {
            "items": {
              "$ref": "#/definitions/minimalContract_770",
              "type": "object"
            },
            "type": "array"
          },
          "crm_id": {
            "description": "numContratOrigin",
            "type": "string"
          },
          "date": {
            "anyOf": [
              {
                "description": "dateContrat",
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "delivered_amount": {
            "description": "qteLivreContrat",
            "minimum": 0,
            "type": "number"
          },
          "deliveries": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/definitions/DefaultDelivery_552",
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ]
          },
          "deposited_amount": {
            "description": "qteLivreDepot",
            "minimum": 0,
            "type": "number"
          },
          "fiscal_year": {
            "description": "campagne",
            "maximum": 2020,
            "minimum": 2019,
            "type": "integer"
          },
          "gain": {
            "description": "gain",
            "type": "number"
          },
          "id": {
            "description": "numContratOrigin",
            "pattern": "\\d*",
            "type": "string"
          },
          "is_closed": {
            "description": "clotureContrat == 'OUI'",
            "type": "boolean"
          },
          "itk_feedback": {
            "anyOf": [
              {
                "description": "itkFeedback\r\nDirectement la chaîne à afficher. Valeurs possibles : pas de retour, retour papier ou retour electronique",
                "enum": [
                  "pas de retour",
                  "retour papier",
                  "retour electronique"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maturity": {
            "anyOf": [
              {
                "description": "echeanceMatif",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maturity_id": {
            "anyOf": [
              {
                "description": "backend Data (settlement_price) : sflMaturity",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "minimum_price": {
            "description": "prixMini",
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "description": "libContrat",
            "type": "string"
          },
          "orgette_price": {
            "description": "prixContratOrgette",
            "minimum": 0,
            "type": "number"
          },
          "price": {
            "description": "prixContrat",
            "minimum": 0,
            "type": "number"
          },
          "product_code": {
            "type": "string"
          },
          "product_name": {
            "description": "libProduitContrat",
            "type": "string"
          },
          "quality_bonus": {
            "anyOf": [
              {
                "description": "qualityBonus",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "samples": {
            "items": {
              "$ref": "#/definitions/DefaultSample_778",
              "type": "object"
            },
            "type": "array"
          },
          "settlement_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "settlements": {
            "items": {
              "$ref": "#/definitions/DefaultSettlement_560",
              "type": "object"
            },
            "type": "array"
          },
          "special_bonus": {
            "anyOf": [
              {
                "description": "specialBonus",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "stock_type": {
            "anyOf": [
              {
                "description": "0 = Contrat normal\r\n1 = Contrat MED",
                "maximum": 1,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "strike": {
            "description": "cotation",
            "type": "number"
          },
          "surface": {
            "anyOf": [
              {
                "description": "surface",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "termination_date": {
            "anyOf": [
              {
                "description": "dateExecFin",
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_amount": {
            "description": "qteContrat",
            "minimum": 0,
            "type": "number"
          },
          "type": {
            "description": "typeContrat",
            "type": "string"
          },
          "variety": {
            "description": "codFamOpticollecte",
            "type": "string"
          },
          "variety_name": {
            "description": "libFamOpticollecte",
            "type": "string"
          },
          "variety_standard_deviation": {
            "anyOf": [
              {
                "description": "varietyStandardDeviation",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "warranty_cost": {
            "description": "primeOption",
            "minimum": 0,
            "type": "number"
          },
          "yield": {
            "anyOf": [
              {
                "description": "yield",
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "amount_to_deliver",
          "contracts",
          "crm_id",
          "delivered_amount",
          "deposited_amount",
          "fiscal_year",
          "gain",
          "id",
          "is_closed",
          "name",
          "orgette_price",
          "price",
          "product_code",
          "product_name",
          "samples",
          "strike",
          "total_amount",
          "type"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "contracts"
  ],
  "title": "Contract - DefaultContract",
  "type": "object"
}

JSON instance

{
  "contracts": [
    {
      "activePrice": 377.5,
      "amountToDeliver": 70,
      "authorizedUnlock": false,
      "commencementDate": "2020-07-01",
      "commodity": "COM",
      "contracts": [],
      "crmId": "328592-000",
      "date": "2020-10-05",
      "deliveredAmount": 0,
      "depositedAmount": 0,
      "fiscalYear": 2020,
      "gain": 3.55,
      "id": "238835",
      "isClosed": false,
      "maturity": "NOV-20",
      "maturityLabel": "Nov 20",
      "message": "Les prix de marché ne sont pas à jour.",
      "minimumPrice": 380,
      "name": "Contrat Euronext",
      "price": 389,
      "productCode": "000129",
      "productName": "COLZA D HIVER",
      "qualityBonus": 0,
      "samples": [],
      "settlements": [
        {
          "amount": 20,
          "date": "2020-10-15",
          "price": 385,
          "status": 0
        },
        {
          "amount": 24.5,
          "date": "2020-10-15",
          "price": 386,
          "status": 0
        }
      ],
      "stockType": 0,
      "strike": 382,
      "surface": 0,
      "terminationDate": "2020-08-31",
      "totalAmount": 70,
      "type": "AE1",
      "variety": "COL",
      "varietyName": "COLZA",
      "varietyStandardDeviation": 0,
      "warrantyCost": 9,
      "yield": 0
    }
  ]
}

Validation #984

Success

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

JSON Schema

{
  "definitions": {
    "DefaultOrderV2_2795": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "creationDate": {
          "format": "date",
          "type": "string"
        },
        "customerFirstname": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "customerLastname": {
          "type": "string"
        },
        "customerTitle": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "type": "string"
        },
        "internalReference": {
          "type": "string"
        },
        "number": {
          "type": "integer"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/ShortProductV2_2796",
            "type": "object"
          },
          "type": "array"
        },
        "stockroom": {
          "type": "string"
        }
      },
      "required": [
        "creationDate",
        "customerFirstname",
        "customerLastname",
        "customerTitle",
        "id",
        "internalReference",
        "number",
        "products",
        "stockroom"
      ],
      "title": "OrderV2 - DefaultOrderV2",
      "type": "object"
    },
    "DocumentDetailV2_2793": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "creationDate": {
          "format": "date",
          "type": "string"
        },
        "defaultRecipientStockroom": {
          "type": "string"
        },
        "documentNumber": {
          "type": "integer"
        },
        "documentType": {
          "type": "string"
        },
        "emittingStoreName": {
          "type": "string"
        },
        "externalReference": {
          "type": "string"
        },
        "id": {
          "description": "= type + document number\r\nex : ALF-352",
          "type": "string"
        },
        "internalReference": {
          "type": "string"
        },
        "orders": {
          "items": {
            "$ref": "#/definitions/DefaultOrderV2_2795",
            "type": "object"
          },
          "type": "array"
        },
        "products": {
          "items": {
            "$ref": "#/definitions/ReceptionProductV2_2794",
            "type": "object"
          },
          "type": "array"
        },
        "supplierName": {
          "type": "string"
        }
      },
      "required": [
        "creationDate",
        "defaultRecipientStockroom",
        "documentNumber",
        "documentType",
        "emittingStoreName",
        "externalReference",
        "id",
        "internalReference",
        "orders",
        "products",
        "supplierName"
      ],
      "title": "DocumentDetailV2 - DocumentDetailV2",
      "type": "object"
    },
    "ReceptionProductV2_2794": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "departmentId": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "isAuthorized": {
          "type": "boolean"
        },
        "isManagedInStock": {
          "type": "boolean"
        },
        "quantity": {
          "type": "integer"
        },
        "sku": {
          "type": "string"
        },
        "traceabilityLevel": {
          "type": "string"
        }
      },
      "required": [
        "departmentId",
        "description",
        "isAuthorized",
        "isManagedInStock",
        "quantity",
        "sku",
        "traceabilityLevel"
      ],
      "title": "ProductV2 - ReceptionProductV2",
      "type": "object"
    },
    "ShortProductV2_2796": {
      "additionalProperties": false,
      "properties": {
        "quantity": {
          "type": "integer"
        },
        "sku": {
          "type": "string"
        }
      },
      "required": [
        "quantity",
        "sku"
      ],
      "title": "ProductV2 - ShortProductV2",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "items": {
    "additionalProperties": false,
    "properties": {
      "documents": {
        "items": {
          "$ref": "#/definitions/DocumentDetailV2_2793",
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "documents"
    ],
    "type": "object"
  },
  "title": "ReceptionDocumentsResponseV2 - DefaultReceptionDocumentsResponseV2",
  "type": "array"
}

JSON instance

[
  {
    "documents": [
      {
        "creationDate": "1984-05-29",
        "defaultRecipientStockroom": "esse",
        "documentNumber": 62827276,
        "documentType": "aliquip deserunt",
        "emittingStoreName": "deserunt",
        "externalReference": "ipsum",
        "id": "elit do incididunt irure commod",
        "internalReference": "labore veniam",
        "orders": [
          {
            "creationDate": "2017-02-11",
            "customerFirstname": "in consectetur eu adipisicing commodo",
            "customerLastname": "ea cupidatat in",
            "customerTitle": "irure consequat laboris",
            "id": "in est",
            "internalReference": "occaecat dolor",
            "number": -75026040,
            "products": [
              {
                "quantity": 12703150,
                "sku": "reprehenderit sunt dolore"
              },
              {
                "quantity": -87729825,
                "sku": "cupidatat eu"
              },
              {
                "quantity": 76514913,
                "sku": "amet tempor labo"
              },
              {
                "quantity": 59715636,
                "sku": "commodo ut ut"
              }
            ],
            "stockroom": "culpa ut commodo"
          }
        ],
        "products": [
          {
            "departmentId": "velit",
            "description": "enim in adipisicing culpa laboris",
            "isAuthorized": true,
            "isManagedInStock": false,
            "quantity": -98445431,
            "sku": "incididunt magna minim ipsum",
            "traceabilityLevel": "in"
          },
          {
            "departmentId": "occaecat ut sint sit",
            "description": "sit enim mollit aliquip sint",
            "isAuthorized": false,
            "isManagedInStock": false,
            "quantity": 95752096,
            "sku": "occaecat nisi non exercitation",
            "traceabilityLevel": "ex elit reprehenderit quis"
          },
          {
            "departmentId": "adipisicing veniam",
            "description": "aliqua eu",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": -40525159,
            "sku": "ut",
            "traceabilityLevel": "Duis sunt magna esse"
          },
          {
            "departmentId": "minim",
            "description": "non consectetur elit occaecat veniam",
            "isAuthorized": true,
            "isManagedInStock": true,
            "quantity": 71665875,
            "sku": "sit laboru",
            "traceabilityLevel": "enim dolor sint Lorem sunt"
          },
          {
            "departmentId": "est culpa ut",
            "description": "quis non cupidatat",
            "isAuthorized": true,
            "isManagedInStock": false,
            "quantity": -74865994,
            "sku": "sunt tempor ut",
            "traceabilityLevel": "commodo Lorem cupi"
          }
        ],
        "supplierName": "cupidatat irure non aliquip"
      },
      {
        "creationDate": "1976-02-01",
        "defaultRecipientStockroom": "Lorem nisi ipsum",
        "documentNumber": -71862545,
        "documentType": "ad in Duis ullamco et",
        "emittingStoreName": "in ex nulla inci",
        "externalReference": "proident reprehenderit qui aliqua pariatur",
        "id": "nisi Lorem sint do",
        "internalReference": "exercitation fugi",
        "orders": [
          {
            "creationDate": "2004-02-18",
            "customerFirstname": null,
            "customerLastname": "tempor",
            "customerTitle": "nulla esse dolor non incididunt",
            "id": "tempor sunt amet",
            "internalReference": "cupidatat Ut",
            "number": 72840086,
            "products": [
              {
                "quantity": -52754480,
                "sku": "in Excepteur est"
              }
            ],
            "stockroom": "laborum"
          },
          {
            "creationDate": "2012-10-12",
            "customerFirstname": "sunt est commod",
            "customerLastname": "veniam",
            "customerTitle": null,
            "id": "quis laborum",
            "internalReference": "qui labore dolor id veniam",
            "number": -83733232,
            "products": [
              {
                "quantity": 67499642,
                "sku": "Duis et reprehenderit"
              }
            ],
            "stockroom": "magna nostrud quis"
          },
          {
            "creationDate": "1980-04-04",
            "customerFirstname": null,
            "customerLastname": "ut ",
            "customerTitle": null,
            "id": "amet consectetur incididunt",
            "internalReference": "adipisicing",
            "number": -30553156,
            "products": [
              {
                "quantity": 64083520,
                "sku": "ut Duis"
              },
              {
                "quantity": 81140243,
                "sku": "eiusmod qui voluptate amet veniam"
              }
            ],
            "stockroom": "tempor"
          }
        ],
        "products": [
          {
            "departmentId": "in",
            "description": "ut",
            "isAuthorized": true,
            "isManagedInStock": false,
            "quantity": -48992519,
            "sku": "nisi est in",
            "traceabilityLevel": "deserunt magna laboris Lorem"
          }
        ],
        "supplierName": "dolor"
      }
    ]
  },
  {
    "documents": [
      {
        "creationDate": "1981-06-18",
        "defaultRecipientStockroom": "esse labore reprehenderit",
        "documentNumber": -63811704,
        "documentType": "aliquip",
        "emittingStoreName": "consectetur in",
        "externalReference": "in irure laboris voluptate",
        "id": "et of",
        "internalReference": "consectetur",
        "orders": [
          {
            "creationDate": "1948-11-04",
            "customerFirstname": null,
            "customerLastname": "id in ut tempor in",
            "customerTitle": null,
            "id": "id et laborum",
            "internalReference": "aute",
            "number": -90122797,
            "products": [
              {
                "quantity": 9727146,
                "sku": "dolore anim Ut veniam sed"
              },
              {
                "quantity": -83843603,
                "sku": "commodo aute incididunt"
              }
            ],
            "stockroom": "Duis amet"
          }
        ],
        "products": [
          {
            "departmentId": "in dolor occaecat ex nulla",
            "description": "velit l",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": -83529639,
            "sku": "do",
            "traceabilityLevel": "est"
          },
          {
            "departmentId": "eu consectetur pariatur",
            "description": "ullamco",
            "isAuthorized": false,
            "isManagedInStock": false,
            "quantity": 20392477,
            "sku": "veniam ex exercitation consectetur",
            "traceabilityLevel": "velit aute"
          },
          {
            "departmentId": "",
            "description": "eiusmod irure qui in sit",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": 26724366,
            "sku": "esse elit ipsum proident",
            "traceabilityLevel": "in dolor aliquip adipisic"
          }
        ],
        "supplierName": "Excepteur mollit pariatur elit"
      },
      {
        "creationDate": "2001-10-20",
        "defaultRecipientStockroom": "non pariatur",
        "documentNumber": -57750008,
        "documentType": "officia deserunt ut",
        "emittingStoreName": "consequat",
        "externalReference": "eiusmod",
        "id": "do dolor aliquip consectetur laboris",
        "internalReference": "minim dolore sed",
        "orders": [
          {
            "creationDate": "1975-10-16",
            "customerFirstname": "cillum aliquip mollit dolor eiusmod",
            "customerLastname": "aliquip dolor velit non",
            "customerTitle": "do reprehenderit est consectetur",
            "id": "pariatur fugiat qui",
            "internalReference": "veniam",
            "number": -41832857,
            "products": [
              {
                "quantity": 48489350,
                "sku": "pariatur ut qui in"
              }
            ],
            "stockroom": "adipisicing velit"
          }
        ],
        "products": [
          {
            "departmentId": "elit deserunt",
            "description": "veniam reprehenderit",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": -42877414,
            "sku": "sit ad",
            "traceabilityLevel": "culpa"
          },
          {
            "departmentId": "culpa do",
            "description": "in nostrud aliqua",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": -46514224,
            "sku": "in consectetur anim officia irure",
            "traceabilityLevel": "nisi tempor"
          }
        ],
        "supplierName": "Excepteur incididunt sed ex in"
      },
      {
        "creationDate": "1988-05-13",
        "defaultRecipientStockroom": "cillum veniam velit nulla ut",
        "documentNumber": -2468826,
        "documentType": "laborum quis in deserunt id",
        "emittingStoreName": "culpa ullamco proident a",
        "externalReference": "in",
        "id": "aliquip",
        "internalReference": "nulla in sed eiusmod",
        "orders": [
          {
            "creationDate": "1962-07-17",
            "customerFirstname": "a",
            "customerLastname": "qui id",
            "customerTitle": "non fugiat dolore nulla veniam",
            "id": "esse anim labore",
            "internalReference": "enim",
            "number": -96168756,
            "products": [
              {
                "quantity": -72234938,
                "sku": ""
              },
              {
                "quantity": -29256140,
                "sku": "nulla"
              },
              {
                "quantity": -92859871,
                "sku": "exercitation aliqua nulla id sunt"
              },
              {
                "quantity": -70588253,
                "sku": "consectetur laboris"
              },
              {
                "quantity": -35326061,
                "sku": "ad exercitation"
              }
            ],
            "stockroom": "dolore incididunt voluptate"
          }
        ],
        "products": [
          {
            "departmentId": "nisi est qui labore",
            "description": "exercitation",
            "isAuthorized": false,
            "isManagedInStock": false,
            "quantity": 75027158,
            "sku": "ut velit est sed mollit",
            "traceabilityLevel": "veniam officia"
          }
        ],
        "supplierName": "deserunt amet aliquip non"
      },
      {
        "creationDate": "1947-11-15",
        "defaultRecipientStockroom": "amet aliquip do qui",
        "documentNumber": 22907380,
        "documentType": "a",
        "emittingStoreName": "cupida",
        "externalReference": "aliquip irure",
        "id": "voluptate",
        "internalReference": "ullamco",
        "orders": [
          {
            "creationDate": "1990-09-18",
            "customerFirstname": "ut in mollit",
            "customerLastname": "nostrud adipisicing eu aliqu",
            "customerTitle": null,
            "id": "est incididunt",
            "internalReference": "deserunt exercitation minim dolore officia",
            "number": 93214707,
            "products": [
              {
                "quantity": 59062401,
                "sku": "aliqua"
              },
              {
                "quantity": -28939790,
                "sku": "dolore"
              }
            ],
            "stockroom": "irur"
          },
          {
            "creationDate": "1943-08-24",
            "customerFirstname": "sed",
            "customerLastname": "ut officia dolore incididunt aut",
            "customerTitle": null,
            "id": "consequat sed ea enim ullamco",
            "internalReference": "et anim do laborum",
            "number": 60240464,
            "products": [
              {
                "quantity": -15086682,
                "sku": "consectetur reprehenderit"
              },
              {
                "quantity": -36588365,
                "sku": "ullamco"
              }
            ],
            "stockroom": "non culpa voluptate ut ipsum"
          }
        ],
        "products": [
          {
            "departmentId": "anim fugiat ex ullamco",
            "description": "id officia Excepteur",
            "isAuthorized": true,
            "isManagedInStock": true,
            "quantity": -71329688,
            "sku": "exercitation dolore Excepteur magna",
            "traceabilityLevel": "enim labore voluptate Lorem"
          },
          {
            "departmentId": "culpa nisi consectetur",
            "description": "enim nulla",
            "isAuthorized": false,
            "isManagedInStock": false,
            "quantity": -57919196,
            "sku": "tempor",
            "traceabilityLevel": "pariatur fugiat velit ullamco occaecat"
          }
        ],
        "supplierName": "dolore aliquip eiusmod labori"
      },
      {
        "creationDate": "1946-03-01",
        "defaultRecipientStockroom": "ipsum do sed mollit consequat",
        "documentNumber": 44314092,
        "documentType": "esse",
        "emittingStoreName": "sint officia fugiat",
        "externalReference": "ut",
        "id": "exercitation tempor sit ",
        "internalReference": "aliquip et irure ea",
        "orders": [
          {
            "creationDate": "1953-11-07",
            "customerFirstname": "in i",
            "customerLastname": "sit veniam",
            "customerTitle": null,
            "id": "",
            "internalReference": "do qui Duis",
            "number": -80811015,
            "products": [
              {
                "quantity": 90734983,
                "sku": "officia proident Duis deserunt fugiat"
              },
              {
                "quantity": -81644103,
                "sku": "Excepteur proident in"
              },
              {
                "quantity": -75007958,
                "sku": "laborum ut et in"
              }
            ],
            "stockroom": "et laboris"
          },
          {
            "creationDate": "1952-09-11",
            "customerFirstname": null,
            "customerLastname": "dolor exercit",
            "customerTitle": "nostrud culpa ut in",
            "id": "nulla aliquip reprehenderit commodo dolor",
            "internalReference": "Lorem tempor ad nisi",
            "number": -55188361,
            "products": [
              {
                "quantity": -38662109,
                "sku": "in"
              },
              {
                "quantity": -64359227,
                "sku": "et consequat aute"
              },
              {
                "quantity": -67873844,
                "sku": "est"
              },
              {
                "quantity": -88146021,
                "sku": "laborum fugiat"
              }
            ],
            "stockroom": "commodo non velit Duis nostrud"
          },
          {
            "creationDate": "2017-03-21",
            "customerFirstname": "ex aliquip",
            "customerLastname": "nostrud dolor",
            "customerTitle": "dolore enim dolor non",
            "id": "deserunt",
            "internalReference": "eiusmod velit reprehen",
            "number": 34071207,
            "products": [
              {
                "quantity": 14497289,
                "sku": "id dolore cupidatat"
              }
            ],
            "stockroom": "consectetur"
          }
        ],
        "products": [
          {
            "departmentId": "mollit aliquip cupidatat Excepteur laboris",
            "description": "esse consequat adipisicing",
            "isAuthorized": true,
            "isManagedInStock": true,
            "quantity": 68144544,
            "sku": "elit anim",
            "traceabilityLevel": "eiusmod Lorem veniam cillum"
          },
          {
            "departmentId": "elit ut esse",
            "description": "enim fugiat ut sit Excepteur",
            "isAuthorized": true,
            "isManagedInStock": true,
            "quantity": -81214987,
            "sku": "tempor in Ut commo",
            "traceabilityLevel": "irure"
          }
        ],
        "supplierName": "sint occaecat minim"
      }
    ]
  },
  {
    "documents": [
      {
        "creationDate": "1968-02-25",
        "defaultRecipientStockroom": "sint",
        "documentNumber": -87686229,
        "documentType": "dolore amet",
        "emittingStoreName": "fugiat labore culpa quis in",
        "externalReference": "consequat",
        "id": "minim et sit culpa",
        "internalReference": "ipsum commodo adipisicing",
        "orders": [
          {
            "creationDate": "1970-09-30",
            "customerFirstname": null,
            "customerLastname": "occaecat",
            "customerTitle": null,
            "id": "ex dolor aliqua in",
            "internalReference": "nulla",
            "number": -70729746,
            "products": [
              {
                "quantity": 24792014,
                "sku": "Duis dolor id veniam"
              }
            ],
            "stockroom": "culpa"
          },
          {
            "creationDate": "1975-05-31",
            "customerFirstname": null,
            "customerLastname": "ma",
            "customerTitle": "officia",
            "id": "labore irure aliqua sit",
            "internalReference": "culpa consectetur m",
            "number": 13639478,
            "products": [
              {
                "quantity": 74769430,
                "sku": "ad"
              }
            ],
            "stockroom": "ex ut dolor reprehenderit anim"
          }
        ],
        "products": [
          {
            "departmentId": "amet velit tempor id",
            "description": "irure reprehenderi",
            "isAuthorized": true,
            "isManagedInStock": false,
            "quantity": 99564895,
            "sku": "labore enim",
            "traceabilityLevel": "pariatur eiusmod"
          },
          {
            "departmentId": "adipisicing ad",
            "description": "adipisicing consectetur",
            "isAuthorized": false,
            "isManagedInStock": true,
            "quantity": -33151016,
            "sku": "tempor cupidatat ipsum consectetur qui",
            "traceabilityLevel": "eu voluptate minim"
          },
          {
            "departmentId": "eu dolor",
            "description": "est",
            "isAuthorized": true,
            "isManagedInStock": true,
            "quantity": 37256942,
            "sku": "in eu nulla",
            "traceabilityLevel": "consequat cupidatat"
          },
          {
            "departmentId": "Except",
            "description": "deserunt in tempor",
            "isAuthorized": false,
            "isManagedInStock": false,
            "quantity": -75399045,
            "sku": "consequat consectetur",
            "traceabilityLevel": "id fugiat sunt dolor ex"
          }
        ],
        "supplierName": "nisi aliquip ipsum consectetur laboris"
      }
    ]
  }
]

Validation #983

Failure

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

  • The property '#/details/0' did not contain a required property of 'type' in schema 84d4e4ee-2501-5990-b23c-2927f21aa9f0#
  • The property '#/details/1' did not contain a required property of 'type' in schema 84d4e4ee-2501-5990-b23c-2927f21aa9f0#
  • The property '#/details/2' did not contain a required property of 'type' in schema 84d4e4ee-2501-5990-b23c-2927f21aa9f0#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOtpTransactionDetail_2815": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "friendlyName": {
          "type": "string"
        },
        "position": {
          "type": "integer"
        },
        "type": {
          "enum": [
            "text",
            "multiline"
          ],
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "friendlyName",
        "position",
        "type",
        "value"
      ],
      "title": "OtpTransactionDetail - DefaultOtpTransactionDetail",
      "type": "object"
    },
    "DefaultOtpTransactionTerm_2814": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "label": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "label",
        "url"
      ],
      "title": "OtpTransactionTerm - DefaultOtpTransactionTerm",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "description": {
      "type": "string"
    },
    "details": {
      "items": {
        "$ref": "#/definitions/DefaultOtpTransactionDetail_2815",
        "type": "object"
      },
      "type": "array"
    },
    "hiddenPhoneNumber": {
      "type": "string"
    },
    "terms": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/definitions/DefaultOtpTransactionTerm_2814",
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ]
    },
    "transactionId": {
      "type": "string"
    },
    "transactionRef": {
      "type": "integer"
    },
    "validationForbiden": {
      "type": "boolean"
    }
  },
  "required": [
    "description",
    "details",
    "hiddenPhoneNumber",
    "transactionId",
    "transactionRef",
    "validationForbiden"
  ],
  "title": "OtpTransactionResponse - DefaultCreateTransactionResponse",
  "type": "object"
}

JSON instance

{
  "description": "En validant cette opération, la demande de versement d'un montant de 1.0 € à la date souhaitée du 04/11/2020 sera envoyé.",
  "details": [
    {
      "friendlyName": "Date de versement souhaitée",
      "position": 3,
      "value": "04/11/2020"
    },
    {
      "friendlyName": "Type",
      "position": 1,
      "value": "Versement Acompte"
    },
    {
      "friendlyName": "Montant souhaité",
      "position": 2,
      "value": "1.0"
    }
  ],
  "hiddenPhoneNumber": "***********54",
  "transactionId": "cc1b1744-c77f-41d0-9030-761689f23085",
  "transactionRef": 120,
  "validationForbiden": false
}