16

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

 3 years ago
source link: https://www.schemastore.org/json/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Public API

Y3quYbI.png!web 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.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK