TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Schemastore.org – schemas for all commonly known JSON file formats

220 pointsby simon04almost 5 years ago

15 comments

derimagiaalmost 5 years ago
Jetbrains uses this in their IDEs <a href="https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;idea&#x2F;json.html#ws_json_schema_store_enable_auto_download" rel="nofollow">https:&#x2F;&#x2F;www.jetbrains.com&#x2F;help&#x2F;idea&#x2F;json.html#ws_json_schema...</a><p>It&#x27;s how it autocompletes JSON &#x2F; YAML files automatically
评论 #23995023 未加载
gravypodalmost 5 years ago
I love structured repositories of knowledge and documentation like this because it opens a lot of doors for automating some broader software engineering talent.<p>This could be a really cool opportunity to programatically find common subsets of fields&#x2F;operations that are sent together in many APIs and see if there&#x27;s a way to build libraries and tooling across a bunch of languages to handle operations on those fields.
评论 #23990009 未加载
cdentalmost 5 years ago
Anybody else get bummed out that many times that we create a lightweight thing to compensate for something overcooked (like XML) the new thing eventually ends up overcooked in much the same way?
评论 #23989119 未加载
评论 #23990350 未加载
评论 #23990132 未加载
评论 #23990235 未加载
评论 #23990542 未加载
评论 #23990792 未加载
评论 #23989213 未加载
评论 #23992649 未加载
oliyoungalmost 5 years ago
Here&#x27;s how to use them in VSCode <a href="https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;languages&#x2F;json#_json-schemas-and-settings" rel="nofollow">https:&#x2F;&#x2F;code.visualstudio.com&#x2F;docs&#x2F;languages&#x2F;json#_json-sche...</a>
tlarkworthyalmost 5 years ago
In a similar vein, apis.guru has a f<i></i>*ton of OpenAPI definitions (550) <a href="https:&#x2F;&#x2F;apis.guru&#x2F;openapi-directory&#x2F;" rel="nofollow">https:&#x2F;&#x2F;apis.guru&#x2F;openapi-directory&#x2F;</a> (I am not affiliated, just a fan)
评论 #23989827 未加载
throwaway29102almost 5 years ago
Aaaaaand now we’re back to XML, but with less readable syntax and implementation consistency. Sounds like a win for everyone.
评论 #23991527 未加载
评论 #23991567 未加载
评论 #23991989 未加载
xellisxalmost 5 years ago
I just swapped from doing JSON schema to using TypeScript Interfaces for schema I&#x27;m working on. <a href="https:&#x2F;&#x2F;github.com&#x2F;ellisgl&#x2F;keyboard-schema" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ellisgl&#x2F;keyboard-schema</a>
leetroutalmost 5 years ago
Wow that’s impressive. It’s awesome to be able to see how complex some of these are like cloudformation.
评论 #23990937 未加载
deknosalmost 5 years ago
Now just someone has to build a converter (like pandoc) for these formats and yaml and dhall and xml and ini and gron&#x2F;greppabblejson&#x2F;mozilla format and we finally can use any format we want<p>and two other questions:<p>* is there a comparable site for xml?<p>* is there a python module for each format? :D
disposedtrolleyalmost 5 years ago
Are there any tools which can parse a JSON document and its schema definition to construct a queryable graph? The ability to see and traverse relationships in particularly complex JSON documents (like an OpenAPI definition) could come in handy.
gioelealmost 5 years ago
For those that enjoy a bit of historical perspective, it is interesting to note that similar schema repositories existed also for XML (for both DTD and XML Schema). They were, however, all behind paywalls or registration forms.<p>It is impressive to see how much and how quickly the world has switched to &quot;open-first&quot; when it comes to schemas, documentation and software in general.<p>Examples:<p>* BizTalk (by Microsoft) <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000301195519&#x2F;http:&#x2F;&#x2F;www.biztalk.org&#x2F;Library&#x2F;library.asp" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000301195519&#x2F;http:&#x2F;&#x2F;www.biztal...</a><p>* <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000511095737&#x2F;http:&#x2F;&#x2F;www.openapplications.org&#x2F;xml&#x2F;loadform.htm" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000511095737&#x2F;http:&#x2F;&#x2F;www.openap...</a><p>Bonus: A review of XML schema repositories: <a href="https:&#x2F;&#x2F;www.xmltwig.org&#x2F;article&#x2F;bw&#x2F;bw_04-schema_repositories.html" rel="nofollow">https:&#x2F;&#x2F;www.xmltwig.org&#x2F;article&#x2F;bw&#x2F;bw_04-schema_repositories...</a>
renewiltordalmost 5 years ago
Has someone made a version of this but as a type definition for Typescript? I&#x27;d find that interesting and wouldn&#x27;t mind contributing to a Github repo.
评论 #23996969 未加载
chmealmost 5 years ago
With version 1.0 of TOML it is JSON compatible AFAIK, so it should be possible to check it against json schemas as well.
factorialboyalmost 5 years ago
Interesting. Is there documentation on how to programmatically validate Jason against a schema?
评论 #23993359 未加载
评论 #23989395 未加载
lsiebertalmost 5 years ago
Are there any vim or emacs plugins that utilize these?