JSON Schema properties Keyword

The properties keyword describes the allowed fields of an object.

Syntax

{"type": "object", "properties": {"name": {"type": "string"}}}

Explanation

Each property can have its own schema, including type and constraints.