Re:XML is almost always misused
by democracy on Tuesday October 29, 2019 @06:34PM
(#21392829)
and having schemas is also great for some cases
[ Parent
| on HN ]
Re:XML is almost always misused
by EdwardDiego on Wednesday October 30, 2019 @12:47AM
(#21394756)
Schemas are awesome for so many cases. Even though JSON Schema is a giant evolving clusterfuck, I still use it to be able to enforce some consistency.
And, being honest, JSON schema is better than, say, GPB or Avro schema at enforcing field relationships, e.g., "if typeId is 7, then partnerId cannot be null"