TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

220 点作者 simon04将近 5 年前

15 条评论

derimagia将近 5 年前
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 未加载
gravypod将近 5 年前
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 未加载
cdent将近 5 年前
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 未加载
oliyoung将近 5 年前
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>
tlarkworthy将近 5 年前
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 未加载
throwaway29102将近 5 年前
Aaaaaand now we’re back to XML, but with less readable syntax and implementation consistency. Sounds like a win for everyone.
评论 #23991527 未加载
评论 #23991567 未加载
评论 #23991989 未加载
xellisx将近 5 年前
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>
leetrout将近 5 年前
Wow that’s impressive. It’s awesome to be able to see how complex some of these are like cloudformation.
评论 #23990937 未加载
deknos将近 5 年前
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
disposedtrolley将近 5 年前
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.
gioele将近 5 年前
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>
renewiltord将近 5 年前
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 未加载
chme将近 5 年前
With version 1.0 of TOML it is JSON compatible AFAIK, so it should be possible to check it against json schemas as well.
factorialboy将近 5 年前
Interesting. Is there documentation on how to programmatically validate Jason against a schema?
评论 #23993359 未加载
评论 #23989395 未加载
lsiebert将近 5 年前
Are there any vim or emacs plugins that utilize these?