内容简介:The API exposes metadata about each schema in the following format:
Public API
The JSONAPI contains a list of JSON Schema files for known JSON file formats. Each schema file can be used in tooling such as command line validators, editor auto-completion etc.
The API exposes metadata about each schema in the following format:
{
"name": "bower.json",
"description": "Bower package description file",
"fileMatch": [ "bower.json", ".bower.json" ],
"url": "http://schemastore.org/schemas/json/bower"
}
name , description and url are all required properties.
The url property is an absolute URI pointing to the schema. It can be hosted anywhere on the web.
The fileMatch property is for specifying what known file names corresponds with the schema. This property is optional since not all JSON formats enforce a specific file name.
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
HTTP/2基础教程
Stephen Ludin、Javier Garza / 罗正龙、郑维智 / 人民邮电出版社 / 2018-1 / 49.00元
让网站和应用更快速、更简洁、更稳健,从而有效提升用户体验,这无疑是众多开发者梦寐以求的。然而互联网发展日新月异,HTTP/1.1协议已经难以满足现今的需求。在众多Web性能提升方案中,HTTP/2值得尝试。 本书是HTTP/2实用指南,介绍了HTTP/2的设计初衷和新特性,以及如何才能充分利用这些特性来打造高性能网站及应用。作者用定量分析方法,对比了不同网络环境下及不同浏览器上HTTP/1.......一起来看看 《HTTP/2基础教程》 这本书的介绍吧!