Skip to main content
Doctorine reference
On this pageOverview

A key appears twice in the same object

Duplicate keys make the document ambiguous — one of the two values would be silently lost.

spec.syntax.duplicate-key

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source location

Why it matters

Duplicate keys make the document ambiguous — one of the two values would be silently lost.

Documentation menu