Validations history

Validation #759

Failure

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

  • The property '#/' of type array did not match the following type: object 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

[
  {
    "city": "TROYES",
    "city_code": "CY_FR_10387",
    "cloud_cover": 23.67,
    "country_code": "FR",
    "etp": 0.02,
    "humidity": 79.5,
    "latitude": 48.298,
    "longitude": 4.08056,
    "night": 1,
    "pluviometry": 0,
    "pluviometry1h": 0,
    "pluviometry_cumul": 0,
    "prev_pluviometry_cumul": null,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2019-12-19T16:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T16:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:30:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 0,
    "snow": 0,
    "temperature": 8.52,
    "time": "2019-12-19T16:23:55Z",
    "timezone": "Europe/Paris",
    "warnings": [
      {
        "comment": "Attention rafales",
        "icon": "GUST",
        "type": "GUST"
      },
      {
        "comment": "La température est basse (< 10°)",
        "icon": null,
        "type": "TE10"
      }
    ],
    "weather": 2,
    "wind_direction": "SSE",
    "wind_gusts": 31.72,
    "wind_speed": 17.61,
    "windowsTZ": "Romance Standard Time"
  }
]

Validation #758

Failure

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

  • The property '#/cities/0/city_code' value " " did not match the regex '^[A-Z0-9\-_]*$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/0/country' value "U---p{L}p{L}-p{L}" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/1/country' value "Zp{L}-p{L}p{L}p{L}p{L}-p{" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/1/zip_code' value "6 6" did not match the regex '^[A-Z0-9]*$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/2/country' value "D-p{L}--p{L}p{L}" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/3/city_code' value "SO1C SO1C" did not match the regex '^[A-Z0-9\-_]*$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/3/country' value "Wp{L}" did not match the regex '^[A-Z](\p{L}|-)+$' 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

{
  "cities": [
    {
      "city_code": "       ",
      "country": "U---p{L}p{L}-p{L}",
      "distance": 2140.7418029299974,
      "name": "aliqua consequat sed",
      "zip_code": "UEADYK"
    },
    {
      "city_code": "EHGOGCO",
      "country": "Zp{L}-p{L}p{L}p{L}p{L}-p{",
      "distance": 711.536937557139,
      "name": "in",
      "zip_code": "6 6"
    },
    {
      "city_code": "_86T1GHEG2",
      "country": "D-p{L}--p{L}p{L}",
      "distance": 4951.338931415231,
      "name": "te",
      "zip_code": "B23"
    },
    {
      "city_code": "SO1C SO1C",
      "country": "Wp{L}",
      "distance": 3902.4855472678632,
      "name": "veniam et ",
      "zip_code": "MZE6JCO"
    }
  ]
}

Validation #757

Failure

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

  • The property '#/' of type array did not match the following type: object 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

[
  {
    "city": "TROYES",
    "city_code": "CY_FR_10387",
    "cloud_cover": 23.67,
    "country_code": "FR",
    "etp": 0.02,
    "humidity": 79.5,
    "latitude": 48.298,
    "longitude": 4.08056,
    "night": 1,
    "pluviometry": 0,
    "pluviometry1h": 0,
    "pluviometry_cumul": 0,
    "prev_pluviometry_cumul": null,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2019-12-19T16:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T16:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:30:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 0,
    "snow": 0,
    "temperature": 8.52,
    "time": "2019-12-19T16:23:55Z",
    "timezone": "Europe/Paris",
    "warnings": [
      {
        "comment": "Attention rafales",
        "icon": "GUST",
        "type": "GUST"
      },
      {
        "comment": "La température est basse (< 10°)",
        "icon": null,
        "type": "TE10"
      }
    ],
    "weather": 2,
    "wind_direction": "SSE",
    "wind_gusts": 31.72,
    "wind_speed": 17.61,
    "windowsTZ": "Romance Standard Time"
  }
]

Validation #756

Failure

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

  • The property '#/' contains additional properties ["time", "temperature", "weather", "recommended_spray", "wind_speed", "wind_gusts", "wind_direction", "humidity", "pluviometry1h", "pluviometry", "pluviometry_cumul", "prev_pluviometry_cumul", "risk_of_rain", "warnings", "rain_radar", "night", "snow", "cloud_cover", "etp", "city_code", "city", "country_code", "latitude", "longitude", "timezone", "windowsTZ"] 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

