Palabra clave type en JSON Schema

type define el tipo de valor permitido.

Sintaxis

{"type": "string"}

Explicación

Usa string, number, integer, boolean, null, array u object.