JSON Schema type Keyword

The type keyword defines the allowed JSON value type.

Syntax

{"type": "string"}

Explanation

Use type with string, number, integer, boolean, null, array or object.