3 ms·
Assuming you mean maps where the keys are ordered, then that is something JSON Schema could, in theory, specify[1]. However they seem to be against it primaril
by magicalhippo 4y ago
Assuming you mean maps where the keys are ordered, then that is something JSON Schema could, in theory, specify[1].
However they seem to be against it primarily because it's not JSON (keys are explicitly unordered) and that means some generators might be unable to produce valid output, so interoperability is tricky.
[1]: https://github.com/json-schema-org/json-schema-vocabularies/issues/7 https://github.com/json-schema-org/json-schema-vocabularies/...