Validations history

Validation #323

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

{
  "cities": [
    {
      "name": "Troche",
            "country": "france",
            "city_code": "CY_FR_19270",
            "zip_code": "19230",
      "distance": 2230.6991501372486,
    }
  ]
}

Validation #322

Failure

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

  • The property '#/cities/0/country' was not of a minimum string length of 5 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": "CY_FR_14712",
      "country": "FR",
      "distance": 4846.069612448283,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #321

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

{
  "cities": [
    {
      "name": "Troarn",
            "country": "FR",
            "city_code": "CY_FR_14712",
            "zip_code": "14670",
      "distance": 4846.069612448283,

    }
  ]
}

Validation #320

Failure

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

  • The property '#/cities/0/country' value "fr-fr" 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": "CY_FR_14712",
      "country": "fr-fr",
      "distance": 4095.4357164033504,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #319

Failure

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

  • The property '#/cities/0/country' value "fr-FR" 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": "CY_FR_14712",
      "country": "fr-FR",
      "distance": 4095.4357164033504,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #318

Failure

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

  • The property '#/cities/0/country' was not of a minimum string length of 5 in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/0/country' value "" 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": "CY_FR_14712",
      "country": "",
      "distance": 4095.4357164033504,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #317

Failure

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

  • The property '#/cities/0/country' value "tototo" 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": "CY_FR_14712",
      "country": "tototo",
      "distance": 4095.4357164033504,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #316

Failure

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

  • The property '#/cities/0/country' was not of a minimum string length of 5 in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/0/country' value "" 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": "CY_FR_14712",
      "country": "",
      "distance": 4095.4357164033504,
      "name": "Troarn",
      "zip_code": "14670"
    }
  ]
}

Validation #315

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

{
  "cities": [
    {
      "name": "Troarn",
      "country": "",
       "city_code": "CY_FR_14712",
       "zip_code": "14670"
      "distance": 4095.4357164033504,
    }
  ]
}

Validation #314

Failure

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

  • The property '#/cities/0/country' value "Jp{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 "Pp{L}" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe
  • The property '#/cities/2/country' value "L---p{L}p{L}p{L}p{L}p{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": "UR3CL5D7-",
      "country": "Jp{L}p{L}",
      "distance": 4095.4357164033504,
      "name": "aliqua enim laboris aute ipsum",
      "zip_code": "BFUTCT"
    },
    {
      "city_code": "3ZHP9IC",
      "country": "Pp{L}",
      "distance": 4568.921917077508,
      "name": "nulla dol",
      "zip_code": "2F5XKKM"
    },
    {
      "city_code": "T3JJ72DQG",
      "country": "L---p{L}p{L}p{L}p{L}p{L}",
      "distance": 3130.2137211512536,
      "name": "nisi",
      "zip_code": "ZMTQ"
    }
  ]
}