{
  "city": "TROYES",
  "city_code": "CY_FR_10387",
  "cloud_cover": 23.67,
  "country_code": "FR",
  "etp": 0.02,
  "humidity": 79.5,
  "latitude": 48.298,
  "longitude": 4.08056,
  "night": 1,
  "pluviometry": 0,
  "pluviometry1h": 0,
  "pluviometry_cumul": 0,
  "prev_pluviometry_cumul": null,
  "rain_radar": [
    {
      "rain_code": 0,
      "time": "2019-12-19T16:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T16:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T18:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T18:30:00Z"
    }
  ],
  "recommended_spray": 2,
  "risk_of_rain": 0,
  "snow": 0,
  "temperature": 8.52,
  "time": "2019-12-19T16:23:55Z",
  "timezone": "Europe/Paris",
  "warnings": [
    {
      "comment": "Attention rafales",
      "icon": "GUST",
      "type": "GUST"
    },
    {
      "comment": "La température est basse (< 10°)",
      "icon": null,
      "type": "TE10"
    }
  ],
  "weather": 2,
  "wind_direction": "SSE",
  "wind_gusts": 31.72,
  "wind_speed": 17.61,
  "windowsTZ": "Romance Standard Time"
}

Validation #755

Failure

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

  • The property '#/' of type array did not match the following type: object 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

[
  {
    "city": "TROYES",
    "city_code": "CY_FR_10387",
    "cloud_cover": 23.67,
    "country_code": "FR",
    "etp": 0.02,
    "humidity": 79.5,
    "latitude": 48.298,
    "longitude": 4.08056,
    "night": 1,
    "pluviometry": 0,
    "pluviometry1h": 0,
    "pluviometry_cumul": 0,
    "prev_pluviometry_cumul": null,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2019-12-19T16:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T16:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:30:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 0,
    "snow": 0,
    "temperature": 8.52,
    "time": "2019-12-19T16:23:55Z",
    "timezone": "Europe/Paris",
    "warnings": [
      {
        "comment": "Attention rafales",
        "icon": "GUST",
        "type": "GUST"
      },
      {
        "comment": "La température est basse (< 10°)",
        "icon": null,
        "type": "TE10"
      }
    ],
    "weather": 2,
    "wind_direction": "SSE",
    "wind_gusts": 31.72,
    "wind_speed": 17.61,
    "windowsTZ": "Romance Standard Time"
  }
]

Validation #754

Failure

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

  • The property '#/' of type object did not match the following type: array in schema 841aca2c-879e-5e5e-93d4-bd91c2eb33d3

JSON Schema

{
  "definitions": {
    "default_representation_71": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "icon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI",
            "TE10"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "icon",
        "type"
      ],
      "title": "WarningResult - default_representation",
      "type": "object"
    },
    "default_representation_72": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "time": {
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadarResult - default_representation",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "items": {
    "additionalProperties": false,
    "properties": {
      "city": {
        "maxLength": 30,
        "minLength": 2,
        "pattern": "^[A-Z](\\p{L}|-)+$",
        "type": "string"
      },
      "city_code": {
        "maxLength": 15,
        "minLength": 10,
        "pattern": "^[A-Z0-9\\-_]*$",
        "type": "string"
      },
      "country_code": {
        "type": "string"
      },
      "humidity": {
        "maximum": 100,
        "minimum": 30,
        "type": "number"
      },
      "latitude": {
        "maximum": 90,
        "minimum": -90,
        "type": "number"
      },
      "longitude": {
        "maximum": 180,
        "minimum": -180,
        "type": "number"
      },
      "night": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "pluviometry": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry1h": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry_cumul": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "rain_radar": {
        "items": {
          "$ref": "#/definitions/default_representation_72",
          "type": "object"
        },
        "type": "array"
      },
      "recommended_spray": {
        "maximum": 3,
        "minimum": 1,
        "type": "integer"
      },
      "risk_of_rain": {
        "maximum": 100,
        "minimum": 0,
        "type": "number"
      },
      "snow": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "temperature": {
        "maximum": 40,
        "minimum": -15,
        "type": "number"
      },
      "time": {
        "format": "date-time",
        "type": "string"
      },
      "timezone": {
        "maxLength": 30,
        "minLength": 1,
        "type": "string"
      },
      "warnings": {
        "items": {
          "$ref": "#/definitions/default_representation_71",
          "type": "object"
        },
        "type": "array"
      },
      "weather": {
        "maximum": 20,
        "minimum": 1,
        "type": "number"
      },
      "wind_direction": {
        "maxLength": 3,
        "minLength": 1,
        "type": "string"
      },
      "wind_gusts": {
        "maximum": 60,
        "minimum": 0,
        "type": "number"
      },
      "wind_speed": {
        "maximum": 30,
        "minimum": 0,
        "type": "number"
      },
      "windowsTZ": {
        "type": "string"
      }
    },
    "required": [
      "city",
      "city_code",
      "country_code",
      "humidity",
      "latitude",
      "longitude",
      "night",
      "pluviometry",
      "pluviometry1h",
      "pluviometry_cumul",
      "rain_radar",
      "recommended_spray",
      "risk_of_rain",
      "snow",
      "temperature",
      "time",
      "timezone",
      "warnings",
      "weather",
      "wind_direction",
      "wind_gusts",
      "wind_speed",
      "windowsTZ"
    ],
    "type": "object"
  },
  "title": "CurrentWeather - default_representation",
  "type": "array"
}

