Null type

The null type is used to validate the null value.

{
  "type": "null"
}

null - valid

"" - invalid (is string)

false - invalid (is boolean)

0 - invalid (is integer/number)

Validation keywords

The null type has no specific validation keywords.