Validations history

Validation #303

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
      "id": "0001",
      "name": "SARRAIL NOGENT S SEINE",
      "activities_names": "Site Mixte Céréales Appros",
      "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
      "email": "nomail.cds@soufflet.com",
      "city": "NOGENT S SEINE",
      "zip_code": "10400",
      "phone_number": "03 25 39 41 11",
      "mobile_number": "06 84 95 26 13",
      "manager_name": "Johann ROUSSEAU",
      "latitude": 48.491343,
      "longitude": 3.492956,
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #302

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
      "id": "0001",
      "name": "SARRAIL NOGENT S SEINE",
      "activities_names": "Site Mixte Céréales Appros",
      "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
      "email": "nomail.cds@soufflet.com",
      "city": "NOGENT S SEINE",
      "zip_code": "10400",
      "phone_number": "03 25 39 41 11",
      "mobile_number": "06 84 95 26 13",
      "manager_name": "Johann ROUSSEAU",
      "latitude": 48.491343,
      "longitude": 3.492956,
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #301

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
      "id": "0001",
      "name": "SARRAIL NOGENT S SEINE",
      "activities_names": "Site Mixte Céréales Appros",
      "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
      "email": "nomail.cds@soufflet.com",
      "city": "NOGENT S SEINE",
      "zip_code": "10400",
      "phone_number": "03 25 39 41 11",
      "mobile_number": "06 84 95 26 13",
      "manager_name": "Johann ROUSSEAU",
      "latitude": 48.491343,
      "longitude": 3.492956,
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #300

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
            "id": "0001",
            "name": "SARRAIL NOGENT S SEINE",
            "activities_names": "Site Mixte Céréales Appros",
            "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
            "email": "nomail.cds@soufflet.com",
            "city": "NOGENT S SEINE",
            "zip_code": "10400",
            "phone_number": "03 25 39 41 11",
            "mobile_number": "06 84 95 26 13",
            "manager_name": "Johann ROUSSEAU",
            "latitude": 48.491343,
            "longitude": 3.492956,
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #299

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
            "id": "0001",
            "name": "SARRAIL NOGENT S SEINE",
            "activities_names": "Site Mixte Céréales Appros",
            "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
            "email": "nomail.cds@soufflet.com",
            "city": "NOGENT S SEINE",
            "zip_code": "10400",
            "phone_number": "03 25 39 41 11",
            "mobile_number": "06 84 95 26 13",
            "manager_name": "Johann ROUSSEAU",
            "latitude": 48.491343,
            "longitude": 3.492956,
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #298

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
            "id": "0001",
            "name": "SARRAIL NOGENT S SEINE",
            "activities_names": "Site Mixte Céréales Appros",
            "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
            "email": "nomail.cds@soufflet.com",
            "city": "NOGENT S SEINE",
            "zip_code": "10400",
            "phone_number": "03 25 39 41 11",
            "mobile_number": "06 84 95 26 13",
            "manager_name": "Johann ROUSSEAU",
            "latitude": 48.491343,
            "longitude": 3.492956
      "opening_hours": [
        {
          "date": "1968-05-20",
          "status": 3
        }
  ]
}

Validation #297

Failure

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

  • The property '#/silos/0' did not contain a required property of 'opening_hours' in schema f1faf343-be5a-55cc-b7fd-67b9369b7365

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
  "silos": [
    {
      "activities_names": "Site Mixte Céréales Appros",
      "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
      "city": "NOGENT S SEINE",
      "email": "nomail.cds@soufflet.com",
      "id": "0001",
      "latitude": 48.491343,
      "longitude": 3.492956,
      "manager_name": "Johann ROUSSEAU",
      "mobile_number": "06 84 95 26 13",
      "name": "SARRAIL NOGENT S SEINE",
      "phone_number": "03 25 39 41 11",
      "zip_code": "10400"
    }
  ]
}