JSON instance

{
  "city": "TROYES",
  "city_code": "CY_FR_10387",
  "cloud_cover": 14.32,
  "country_code": "FR",
  "etp": 0.16,
  "humidity": 78.89,
  "latitude": 48.298,
  "longitude": 4.08056,
  "night": 0,
  "pluviometry": 0,
  "pluviometry1h": 0,
  "pluviometry_cumul": 0,
  "prev_pluviometry_cumul": null,
  "rain_radar": [
    {
      "rain_code": 0,
      "time": "2019-12-19T15:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T16:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T16:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T18:00:00Z"
    }
  ],
  "recommended_spray": 2,
  "risk_of_rain": 0,
  "snow": 0,
  "temperature": 9.03,
  "time": "2019-12-19T15:50:12Z",
  "timezone": "Europe/Paris",
  "warnings": [
    {
      "comment": "Attention rafales",
      "icon": "GUST",
      "type": "GUST"
    },
    {
      "comment": "La température est basse (< 10°)",
      "icon": null,
      "type": "TE10"
    }
  ],
  "weather": 2,
  "wind_direction": "SSE",
  "wind_gusts": 28.1,
  "wind_speed": 17.04,
  "windowsTZ": "Romance Standard Time"
}

Validation #753

Failure

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

  • The property '#/' of type object did not match the following type: array in schema 841aca2c-879e-5e5e-93d4-bd91c2eb33d3

JSON Schema

{
  "definitions": {
    "default_representation_71": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "icon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI",
            "TE10"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "icon",
        "type"
      ],
      "title": "WarningResult - default_representation",
      "type": "object"
    },
    "default_representation_72": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "time": {
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadarResult - default_representation",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "items": {
    "additionalProperties": false,
    "properties": {
      "city": {
        "maxLength": 30,
        "minLength": 2,
        "pattern": "^[A-Z](\\p{L}|-)+$",
        "type": "string"
      },
      "city_code": {
        "maxLength": 15,
        "minLength": 10,
        "pattern": "^[A-Z0-9\\-_]*$",
        "type": "string"
      },
      "country_code": {
        "type": "string"
      },
      "humidity": {
        "maximum": 100,
        "minimum": 30,
        "type": "number"
      },
      "latitude": {
        "maximum": 90,
        "minimum": -90,
        "type": "number"
      },
      "longitude": {
        "maximum": 180,
        "minimum": -180,
        "type": "number"
      },
      "night": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "pluviometry": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry1h": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry_cumul": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "rain_radar": {
        "items": {
          "$ref": "#/definitions/default_representation_72",
          "type": "object"
        },
        "type": "array"
      },
      "recommended_spray": {
        "maximum": 3,
        "minimum": 1,
        "type": "integer"
      },
      "risk_of_rain": {
        "maximum": 100,
        "minimum": 0,
        "type": "number"
      },
      "snow": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "temperature": {
        "maximum": 40,
        "minimum": -15,
        "type": "number"
      },
      "time": {
        "format": "date-time",
        "type": "string"
      },
      "timezone": {
        "maxLength": 30,
        "minLength": 1,
        "type": "string"
      },
      "warnings": {
        "items": {
          "$ref": "#/definitions/default_representation_71",
          "type": "object"
        },
        "type": "array"
      },
      "weather": {
        "maximum": 20,
        "minimum": 1,
        "type": "number"
      },
      "wind_direction": {
        "maxLength": 3,
        "minLength": 1,
        "type": "string"
      },
      "wind_gusts": {
        "maximum": 60,
        "minimum": 0,
        "type": "number"
      },
      "wind_speed": {
        "maximum": 30,
        "minimum": 0,
        "type": "number"
      },
      "windowsTZ": {
        "type": "string"
      }
    },
    "required": [
      "city",
      "city_code",
      "country_code",
      "humidity",
      "latitude",
      "longitude",
      "night",
      "pluviometry",
      "pluviometry1h",
      "pluviometry_cumul",
      "rain_radar",
      "recommended_spray",
      "risk_of_rain",
      "snow",
      "temperature",
      "time",
      "timezone",
      "warnings",
      "weather",
      "wind_direction",
      "wind_gusts",
      "wind_speed",
      "windowsTZ"
    ],
    "type": "object"
  },
  "title": "CurrentWeather - default_representation",
  "type": "array"
}

