Validations history

Validation #901

Failure

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

  • The property '#/' contains additional properties ["offer_transaction"] outside of the schema when none are allowed in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'customer_number' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'customer_relation_email' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_mode' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_mode_id' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_period_code' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_period_id' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_period_name' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'delivery_place_label' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'email' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'hash_farm_id' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'language' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'mobile_phone' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'offer_id' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'price_zone_id' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6
  • The property '#/' did not contain a required property of 'quantity' in schema fbbdd0cc-faf1-511a-9c4a-847b016061a6

JSON Schema

{
  "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"
  ],
  "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 #900

Failure

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

  • The property '#/' did not contain a required property of 'access' in schema 6a7d6dd8-3f0d-5689-badc-19f6b001f54d

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated (please edit me)",
  "properties": {
    "access": {
      "type": "string"
    },
    "refresh": {
      "type": "string"
    }
  },
  "required": [
    "access",
    "refresh"
  ],
  "title": "JWT - DefaultJWT",
  "type": "object"
}

JSON instance

{
  "refresh": "laboris occaecat"
}

Validation #899

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 463017e5-37d9-5608-927d-5db63f180c90

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "farm": {
      "additionalProperties": false,
      "properties": {
        "customer_number": {
          "description": "numClient",
          "pattern": "\\d*",
          "type": "string"
        },
        "provider": {
          "description": "provider, mandatory for international farm",
          "enum": [
            "AGR",
            "AGR-INT"
          ],
          "type": "string"
        },
        "zip_code": {
          "description": "zipCode",
          "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
          "type": "string"
        }
      },
      "required": [
        "customer_number",
        "provider",
        "zip_code"
      ],
      "type": "object"
    }
  },
  "required": [
    "farm"
  ],
  "title": "Farm - NewFarm",
  "type": "object"
}

JSON instance

{
  "farm": {
    "customer_number": "162944",
    "provider": "AGR-INT",
    "zip_code": "30070"
  },
  "language": "cs-CZ"
}

Validation #898

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 463017e5-37d9-5608-927d-5db63f180c90
  • The property '#/farm/zip_code' value "682 01" did not match the regex '^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$' in schema 463017e5-37d9-5608-927d-5db63f180c90

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "farm": {
      "additionalProperties": false,
      "properties": {
        "customer_number": {
          "description": "numClient",
          "pattern": "\\d*",
          "type": "string"
        },
        "provider": {
          "description": "provider, mandatory for international farm",
          "enum": [
            "AGR",
            "AGR-INT"
          ],
          "type": "string"
        },
        "zip_code": {
          "description": "zipCode",
          "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
          "type": "string"
        }
      },
      "required": [
        "customer_number",
        "provider",
        "zip_code"
      ],
      "type": "object"
    }
  },
  "required": [
    "farm"
  ],
  "title": "Farm - NewFarm",
  "type": "object"
}

JSON instance

{
  "farm": {
    "customer_number": "160639",
    "provider": "AGR-INT",
    "zip_code": "682 01"
  },
  "language": "cs-CZ"
}

Validation #897

Failure

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

  • The property '#/' contains additional properties ["farm", "language"] outside of the schema when none are allowed in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'customer_number' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'provider' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'zip_code' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "customer_number": {
      "description": "numClient",
      "pattern": "\\d*",
      "type": "string"
    },
    "provider": {
      "description": "provider, mandatory for international farm",
      "enum": [
        "AGR",
        "AGR-INT"
      ],
      "type": "string"
    },
    "zip_code": {
      "description": "zipCode",
      "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
      "type": "string"
    }
  },
  "required": [
    "customer_number",
    "provider",
    "zip_code"
  ],
  "title": "Farm - NewFarm",
  "type": "object"
}

JSON instance

{
  "farm": {
    "customer_number": "160639",
    "provider": "AGR-INT",
    "zip_code": "682 01"
  },
  "language": "cs-CZ"
}

Validation #896

Success

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

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated (please edit me)",
  "properties": {
    "access": {
      "type": "string"
    },
    "refresh": {
      "type": "string"
    }
  },
  "required": [
    "access",
    "refresh"
  ],
  "title": "JWT - DefaultJWT",
  "type": "object"
}

JSON instance

{
  "access": "no",
  "refresh": "aliquip officia Lorem dolor cupidatat"
}

Validation #895

Success

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

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated (please edit me)",
  "properties": {},
  "title": "JWT - DefaultJWT",
  "type": "object"
}

JSON instance

{}

Validation #894

Failure

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

  • The property '#/' contains additional properties ["farm", "language"] outside of the schema when none are allowed in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'customer_number' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'provider' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3
  • The property '#/' did not contain a required property of 'zip_code' in schema 903247fd-b8d4-5db8-9000-67a7d11913e3

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "customer_number": {
      "description": "numClient",
      "pattern": "\\d*",
      "type": "string"
    },
    "provider": {
      "description": "provider, mandatory for international farm",
      "enum": [
        "AGR",
        "AGR-INT"
      ],
      "type": "string"
    },
    "zip_code": {
      "description": "zipCode",
      "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
      "type": "string"
    }
  },
  "required": [
    "customer_number",
    "provider",
    "zip_code"
  ],
  "title": "Farm - NewFarm",
  "type": "object"
}

JSON instance

{
  "farm": {
    "customer_number": "98001605",
    "farm_subscriptions": [],
    "provider": "AGR",
    "zip_code": "10400"
  },
  "language": "fr-FR"
}

Validation #893

Failure

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

  • The property '#/errors' did not contain a minimum number of items 1 in schema eff6dd35-c9c1-5a5d-8136-17ca6e4eab4a

JSON Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Generated from Pericles with shasum 03dcf7a56d1d9e451caa3ddbd8c8683ea085cab1",
  "properties": {
    "data": {},
    "errors": {
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array",
      "uniqueItems": true
    },
    "status": {
      "type": "string"
    }
  },
  "required": [
    "errors"
  ],
  "type": "object"
}

JSON instance

{
  "data": null,
  "errors": [],
  "status": "error"
}

Validation #892

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 463017e5-37d9-5608-927d-5db63f180c90
  • The property '#/farm' contains additional properties ["farm_subscriptions"] outside of the schema when none are allowed in schema 463017e5-37d9-5608-927d-5db63f180c90

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "farm": {
      "additionalProperties": false,
      "properties": {
        "customer_number": {
          "description": "numClient",
          "pattern": "\\d*",
          "type": "string"
        },
        "provider": {
          "description": "provider, mandatory for international farm",
          "enum": [
            "AGR",
            "AGR-INT"
          ],
          "type": "string"
        },
        "zip_code": {
          "description": "zipCode",
          "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
          "type": "string"
        }
      },
      "required": [
        "customer_number",
        "provider",
        "zip_code"
      ],
      "type": "object"
    }
  },
  "required": [
    "farm"
  ],
  "title": "Farm - NewFarm",
  "type": "object"
}

JSON instance

{
  "farm": {
    "customer_number": "98002849",
    "farm_subscriptions": [],
    "provider": "AGR",
    "zip_code": "10400"
  },
  "language": "fr-FR"
}