The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:
{
"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"
},
"amount_to_deposit": {
"minimum": 0,
"type": "number"
},
"closing_date": {
"description": "backend Data (settlement_price) : closingDate",
"format": "date",
"type": "string"
},
"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": 2018,
"minimum": 2017,
"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"
},
"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": {
"description": "0 = Contrat normal\r\n1 = Contrat MED",
"maximum": 1,
"minimum": 0,
"type": "integer"
},
"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",
"amount_to_deposit",
"closing_date",
"commencement_date",
"commodity",
"commodity_id",
"contracts",
"crm_id",
"date",
"delivered_amount",
"deliveries",
"deposited_amount",
"fiscal_year",
"gain",
"id",
"is_closed",
"itk_feedback",
"maturity",
"maturity_id",
"name",
"price",
"product_code",
"product_name",
"quality_bonus",
"samples",
"settlement_price",
"settlements",
"special_bonus",
"stock_type",
"strike",
"surface",
"termination_date",
"total_amount",
"type",
"variety",
"variety_name",
"variety_standard_deviation",
"yield"
],
"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": "datetime",
"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"
},
"rebill": {
"minimum": 0,
"type": "number"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"required": [
"code",
"label",
"rebill",
"value"
],
"title": "Characteristic - DeliveryCharacteristic",
"type": "object"
},
"InvoiceCharacteristic_549": {
"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": "Characteristic - InvoiceCharacteristic",
"type": "object"
},
"SampleCharacteristic_777": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"minimum": 0,
"type": "number"
}
},
"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"
},
"amount_to_deposit": {
"minimum": 0,
"type": "number"
},
"closing_date": {
"description": "backend Data (settlement_price) : closingDate",
"format": "date",
"type": "string"
},
"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": 2018,
"minimum": 2017,
"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"
},
"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": {
"description": "0 = Contrat normal\r\n1 = Contrat MED",
"maximum": 1,
"minimum": 0,
"type": "integer"
},
"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",
"amount_to_deposit",
"closing_date",
"commencement_date",
"commodity",
"commodity_id",
"contracts",
"crm_id",
"date",
"delivered_amount",
"deliveries",
"deposited_amount",
"fiscal_year",
"gain",
"id",
"is_closed",
"itk_feedback",
"maturity",
"maturity_id",
"name",
"price",
"product_code",
"product_name",
"quality_bonus",
"samples",
"settlement_price",
"settlements",
"special_bonus",
"stock_type",
"strike",
"surface",
"termination_date",
"total_amount",
"type",
"variety",
"variety_name",
"variety_standard_deviation",
"yield"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"contracts"
],
"title": "Contract - DefaultContract",
"type": "object"
}
{
"error": "A loop prevents this json to be generated"
}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"additionalProperties": false,
"definitions": {
"RGPDInformationRequest_1630": {
"additionalProperties": false,
"properties": {
"can_be_contacted_by_email": {
"type": "boolean"
},
"can_be_contacted_by_mail": {
"type": "boolean"
},
"can_be_contacted_on_home_phone": {
"type": "boolean"
},
"can_be_contacted_on_mobile_phone": {
"type": "boolean"
},
"signature": {
"description": "file, request = base64, response = url",
"type": "string"
}
},
"required": [
"can_be_contacted_by_email",
"can_be_contacted_by_mail",
"can_be_contacted_on_home_phone",
"can_be_contacted_on_mobile_phone",
"signature"
],
"title": "RGPDInformation - RGPDInformationRequest",
"type": "object"
}
},
"properties": {
"customer": {
"additionalProperties": false,
"properties": {
"address": {
"description": "Adresse",
"type": "string"
},
"city": {
"description": "Ville",
"type": "string"
},
"coach_email": {
"anyOf": [
{
"description": "Mail entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"coach_name": {
"anyOf": [
{
"description": "Entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"coach_phone": {
"anyOf": [
{
"description": "Portable entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"description": "Commentaires",
"type": "string"
},
{
"type": "null"
}
]
},
"country": {
"description": "Pays",
"type": "string"
},
"discipline": {
"description": "Discipline",
"enum": [
"Obstacles",
"Leisure",
"Dressage",
"Eventing",
"Polo"
],
"type": "string"
},
"email": {
"description": "Mail",
"format": "email",
"type": "string"
},
"groom_email": {
"anyOf": [
{
"description": "Mail groom",
"type": "string"
},
{
"type": "null"
}
]
},
"groom_mobile_phone": {
"anyOf": [
{
"description": "Portable groom",
"type": "string"
},
{
"type": "null"
}
]
},
"groom_name": {
"anyOf": [
{
"description": "Groom",
"type": "string"
},
{
"type": "null"
}
]
},
"home_phone": {
"anyOf": [
{
"description": "Téléphone fixe",
"type": "string"
},
{
"type": "null"
}
]
},
"last_contact_at": {
"description": "?????",
"format": "datetime",
"type": "string"
},
"mobile_phone": {
"description": "Portable",
"type": "string"
},
"name": {
"description": "Prénom",
"type": "string"
},
"partner_id": {
"anyOf": [
{
"description": "Id du client ayant le statut partenaire et qui a mis Hermes en contact avec le client",
"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"
},
{
"type": "null"
}
]
},
"preferred_number": {
"description": "Indicateur du numéro de téléphone à privilégier pour contacter le client",
"enum": [
"mobile",
"home"
],
"type": "string"
},
"related_store_id": {
"description": "Id de la boutique hermès à laquelle le client est rattaché",
"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"
},
"related_store_phone_number": {
"anyOf": [
{
"description": "numéro de téléphone de la boutique ?????",
"type": "string"
},
{
"type": "null"
}
]
},
"related_store_seller_name": {
"anyOf": [
{
"description": "vendeur attitré dans la boutique",
"type": "string"
},
{
"type": "null"
}
]
},
"rgpd_information_attributes": {
"$ref": "#/definitions/RGPDInformationRequest_1630",
"description": "préférences RGPD du client",
"type": "object"
},
"stable_id": {
"description": "id de l'écurie à laquelle le client est rattaché",
"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"
},
"state": {
"description": "Département",
"type": "string"
},
"status": {
"description": "Indique la typologie du client",
"enum": [
"off",
"prospect",
"client",
"pro",
"partner"
],
"type": "string"
},
"surname": {
"description": "Nom",
"type": "string"
}
},
"required": [
"address",
"city",
"coach_email",
"coach_name",
"coach_phone",
"comments",
"country",
"discipline",
"email",
"groom_email",
"groom_mobile_phone",
"groom_name",
"home_phone",
"last_contact_at",
"mobile_phone",
"name",
"partner_id",
"preferred_number",
"related_store_id",
"related_store_phone_number",
"related_store_seller_name",
"rgpd_information_attributes",
"stable_id",
"state",
"status",
"surname"
],
"type": "object"
}
},
"required": [
"customer"
],
"title": "Customer - CustomerCreate",
"type": "object"
}
{
"customer": {
"address": "sit esse ut sed cillum",
"city": "incididunt in anim",
"coach_email": "tempor officia labore ex",
"coach_name": "ipsum",
"coach_phone": null,
"comments": null,
"country": "eu veniam eiusmod dolor do",
"discipline": "Leisure",
"email": "yrLzXQrqT@vkIRIzNgCkaGajDSiJvhIVux.nrv",
"groom_email": null,
"groom_mobile_phone": "laboris aute anim dolore",
"groom_name": null,
"home_phone": null,
"last_contact_at": "1955-11-30T13:19:05.504Z",
"mobile_phone": "ut non",
"name": "irure ",
"partner_id": "4aff5170-7df9-2bd7-bc56-38a15cbce033",
"preferred_number": "mobile",
"related_store_id": "e10ec862-8ff7-1e07-9122-12d318ce4b44",
"related_store_phone_number": null,
"related_store_seller_name": null,
"rgpd_information_attributes": {
"can_be_contacted_by_email": false,
"can_be_contacted_by_mail": false,
"can_be_contacted_on_home_phone": false,
"can_be_contacted_on_mobile_phone": false,
"signature": "non eiusmod occaecat consequat"
},
"stable_id": "ae6dc0c1-71e0-57a2-89a7-9bdf1bafdacd",
"state": "mollit in",
"status": "client",
"surname": "cillum mollit nisi"
}
}
The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:
{
"additionalProperties": false,
"definitions": {
"RGPDInformationRequest_1630": {
"additionalProperties": false,
"properties": {
"can_be_contacted_by_email": {
"type": "boolean"
},
"can_be_contacted_by_mail": {
"type": "boolean"
},
"can_be_contacted_on_home_phone": {
"type": "boolean"
},
"can_be_contacted_on_mobile_phone": {
"type": "boolean"
},
"signature": {
"description": "file, request = base64, response = url",
"type": "string"
}
},
"required": [
"can_be_contacted_by_email",
"can_be_contacted_by_mail",
"can_be_contacted_on_home_phone",
"can_be_contacted_on_mobile_phone",
"signature"
],
"title": "RGPDInformation - RGPDInformationRequest",
"type": "object"
}
},
"properties": {
"customer": {
"additionalProperties": false,
"properties": {
"address": {
"description": "Adresse",
"type": "string"
},
"city": {
"description": "Ville",
"type": "string"
},
"coach_email": {
"anyOf": [
{
"description": "Mail entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"coach_name": {
"anyOf": [
{
"description": "Entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"coach_phone": {
"anyOf": [
{
"description": "Portable entraîneur",
"type": "string"
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"description": "Commentaires",
"type": "string"
},
{
"type": "null"
}
]
},
"country": {
"description": "Pays",
"type": "string"
},
"discipline": {
"description": "Discipline",
"enum": [
"Obstacles",
"Leisure",
"Dressage",
"Eventing",
"Polo"
],
"type": "string"
},
"email": {
"description": "Mail",
"format": "email",
"type": "string"
},
"groom_email": {
"anyOf": [
{
"description": "Mail groom",
"type": "string"
},
{
"type": "null"
}
]
},
"groom_mobile_phone": {
"anyOf": [
{
"description": "Portable groom",
"type": "string"
},
{
"type": "null"
}
]
},
"groom_name": {
"anyOf": [
{
"description": "Groom",
"type": "string"
},
{
"type": "null"
}
]
},
"home_phone": {
"anyOf": [
{
"description": "Téléphone fixe",
"type": "string"
},
{
"type": "null"
}
]
},
"last_contact_at": {
"description": "?????",
"format": "datetime",
"type": "string"
},
"mobile_phone": {
"description": "Portable",
"type": "string"
},
"name": {
"description": "Prénom",
"type": "string"
},
"partner_id": {
"anyOf": [
{
"description": "Id du client ayant le statut partenaire et qui a mis Hermes en contact avec le client",
"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"
},
{
"type": "null"
}
]
},
"preferred_number": {
"description": "Indicateur du numéro de téléphone à privilégier pour contacter le client",
"enum": [
"mobile",
"home"
],
"type": "string"
},
"related_store_id": {
"description": "Id de la boutique hermès à laquelle le client est rattaché",
"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"
},
"related_store_phone_number": {
"anyOf": [
{
"description": "numéro de téléphone de la boutique ?????",
"type": "string"
},
{
"type": "null"
}
]
},
"related_store_seller_name": {
"anyOf": [
{
"description": "vendeur attitré dans la boutique",
"type": "string"
},
{
"type": "null"
}
]
},
"rgpd_information_attributes": {
"$ref": "#/definitions/RGPDInformationRequest_1630",
"description": "préférences RGPD du client",
"type": "object"
},
"stable_id": {
"description": "id de l'écurie à laquelle le client est rattaché",
"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"
},
"state": {
"description": "Département",
"type": "string"
},
"status": {
"description": "Indique la typologie du client",
"enum": [
"off",
"prospect",
"client",
"pro",
"partner"
],
"type": "string"
},
"surname": {
"description": "Nom",
"type": "string"
}
},
"required": [
"address",
"city",
"coach_email",
"coach_name",
"coach_phone",
"comments",
"country",
"discipline",
"email",
"groom_email",
"groom_mobile_phone",
"groom_name",
"home_phone",
"last_contact_at",
"mobile_phone",
"name",
"partner_id",
"preferred_number",
"related_store_id",
"related_store_phone_number",
"related_store_seller_name",
"rgpd_information_attributes",
"stable_id",
"state",
"status",
"surname"
],
"type": "object"
}
},
"required": [
"customer"
],
"title": "Customer - CustomerCreate",
"type": "object"
}
{
"address": "44 rue Saint Lazare",
"city": "Paris",
"coach_email": "coachdu75@hotmail.com",
"coach_name": "Pierre",
"coach_phone": "0607080903",
"comments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce placerat condimentum ultricies. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.",
"country": "France",
"customer": "Alain Delon",
"discipline": "leisure",
"email": "gu01VgQocQYc@oQiKNjJTPSHqNIQMROJkhIQHHQLWgsx.vomv",
"groom_email": null,
"groom_mobile_phone": null,
"groom_name": null,
"home_phone": null,
"last_contact_at": "2019-05-08 9:36",
"mobile_phone": "0102030405",
"name": "Delon",
"partner_id": 34,
"preferred_number": "mobile_phone",
"related_store_id": "1076865e-7590-4b3b-9100-061e8d66a0d9",
"related_store_phone_number": "nulla",
"related_store_seller_name": null,
"rgpd_information_attributes": {
"can_be_contacted_by_email": true,
"can_be_contacted_by_mail": true,
"can_be_contacted_on_home_phone": false,
"can_be_contacted_on_mobile_phone": true,
"signature": "exercitation in"
},
"stable_id": "98e72a57-0fdb-4102-a244-d95beb102aeb",
"state": "Ile de France",
"status": "Prospect",
"surname": "Alain"
}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"address": "44 rue Saint Lazare",
"city": "Paris",
"coach_email": "coachdu75@hotmail.com",
"coach_name": "Pierre",
"coach_phone": "0607080903",
"comments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce placerat condimentum ultricies. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.",
"country": "France",
"customer": "Alain Delon",
"discipline": "leisure",
"email": "gu01VgQocQYc@oQiKNjJTPSHqNIQMROJkhIQHHQLWgsx.vomv",
"groom_email": null,
"groom_mobile_phone": null,
"groom_name": null,
"home_phone": null,
"last_contact_at": "2019-05-08 9:36",
"mobile_phone": "0102030405",
"name": "Delon",
"partner_id": 34,
"preferred_number": "mobile_phone",
"related_store_id": "1076865e-7590-4b3b-9100-061e8d66a0d9",
"related_store_phone_number": "nulla",
"related_store_seller_name": null,
"rgpd_information_attributes": {
"can_be_contacted_by_email": true,
"can_be_contacted_by_mail": true,
"can_be_contacted_on_home_phone": false,
"can_be_contacted_on_mobile_phone": true,
"signature": "exercitation in"
},
"stable_id": "98e72a57-0fdb-4102-a244-d95beb102aeb",
"state": "Ile de France",
"status": "Prospect",
"surname": "Alain"
}
{}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"additionalProperties": false,
"definitions": {
"DefaultDefectCategory_1719": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "DefectCategory - DefaultDefectCategory",
"type": "object"
},
"DefaultOrientation_1554": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"properties": {
"code": {
"description": "orientation code ",
"enum": [
"firstChoice",
"secondChoice",
"directSupplierReturn",
"supplierReturn",
"destruction"
],
"type": "string"
},
"name": {
"description": "Complete name of the orientation",
"type": "string"
}
},
"required": [
"code",
"name"
],
"title": "Orientation - DefaultOrientation",
"type": "object"
},
"DefaultStatus_1811": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"properties": {
"code": {
"enum": [
"waitingForReview",
"ongoingReview",
"reviewed"
],
"type": "string"
},
"name": {
"description": "name of the status",
"type": "string"
}
},
"required": [
"code",
"name"
],
"title": "Status - DefaultStatus",
"type": "object"
},
"DefaultZone_1564": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Zone - DefaultZone",
"type": "object"
},
"DefectTypeWithoutCode_1566": {
"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"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "DefectType - DefectTypeWithoutCode",
"type": "object"
},
"LocationWithoutPicture_1576": {
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Location - LocationWithoutPicture",
"type": "object"
},
"SigningUser_1581": {
"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"
},
"password": {
"type": "string"
}
},
"required": [
"id",
"password"
],
"title": "User - SigningUser",
"type": "object"
},
"UpdatedDefect_1588": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
]
},
"defect_category": {
"$ref": "#/definitions/DefaultDefectCategory_1719",
"type": "object"
},
"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"
},
"is_visible": {
"description": "Sets visibility in the photo gallery",
"type": "boolean"
},
"location": {
"anyOf": [
{
"$ref": "#/definitions/LocationWithoutPicture_1576",
"type": "object"
},
{
"type": "null"
}
]
},
"picture_camera_URL": {
"anyOf": [
{
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
{
"type": "null"
}
]
},
"picture_part_URL": {
"anyOf": [
{
"description": "Contains the picture (orange dot touched by the user on the schematic representation of the item).",
"format": "uri",
"type": "string"
},
{
"type": "null"
}
]
},
"picture_without_drawing_URL": {
"description": "Contains all URLs of pictures without drawing, picture are at their initial size. Used for future purposes (detect defects thanks to AI)",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"selected_defect_type": {
"$ref": "#/definitions/DefectTypeWithoutCode_1566",
"description": "Selected `DefectType`.\r\nIt must be one of the `defect_types` accepted by the selected `defect_category` (available in config).",
"type": "object"
},
"selected_zone": {
"anyOf": [
{
"$ref": "#/definitions/DefaultZone_1564",
"description": "Selected `Zone`.\r\nIt must be one of the `zone` accepted by the selected `location` (available in config).",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"comment",
"defect_category",
"id",
"is_visible",
"location",
"picture_camera_URL",
"picture_part_URL",
"picture_without_drawing_URL",
"selected_defect_type",
"selected_zone"
],
"title": "Defect - UpdatedDefect",
"type": "object"
}
},
"properties": {
"comment": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
]
},
"defect": {
"anyOf": [
{
"description": "Can be null as process configured says : 1. create report 2. create defects linked to report.",
"items": {
"$ref": "#/definitions/UpdatedDefect_1588",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"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"
},
"is_open": {
"type": "boolean"
},
"orientation": {
"anyOf": [
{
"$ref": "#/definitions/DefaultOrientation_1554",
"type": "object"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/DefaultStatus_1811",
"type": "object"
},
"user_rules": {
"anyOf": [
{
"$ref": "#/definitions/SigningUser_1581",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"comment",
"defect",
"id",
"is_open",
"orientation",
"status",
"user_rules"
],
"title": "Report - UpdatedReport",
"type": "object"
}
{
"comment": "non aute in",
"defect": null,
"id": "1200b047-28ea-58da-97ff-45f07393357b",
"is_open": false,
"orientation": {
"code": "secondChoice",
"name": "quis sit do"
},
"status": {
"code": "ongoingReview",
"name": "laborum elit ex"
},
"user_rules": {
"id": "1cef5a15-7120-5606-8d63-d4428f8621f3",
"password": "ut "
}
}
The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:
{
"additionalProperties": false,
"definitions": {
"DefaultDefectCategory_1719": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "DefectCategory - DefaultDefectCategory",
"type": "object"
},
"DefaultOrientation_1554": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"properties": {
"code": {
"description": "orientation code ",
"enum": [
"firstChoice",
"secondChoice",
"directSupplierReturn",
"supplierReturn",
"destruction"
],
"type": "string"
},
"name": {
"description": "Complete name of the orientation",
"type": "string"
}
},
"required": [
"code",
"name"
],
"title": "Orientation - DefaultOrientation",
"type": "object"
},
"DefaultStatus_1811": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"properties": {
"code": {
"enum": [
"waitingForReview",
"ongoingReview",
"reviewed"
],
"type": "string"
},
"name": {
"description": "name of the status",
"type": "string"
}
},
"required": [
"code",
"name"
],
"title": "Status - DefaultStatus",
"type": "object"
},
"DefaultZone_1564": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Zone - DefaultZone",
"type": "object"
},
"DefectTypeWithoutCode_1566": {
"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"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "DefectType - DefectTypeWithoutCode",
"type": "object"
},
"LocationWithoutPicture_1576": {
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Location - LocationWithoutPicture",
"type": "object"
},
"SigningUser_1581": {
"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"
},
"password": {
"type": "string"
}
},
"required": [
"id",
"password"
],
"title": "User - SigningUser",
"type": "object"
},
"UpdatedDefect_1588": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
]
},
"defect_category": {
"$ref": "#/definitions/DefaultDefectCategory_1719",
"type": "object"
},
"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"
},
"is_visible": {
"description": "Sets visibility in the photo gallery",
"type": "boolean"
},
"location": {
"anyOf": [
{
"$ref": "#/definitions/LocationWithoutPicture_1576",
"type": "object"
},
{
"type": "null"
}
]
},
"picture_camera_URL": {
"anyOf": [
{
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
{
"type": "null"
}
]
},
"picture_part_URL": {
"anyOf": [
{
"description": "Contains the picture (orange dot touched by the user on the schematic representation of the item).",
"format": "uri",
"type": "string"
},
{
"type": "null"
}
]
},
"picture_without_drawing_URL": {
"description": "Contains all URLs of pictures without drawing, picture are at their initial size. Used for future purposes (detect defects thanks to AI)",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"selected_defect_type": {
"$ref": "#/definitions/DefectTypeWithoutCode_1566",
"description": "Selected `DefectType`.\r\nIt must be one of the `defect_types` accepted by the selected `defect_category` (available in config).",
"type": "object"
},
"selected_zone": {
"anyOf": [
{
"$ref": "#/definitions/DefaultZone_1564",
"description": "Selected `Zone`.\r\nIt must be one of the `zone` accepted by the selected `location` (available in config).",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"comment",
"defect_category",
"id",
"is_visible",
"location",
"picture_camera_URL",
"picture_part_URL",
"picture_without_drawing_URL",
"selected_defect_type",
"selected_zone"
],
"title": "Defect - UpdatedDefect",
"type": "object"
}
},
"properties": {
"comment": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
]
},
"defect": {
"anyOf": [
{
"description": "Can be null as process configured says : 1. create report 2. create defects linked to report.",
"items": {
"$ref": "#/definitions/UpdatedDefect_1588",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"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"
},
"is_open": {
"type": "boolean"
},
"orientation": {
"anyOf": [
{
"$ref": "#/definitions/DefaultOrientation_1554",
"type": "object"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/DefaultStatus_1811",
"type": "object"
},
"user_rules": {
"anyOf": [
{
"$ref": "#/definitions/SigningUser_1581",
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"comment",
"defect",
"id",
"is_open",
"orientation",
"status",
"user_rules"
],
"title": "Report - UpdatedReport",
"type": "object"
}
{
"comment": "non aute in",
"defect": null,
"id": "1200b047-28ea-58da-97ff-45f07393357b",
"is_open": false,
"orientatio n": {
"code": "secondChoice",
"name": "quis sit do"
},
"status": {
"code": "ongoingReview",
"name": "laborum elit ex"
},
"user_rules": {
"id": "1cef5a15-7120-5606-8d63-d4428f8621f3",
"password": "ut "
}
}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"additionalProperties": false,
"definitions": {
"DefaultDefectCategory_1719": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "DefectCategory - DefaultDefectCategory",
"type": "object"
},
"DefaultDefectType_1560": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"properties": {
"code": {
"maxLength": 2,
"minLength": 2,
"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"
},
"type": {
"type": "string"
}
},
"required": [
"code",
"id",
"type"
],
"title": "DefectType - DefaultDefectType",
"type": "object"
},
"DefaultSupplier_1558": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Supplier - DefaultSupplier",
"type": "object"
},
"DefaultZone_1564": {
"additionalProperties": false,
"description": "Automatically generated (please edit me)",
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Zone - DefaultZone",
"type": "object"
},
"LocationWithoutPicture_1576": {
"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"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "Location - LocationWithoutPicture",
"type": "object"
},
"NewDefect_1584": {
"additionalProperties": false,
"properties": {
"comment": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
]
},
"defect_category": {
"$ref": "#/definitions/DefaultDefectCategory_1719",
"type": "object"
},
"is_visible": {
"description": "Sets visibility in the photo gallery",
"type": "boolean"
},
"location": {
"anyOf": [
{
"$ref": "#/definitions/LocationWithoutPicture_1576",
"type": "object"
},
{
"type": "null"
}
]
},
"picture_camera_URL": {
"anyOf": [
{
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
{
"type": "null"
}
]
},
"picture_part_URL": {
"anyOf": [
{
"description": "Contains the picture (orange dot touched by the user on the schematic representation of the item).",
"format": "uri",
"type": "string"
},
{
"type": "null"
}
]
},
"picture_without_drawing_URL": {
"description": "Contains all URLs of pictures without drawing, picture are at their initial size. Used for future purposes (detect defects thanks to AI)",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"selected_defect_type": {
"$ref": "#/definitions/DefaultDefectType_1560",
"description": "Selected `DefectType`.\r\nIt must be one of the `defect_types` accepted by the selected `defect_category` (available in config).",
"type": "object"
},
"selected_zone": {
"anyOf": [
{
"$ref": "#/definitions/DefaultZone_1564",
"description": "Selected `Zone`.\r\nIt must be one of the `zone` accepted by the selected `location` (available in config).",
"type": "object"
},
{
"type": "null"
}
]
},
"subsidiary": {
"$ref": "#/definitions/SubsidiaryWithoutWarehouse_1573",
"type": "object"
}
},
"required": [
"comment",
"defect_category",
"is_visible",
"location",
"picture_camera_URL",
"picture_part_URL",
"picture_without_drawing_URL",
"selected_defect_type",
"selected_zone",
"subsidiary"
],
"title": "Defect - NewDefect",
"type": "object"
},
"ProductForNewReport_1582": {
"additionalProperties": false,
"properties": {
"SKU": {
"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"
},
"supplier": {
"$ref": "#/definitions/DefaultSupplier_1558",
"type": "object"
}
},
"required": [
"SKU",
"id",
"supplier"
],
"title": "Product - ProductForNewReport",
"type": "object"
},
"SubsidiaryWithoutWarehouse_1573": {
"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"
},
"name": {
"type": "string"
},
"one_letter_code": {
"description": "1-letter code used in order to label the reports",
"maxLength": 1,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"name",
"one_letter_code"
],
"title": "Subsidiary - SubsidiaryWithoutWarehouse",
"type": "object"
}
},
"properties": {
"ILPN": {
"anyOf": [
{
"maxLength": 11,
"minLength": 11,
"type": "string"
},
{
"type": "null"
}
]
},
"batch_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"craftsman_code": {
"anyOf": [
{
"maxLength": 2,
"minLength": 2,
"type": "string"
},
{
"type": "null"
}
]
},
"defect": {
"anyOf": [
{
"description": "Can be null as process configured says : 1. create report 2. create defects linked to report.",
"items": {
"$ref": "#/definitions/NewDefect_1584",
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
]
},
"delivery_number": {
"anyOf": [
{
"maxLength": 11,
"minLength": 11,
"type": "string"
},
{
"type": "null"
}
]
},
"product": {
"$ref": "#/definitions/ProductForNewReport_1582",
"type": "object"
},
"product_quantity": {
"maximum": 999,
"minimum": 1,
"type": "integer"
}
},
"required": [
"ILPN",
"batch_number",
"craftsman_code",
"defect",
"delivery_number",
"product",
"product_quantity"
],
"title": "Report - NewReport",
"type": "object"
}
{
"ILPN": "velit nisio",
"batch_number": null,
"craftsman_code": "au",
"defect": [
{
"comment": null,
"defect_category": {
"id": "4954dadd-2cea-162d-bf9a-879d18393130",
"name": "aliqua esse Excepteur veniam"
},
"is_visible": true,
"location": {
"id": "b7386a6b-0761-2190-8a89-0703f3e7d4e7",
"name": "Lorem consectetur eiusmod et"
},
"picture_camera_URL": null,
"picture_part_URL": null,
"picture_without_drawing_URL": [
"http://ExSsukWnJVWMqQmAHxJAodbsFwysgs.drnHdzNUcir7uEtFyeflXXdHQ+DEFjCMvb+vDj3RyHBpxtJ1jkzhHE",
"http://PtAqvIJXewzz.zzkzrIzQqZozYasLnCbhSn4ZVx0l.HIe,5o.,ETplpedyjqYEuyw9ltceu8UW3"
],
"selected_defect_type": {
"code": "al",
"id": "3b99e018-c7fd-1ec7-b602-c354a1705b90",
"type": "ad qui"
},
"selected_zone": {
"id": "e8f45333-1910-157c-a3aa-399231e818ad",
"name": "ullamco dolore"
},
"subsidiary": {
"id": "a0d51565-1b06-288e-82f9-73ec6d27f428",
"name": "ipsum est",
"one_letter_code": "e"
}
},
{
"comment": "voluptate consectetur aliquip ut dolore",
"defect_category": {
"id": "0cc00162-c01d-1bfb-836c-158a99eaa153",
"name": "voluptate occaecat"
},
"is_visible": false,
"location": null,
"picture_camera_URL": [
"http://xBBwPfiClnvF.cgbEG0uzp--P70bX6g4U42EI7yI341V,lcL5",
"https://kAWADjJQlmgpyFkBCsQcWWdoZWezwFtQ.vxpkgSjmcfxjyAoh5xEST0.0M3-LfYXmaVU57tJ0Fjlq+bl4ZmDTqe6dBiFtm-tcdB7m-A4xuWcnQw",
"http://PMXQIezVbqcBfbllGRgO.wqanGZd1.+mHto,u7ngquiltrgJJ.UIvZyyCYPJxCriMvZtK7JfcrdjFamCTUI"
],
"picture_part_URL": "http://gHIgpakv.ojuIhPrJHD4hO3JpCYzTTdEuthB29vHesaIUOe8K7JvXcyqRUkcLK1igaPc.8aa2R",
"picture_without_drawing_URL": [
"http://hXokgKdCpXZFwHtzzUiBxlr.denpuWUNLOl",
"https://YwMbdhTOGTAEbLFGMtqYrcPVPKpeTooZc.lyEvaq+rwpzdG,i4Io6CYDBjOtYHT+fDdCBXRK5QwsnypLDFkPcXXxdIT.N.PLe8F",
"http://YLHUnHDXVoTPtiOwadpcGt.yjpckFPP.ZluRxNiLYHh9Q0tAwheZk7WCsdknVBnPVbsMjx75ZXhZPYsS+D",
"https://nXGwALJQvKnNugKDaxkzUzv.hqkJOXdldECL+kDjQUOSjXiK5FY6DVJiORWKzzhMTBiApg4D4sIN4z5USA..q0GQDEf7,ogfYQfT7K."
],
"selected_defect_type": {
"code": "co",
"id": "e5799d95-62bf-10ef-83b9-4300ec07e3e8",
"type": "cillum adi"
},
"selected_zone": {
"id": "3a2ae841-0cf4-5b10-9634-3949e39a55cb",
"name": "aliqua sed mini"
},
"subsidiary": {
"id": "4ebde4e0-917c-2047-8f7f-c6173126151d",
"name": "Lorem conseq",
"one_letter_code": "q"
}
},
{
"comment": null,
"defect_category": {
"id": "22ca8595-bd12-3327-b40d-174cc470bc03",
"name": "mollit elit deserunt nisi ullamco"
},
"is_visible": true,
"location": {
"id": "7bcd3f42-00cb-2b9f-a145-dab4a344f102",
"name": "adipisicing"
},
"picture_camera_URL": null,
"picture_part_URL": null,
"picture_without_drawing_URL": [
"https://CeNKKbQcbnZBzFhtlKQt.zktUwDLLWoe6KK8MDVFCejBKcjCEhf",
"https://wGrnpACThZiXgPLncamcPwcvRkTJ.ubdhdNdkMSIobHf54MFEwE+0xFu2fF4Mzr05U49iN0dYPfg",
"http://XLrPbWGccelffZNVBHWsQNAV.fszFBM65VIYFo6Twswop9fMsAYzbdXDuMi7.bZ6SL80IF.",
"http://wIprqjAKDgOsSNclaUrCo.xwxwU3yT2CfxfpMWgdsR9a,+SC2bq,H+dk3GryVsLlWOSre9ptS5we",
"https://sgPpvPOAgdwtwBbhbkENwNedLwG.ojD7LgvgUgHa"
],
"selected_defect_type": {
"code": "do",
"id": "08da1d7e-7c56-3ab6-9326-5c11d7ff974d",
"type": "sit commodo"
},
"selected_zone": null,
"subsidiary": {
"id": "8f0db025-32fd-32cf-85ea-d1ee2a9f8aaa",
"name": "ullamco mollit ipsum qui adipisicing",
"one_letter_code": "d"
}
}
],
"delivery_number": null,
"product": {
"SKU": "ut enim",
"id": "caccee13-cf5a-1b70-9fad-6deb7e38da2e",
"supplier": {
"id": "86c3826c-e6af-4c81-ba55-a03dbb1cd2f3",
"name": "qui"
}
},
"product_quantity": 33
}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"additionalProperties": false,
"properties": {
"language": {
"description": "Language of the user to be stored in the database and sent to sendgrid.\r\nDefault value: 'fr'",
"enum": [
"fr",
"en"
],
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"token"
],
"title": "User - OmniauthSignInUser",
"type": "object"
}
{
"language": "en",
"token": "sunt reprehenderit consectetur tempor Excepteur"
}
The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:
{
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"language": {
"description": "Language of the user to be stored in the database and sent to sendgrid.\r\nDefault value: 'fr'",
"enum": [
"fr",
"en"
],
"type": "string"
},
"password": {
"description": "Only one constraint: length.",
"maxLength": 128,
"minLength": 6,
"type": "string"
}
},
"required": [
"email",
"password"
],
"title": "User - SigningUser",
"type": "object"
}
{
"email": "veniam voluptate dolor culpa",
"language": "qd",
"password": "do incididunt mollit aliquip sunt"
}
The input JSON schema validates the input JSON instance (JSON Schema Draft 4).
{
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"language": {
"description": "Language of the user to be stored in the database and sent to sendgrid.\r\nDefault value: 'fr'",
"enum": [
"fr",
"en"
],
"type": "string"
},
"password": {
"description": "Only one constraint: length.",
"maxLength": 128,
"minLength": 6,
"type": "string"
}
},
"required": [
"email",
"password"
],
"title": "User - SigningUser",
"type": "object"
}
{
"email": "veniam voluptate dolor culpa",
"language": "fr",
"password": "do incididunt mollit aliquip sunt"
}