Declare Arrays in JSON-LD as readonly.
Declare Arrays in JSON-LD as readonly.

This reduces some of the cognitive load, makes completion easier in
some cases, and reduces the impact of type checking.

It is also more accurate: JSON-LD only cares that an array can be read
(and, in turn, serialized as JSON), not that it can be mutated during
runtime.

google/schema-dts,google/schema-dts