Validations history

Validation #911

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "Test body par défaut",
    "customer_number": "98044986",
    "customer_relation_email": "cdeliau@soufflet.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 32,
    "delivery_period_code": "Moisson1",
    "delivery_period_id": 370,
    "delivery_period_name": "MOISSON",
    "delivery_place": "0009",
    "delivery_place_label": "ANGLURE (recommandé)",
    "email": "cdeliau@soufflet.com",
    "hash_farm_id": "ce7d4d2ad9454ae691601ccb7341837c19bcce76f688b04a424e0d1c25b0d56e",
    "language": "fr-FR",
    "last_price_update": "2020-09-15 15:54:44.8600000",
    "mobile_phone": "0611425676",
    "offer_id": 421,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 1,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #910

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "Test body par défaut",
    "customer_number": "98044986",
    "customer_relation_email": "cdeliau@soufflet.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 32,
    "delivery_period_code": "Moisson1",
    "delivery_period_id": 370,
    "delivery_period_name": "MOISSON",
    "delivery_place": "0009",
    "delivery_place_label": "ANGLURE (recommandé)",
    "email": "cdeliau@soufflet.com",
    "hash_farm_id": "ce7d4d2ad9454ae691601ccb7341837c19bcce76f688b04a424e0d1c25b0d56e",
    "language": "fr-FR",
    "last_price_update": "2020-09-15 15:54:44.8600000",
    "mobile_phone": "0611425676",
    "offer_id": 421,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 1,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #909

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "Test body par défaut",
    "customer_number": "98044986",
    "customer_relation_email": "cdeliau@soufflet.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 32,
    "delivery_period_code": "Moisson1",
    "delivery_period_id": 370,
    "delivery_period_name": "MOISSON",
    "delivery_place": "0009",
    "delivery_place_label": "ANGLURE (recommandé)",
    "email": "cdeliau@soufflet.com",
    "hash_farm_id": "ce7d4d2ad9454ae691601ccb7341837c19bcce76f688b04a424e0d1c25b0d56e",
    "language": "fr-FR",
    "last_price_update": "2020-09-15T15:54:44.8600000",
    "mobile_phone": "0611425676",
    "offer_id": 421,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 1,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #908

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 cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "language": "fr-FR",
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "Test body par défaut",
    "customer_number": "98044986",
    "customer_relation_email": "cdeliau@soufflet.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 32,
    "delivery_period_code": "Moisson1",
    "delivery_period_id": 370,
    "delivery_period_name": "MOISSON",
    "delivery_place": "0009",
    "delivery_place_label": "ANGLURE (recommandé)",
    "email": "cdeliau@soufflet.com",
    "hash_farm_id": "ce7d4d2ad9454ae691601ccb7341837c19bcce76f688b04a424e0d1c25b0d56e",
    "language": "fr-FR",
    "last_price_update": "2020-09-15T15:54:44.8600000",
    "mobile_phone": "0611425676",
    "offer_id": 421,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 1,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #907

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": null,
    "maturity_id": null,
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": null
  }
}

Validation #906

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": null,
    "maturity_id": null,
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #905

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": null,
    "maturity_id": null,
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #904

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction/maturity_id' of type string did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: integer - anyOf #1: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: null
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": null,
    "maturity_id": "1",
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #903

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction/maturity_id' of type string did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: integer - anyOf #1: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: null
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": null,
    "maturity_id": "1",
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}

Validation #902

Failure

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

  • The property '#/offer_transaction/last_price_update' must be a valid RFC3339 date/time string in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b
  • The property '#/offer_transaction/maturity_id' of type string did not match one or more of the required schemas. The schema specific errors were: - anyOf #0: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: integer - anyOf #1: - The property '#/offer_transaction/maturity_id' of type string did not match the following type: null
  • The property '#/offer_transaction' did not contain a required property of 'delivery_place_label' in schema cb6c40f8-abc1-512b-a62d-43bcfcc3e92b

JSON Schema

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

JSON instance

{
  "offer_transaction": {
    "base_price": 152.75,
    "comment": "FIRST TEST TRANSACTION",
    "customer_number": "98050156",
    "customer_relation_email": "julien.lourdens+2211@applidium.com",
    "delivery_mode": "RDU2",
    "delivery_mode_id": 1,
    "delivery_period_code": "Moisson",
    "delivery_period_id": 1,
    "delivery_period_name": "Moisson",
    "delivery_place": "0004",
    "email": "julien.lourdens+2211@applidium.com",
    "hash_farm_id": "OTgwNTAxNTY=",
    "language": "fr-FR",
    "last_price_update": "2018-08-02T18:54:44.8600000",
    "maturity": "Dec18",
    "maturity_id": "1",
    "mobile_phone": "0600000000",
    "offer_id": 8,
    "price": 160.75,
    "price_difference": 8,
    "price_zone_id": 36,
    "quantity": 10,
    "strike_price": 212.75,
    "warranty_cost": 3
  }
}