News for hackers. Stuff that matters.
Re:Show HN: Verify JSON using minimal schema by gunn on Thursday April 16, 2020 @01:43AM (#22886487)
Why are schemas strings?

It would seem much more natural to make them JSON structures since they're almost that anyway.

Re:Show HN: Verify JSON using minimal schema by yusufnb on Thursday April 16, 2020 @03:03PM (#22892403)
Strings make it easy to define as configs and can be implemented uniformly across different languages. In world of microservices, a Python and a Go service can easily share the schema definitions via some config files. Also strings provided the best minimalist syntax.
Re:Show HN: Verify JSON using minimal schema by ZenPsycho on Thursday April 16, 2020 @02:14AM (#22886639)
then you might as well use jsonschema.
Re:Show HN: Verify JSON using minimal schema by mikl on Thursday April 16, 2020 @04:11AM (#22887232)
Indeed, there seems to be no reason to use this instead of JSON Schema.