News for hackers. Stuff that matters.
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by jackconsidine on Monday January 30, 2023 @06:31PM (#34588257)
Started using it for my site. Have a hard time navigating the docs and understanding the best types of schema for different purposes. Is there a great guide that anyone knows of?
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by avmich on Monday January 30, 2023 @07:15PM (#34588826)
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by relequestual on Tuesday January 31, 2023 @04:23AM (#34593073)
Watch out for that second link. Not everything there is accurate. If you or anyone has suggestions to improve the docs (first link), filing issues or PRs are more than welcome!
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by avmich on Tuesday January 31, 2023 @11:37AM (#34597392)
> Watch out for that second link. Not everything there is accurate.

Can you elaborate please? I particularly like their well formedness concept.

Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by relequestual on Wednesday February 01, 2023 @06:09AM (#34609015)
Part of the problem is they wrote that site and its content for a specific version of JSON Schema. The `items` keyword no longer takes an array form value in the latest version of the specification, while their documentation shows that it does.

I seem to recall other issues, but can't find them now. We may have raised issues which were resolved, but I don't recall the specifics.