Validation #296

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultOpeningHour_562": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "format": "date",
          "type": "string"
        },
        "opening_periods": {
          "description": "Format:\r\n%Y-%m-%dT%H:%M:%S+00:00/%Y-%m-%dT%H:%M:%S+00:00",
          "items": {
            "type": "string"
          },
          "maxItems": 2,
          "minItems": 0,
          "type": "array"
        },
        "status": {
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "opening_periods",
        "status"
      ],
      "title": "OpeningHour - DefaultOpeningHour",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "silos": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "activities_names": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "id": {
            "pattern": "\\d*",
            "type": "string"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          },
          "manager_name": {
            "type": "string"
          },
          "mobile_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opening_hours": {
            "items": {
              "$ref": "#/definitions/DefaultOpeningHour_562",
              "type": "object"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "phone_number": {
            "pattern": "^(?:(?:\\+|00)[1-9]{0,3}|0)\\s*[1-9](?:[\\s.-]*\\d{2}){4}",
            "type": "string"
          },
          "zip_code": {
            "pattern": "^(([0-8][0-9])|(9[0-5])|(2[ab]))[0-9]{3}$",
            "type": "string"
          }
        },
        "required": [
          "activities_names",
          "address",
          "city",
          "email",
          "id",
          "latitude",
          "longitude",
          "manager_name",
          "mobile_number",
          "name",
          "opening_hours",
          "phone_number",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "silos"
  ],
  "title": "Silo - DefaultSilo",
  "type": "object"
}

JSON instance

{
    "silos": [
        {
            "id": "0001",
            "name": "SARRAIL NOGENT S SEINE",
            "activities_names": "Site Mixte Céréales Appros",
            "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
            "email": "nomail.cds@soufflet.com",
            "city": "NOGENT S SEINE",
            "zip_code": "10400",
            "phone_number": "03 25 39 41 11",
            "mobile_number": "06 84 95 26 13",
            "manager_name": "Johann ROUSSEAU",
            "latitude": 48.491343,
            "longitude": 3.492956
        },
  ]
}

Validation #295

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated",
  "properties": {
    "cities": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "city_code": {
            "maxLength": 11,
            "minLength": 7,
            "pattern": "^[A-Z0-9\\-_]*$",
            "type": "string"
          },
          "country": {
            "maxLength": 25,
            "minLength": 5,
            "pattern": "^[A-Z](\\p{L}|-)+$",
            "type": "string"
          },
          "distance": {
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "zip_code": {
            "maxLength": 12,
            "minLength": 3,
            "pattern": "^[A-Z0-9]*$",
            "type": "string"
          }
        },
        "required": [
          "city_code",
          "country",
          "distance",
          "name",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "cities"
  ],
  "title": "City - DefaultCity",
  "type": "object"
}

JSON instance

{
            "id": "0001",
            "name": "SARRAIL NOGENT S SEINE",
            "activities_names": "Site Mixte Céréales Appros",
            "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
            "email": "nomail.cds@soufflet.com",
            "city": "NOGENT S SEINE",
            "zip_code": "10400",
            "phone_number": "03 25 39 41 11",
            "mobile_number": "06 84 95 26 13",
            "manager_name": "Johann ROUSSEAU",
            "latitude": 48.491343,
}

Validation #294

Failure

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

  • The property '#/' contains additional properties ["id", "name", "activities_names", "address", "email", "city", "zip_code", "phone_number", "mobile_number", "manager_name", "latitude"] outside of the schema when none are allowed in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/' did not contain a required property of 'cities' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated",
  "properties": {
    "cities": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "city_code": {
            "maxLength": 11,
            "minLength": 7,
            "pattern": "^[A-Z0-9\\-_]*$",
            "type": "string"
          },
          "country": {
            "maxLength": 25,
            "minLength": 5,
            "pattern": "^[A-Z](\\p{L}|-)+$",
            "type": "string"
          },
          "distance": {
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "zip_code": {
            "maxLength": 12,
            "minLength": 3,
            "pattern": "^[A-Z0-9]*$",
            "type": "string"
          }
        },
        "required": [
          "city_code",
          "country",
          "distance",
          "name",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "cities"
  ],
  "title": "City - DefaultCity",
  "type": "object"
}

JSON instance

{
  "activities_names": "Site Mixte Céréales Appros",
  "address": "SILO SOUFFLET\nQUAI DU GENERAL SARRAIL",
  "city": "NOGENT S SEINE",
  "email": "nomail.cds@soufflet.com",
  "id": "0001",
  "latitude": 48.491343,
  "manager_name": "Johann ROUSSEAU",
  "mobile_number": "06 84 95 26 13",
  "name": "SARRAIL NOGENT S SEINE",
  "phone_number": "03 25 39 41 11",
  "zip_code": "10400"
}