Live data from Hacker News

JSON Schema Store

schemastore.org

1–10 of 150 posts

Re: JSON Schema Store

#9
Does anyone know of a typescript translation for each of those validation models?

Or maybe even a way to discover related statically typed definitions based on the validation rules?

It would be really nice to not define parts of a data model that provide little to no business value - but where you can easily “stub your toe”.

Re: JSON Schema Store

#10
post #3

JSON is the version of XML we deserve.

I wish it had comments. And for that reason, I prefer yaml.

I prefer JSON's strictness. A Boolean cannot be confused for a string.

In yaml:

    country: no
Now your country is Boolean(false)

Now, I still prefer yaml overall.

Also, I hate that GitHub actions don't support anchors.

Post reply on HN