JSON instance

{
  "city": "TROYES",
  "city_code": "CY_FR_10387",
  "cloud_cover": 14.32,
  "country_code": "FR",
  "etp": 0.16,
  "humidity": 78.89,
  "latitude": 48.298,
  "longitude": 4.08056,
  "night": 0,
  "pluviometry": 0,
  "pluviometry1h": 0,
  "pluviometry_cumul": 0,
  "prev_pluviometry_cumul": null,
  "rain_radar": [
    {
      "rain_code": 0,
      "time": "2019-12-19T15:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T16:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T16:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:00:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T17:30:00Z"
    },
    {
      "rain_code": 0,
      "time": "2019-12-19T18:00:00Z"
    }
  ],
  "recommended_spray": 2,
  "risk_of_rain": 0,
  "snow": 0,
  "temperature": 9.03,
  "time": "2019-12-19T15:50:12Z",
  "timezone": "Europe/Paris",
  "warnings": [
    {
      "comment": "Attention rafales",
      "icon": "GUST",
      "type": "GUST"
    },
    {
      "comment": "La température est basse (< 10°)",
      "icon": null,
      "type": "TE10"
    }
  ],
  "weather": 2,
  "wind_direction": "SSE",
  "wind_gusts": 28.1,
  "wind_speed": 17.04,
  "windowsTZ": "Romance Standard Time"
}

Validation #752

Failure

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

  • The property '#/0' contains additional properties ["prev_pluviometry_cumul", "cloud_cover", "etp"] outside of the schema when none are allowed in schema 841aca2c-879e-5e5e-93d4-bd91c2eb33d3

JSON Schema

{
  "definitions": {
    "default_representation_71": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comment": {
          "type": "string"
        },
        "icon": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "enum": [
            "OK",
            "BEE",
            "GUST",
            "RAIN",
            "HY50",
            "HY70",
            "HY95",
            "WI19",
            "TE25",
            "TZ10",
            "RISK",
            "TE00",
            "TE05",
            "TE12",
            "TE13",
            "R1H3",
            "RAI2",
            "OPTI",
            "TE10"
          ],
          "type": "string"
        }
      },
      "required": [
        "comment",
        "icon",
        "type"
      ],
      "title": "WarningResult - default_representation",
      "type": "object"
    },
    "default_representation_72": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "rain_code": {
          "maximum": 3,
          "minimum": 0,
          "type": "integer"
        },
        "time": {
          "type": "string"
        }
      },
      "required": [
        "rain_code",
        "time"
      ],
      "title": "RainRadarResult - default_representation",
      "type": "object"
    }
  },
  "description": "Automatically generated",
  "items": {
    "additionalProperties": false,
    "properties": {
      "city": {
        "maxLength": 30,
        "minLength": 2,
        "pattern": "^[A-Z](\\p{L}|-)+$",
        "type": "string"
      },
      "city_code": {
        "maxLength": 15,
        "minLength": 10,
        "pattern": "^[A-Z0-9\\-_]*$",
        "type": "string"
      },
      "country_code": {
        "type": "string"
      },
      "humidity": {
        "maximum": 100,
        "minimum": 30,
        "type": "number"
      },
      "latitude": {
        "maximum": 90,
        "minimum": -90,
        "type": "number"
      },
      "longitude": {
        "maximum": 180,
        "minimum": -180,
        "type": "number"
      },
      "night": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "pluviometry": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry1h": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "pluviometry_cumul": {
        "maximum": 200,
        "minimum": 0,
        "type": "number"
      },
      "rain_radar": {
        "items": {
          "$ref": "#/definitions/default_representation_72",
          "type": "object"
        },
        "type": "array"
      },
      "recommended_spray": {
        "maximum": 3,
        "minimum": 1,
        "type": "integer"
      },
      "risk_of_rain": {
        "maximum": 100,
        "minimum": 0,
        "type": "number"
      },
      "snow": {
        "maximum": 1,
        "minimum": 0,
        "type": "integer"
      },
      "temperature": {
        "maximum": 40,
        "minimum": -15,
        "type": "number"
      },
      "time": {
        "format": "date-time",
        "type": "string"
      },
      "timezone": {
        "maxLength": 30,
        "minLength": 1,
        "type": "string"
      },
      "warnings": {
        "items": {
          "$ref": "#/definitions/default_representation_71",
          "type": "object"
        },
        "type": "array"
      },
      "weather": {
        "maximum": 20,
        "minimum": 1,
        "type": "number"
      },
      "wind_direction": {
        "maxLength": 3,
        "minLength": 1,
        "type": "string"
      },
      "wind_gusts": {
        "maximum": 60,
        "minimum": 0,
        "type": "number"
      },
      "wind_speed": {
        "maximum": 30,
        "minimum": 0,
        "type": "number"
      },
      "windowsTZ": {
        "type": "string"
      }
    },
    "required": [
      "city",
      "city_code",
      "country_code",
      "humidity",
      "latitude",
      "longitude",
      "night",
      "pluviometry",
      "pluviometry1h",
      "pluviometry_cumul",
      "rain_radar",
      "recommended_spray",
      "risk_of_rain",
      "snow",
      "temperature",
      "time",
      "timezone",
      "warnings",
      "weather",
      "wind_direction",
      "wind_gusts",
      "wind_speed",
      "windowsTZ"
    ],
    "type": "object"
  },
  "title": "CurrentWeather - default_representation",
  "type": "array"
}

