3 ms·
> But one of them has schema descriptions JSONSchema? It's pretty standardized and well accepted.
by throwawaymaths 3y ago
> But one of them has schema descriptions
JSONSchema? It's pretty standardized and well accepted.
- NBJack 3y agoI believe XML has it baked directly into the official spec. JSONSchema is great, but I wouldn't call it a standard yet, and anecdotally I haven't seen it as often as I'd like in use (i.e. I either need to run kubectl --dry-run or use a separate third party solution to validate my changed yaml).
- meepmorp 3y agoXML schema is a separate spec.
- kaba0 3y agoRead the title - just because YAML is a superset of JSON, doesn’t mean you can check every YAML file with JSOnSchema.