JSON instance

[
  {
    "city": "TROYES",
    "city_code": "CY_FR_10387",
    "cloud_cover": 14.32,
    "country_code": "FR",
    "etp": 0.16,
    "humidity": 78.89,
    "latitude": 48.298,
    "longitude": 4.08056,
    "night": 0,
    "pluviometry": 0,
    "pluviometry1h": 0,
    "pluviometry_cumul": 0,
    "prev_pluviometry_cumul": null,
    "rain_radar": [
      {
        "rain_code": 0,
        "time": "2019-12-19T15:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T16:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T16:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:00:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T17:30:00Z"
      },
      {
        "rain_code": 0,
        "time": "2019-12-19T18:00:00Z"
      }
    ],
    "recommended_spray": 2,
    "risk_of_rain": 0,
    "snow": 0,
    "temperature": 9.03,
    "time": "2019-12-19T15:50:12Z",
    "timezone": "Europe/Paris",
    "warnings": [
      {
        "comment": "Attention rafales",
        "icon": "GUST",
        "type": "GUST"
      },
      {
        "comment": "La température est basse (< 10°)",
        "icon": null,
        "type": "TE10"
      }
    ],
    "weather": 2,
    "wind_direction": "SSE",
    "wind_gusts": 28.1,
    "wind_speed": 17.04,
    "windowsTZ": "Romance Standard Time"
  }
]

Validation #751

Success

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

JSON Schema

{
  "definitions": {
    "DefaultCoordinate_794": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Coordinate - DefaultCoordinate",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "items": {
    "additionalProperties": false,
    "properties": {
      "radarCountry": {
        "type": "string"
      },
      "radarImageDate": {
        "format": "date-time",
        "type": "string"
      },
      "radarImageEnveloppe": {
        "items": {
          "$ref": "#/definitions/DefaultCoordinate_794",
          "type": "object"
        },
        "maxItems": 5,
        "minItems": 5,
        "type": "array"
      },
      "radarImageURL": {
        "format": "uri",
        "type": "string"
      },
      "timezone": {
        "type": "string"
      }
    },
    "required": [
      "radarCountry",
      "radarImageDate",
      "radarImageEnveloppe",
      "radarImageURL",
      "timezone"
    ],
    "type": "object"
  },
  "title": "RadarImage - DefaultRadarImage",
  "type": "array"
}

JSON instance

[
  {
    "radarCountry": "sint cillum",
    "radarImageDate": "1986-06-10T13:03:09.283Z",
    "radarImageEnveloppe": [
      {
        "latitude": 19.518943009660774,
        "longitude": -141.18023504447513
      },
      {
        "latitude": -39.97901984219005,
        "longitude": 109.02768288077186
      },
      {
        "latitude": 56.421791797095494,
        "longitude": 41.220633842288834
      },
      {
        "latitude": 69.81361786859279,
        "longitude": 91.01314768413471
      },
      {
        "latitude": -44.29291808036197,
        "longitude": -60.95586411642766
      }
    ],
    "radarImageURL": "https://wKozsQbAIaGgQz.jolui6XsJkZqwubBLvwAABllSznug4wPSowl6CBhWP8u",
    "timezone": "sint ut consequat Duis"
  },
  {
    "radarCountry": "ea elit",
    "radarImageDate": "1970-09-17T08:31:27.579Z",
    "radarImageEnveloppe": [
      {
        "latitude": 75.56292090582315,
        "longitude": -101.54843802512404
      },
      {
        "latitude": 83.60590797741943,
        "longitude": -79.23204488493637
      },
      {
        "latitude": 67.05668142683166,
        "longitude": -142.9646692821499
      },
      {
        "latitude": -32.397372855249,
        "longitude": -2.923543051206593
      },
      {
        "latitude": 16.301515925867818,
        "longitude": 153.53406962190826
      }
    ],
    "radarImageURL": "http://HqTLMJnfYjzzyxnVncQumaXei.wvGBhoWPeofPlyswnaJGzQZCfO6qDw9Dc8ynZViShvkhPz-Hp,1c1Q+xexd0No,iQNS",
    "timezone": "m"
  },
  {
    "radarCountry": "id in ",
    "radarImageDate": "2019-01-26T19:44:56.959Z",
    "radarImageEnveloppe": [
      {
        "latitude": -89.81715678955854,
        "longitude": 35.70785874416876
      },
      {
        "latitude": -76.84998592970133,
        "longitude": -138.69868660511685
      },
      {
        "latitude": 50.677048890357355,
        "longitude": 69.78063659192892
      },
      {
        "latitude": -13.869255127445058,
        "longitude": 114.68172677441311
      },
      {
        "latitude": 20.629347137369862,
        "longitude": 74.6764119386448
      }
    ],
    "radarImageURL": "http://IzNZABGGZXLLmCgraFBtuiGckE.fyeXMId-Pm2bzDq5n,kPewoYtHF.umCb2KwO7jtZMsOLjXo",
    "timezone": "Lorem cillum"
  },
  {
    "radarCountry": "sunt fugiat",
    "radarImageDate": "1985-02-23T16:58:36.720Z",
    "radarImageEnveloppe": [
      {
        "latitude": 29.659101552795505,
        "longitude": -128.21731414906517
      },
      {
        "latitude": -46.85037562597338,
        "longitude": 92.5674266753141
      },
      {
        "latitude": -66.2598816981111,
        "longitude": -96.66714006687613
      },
      {
        "latitude": 61.56608625569197,
        "longitude": -117.18355625354545
      },
      {
        "latitude": -45.924879121026834,
        "longitude": -50.38211920475766
      }
    ],
    "radarImageURL": "https://ksBoKCiCgqDFREnpUvcmFVHDWLv.orQ-l8Jd0VDRoehRzq-RO1mmPG3rnS9XL-PKHJBb87A4Fw",
    "timezone": "id aliqua est"
  }
]

Validation #750

Success

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

JSON Schema

{
  "items": {
    "additionalProperties": false,
    "properties": {
      "creationDate": {
        "format": "date",
        "type": "string"
      },
      "defaultRecipientStockroom": {
        "type": "string"
      },
      "documentNumber": {
        "type": "integer"
      },
      "documentType": {
        "enum": [
          "ALF",
          "TRV"
        ],
        "type": "string"
      },
      "id": {
        "description": "= type + document number\r\nex : ALF-352",
        "type": "string"
      },
      "internalReference": {
        "type": "string"
      },
      "supplierName": {
        "type": "string"
      }
    },
    "required": [
      "creationDate",
      "defaultRecipientStockroom",
      "documentNumber",
      "documentType",
      "id",
      "supplierName"
    ],
    "type": "object"
  },
  "title": "documentDetail - DocumentMacroALF",
  "type": "array"
}

JSON instance

[
  {
    "creationDate": "2019-12-12",
    "defaultRecipientStockroom": "100",
    "documentNumber": 100682,
    "documentType": "ALF",
    "id": "ALF-100682",
    "internalReference": "ALF_MLE_12122019_02",
    "supplierName": "000000000005F"
  }
]