Skip to content
grarup edited this page Aug 21, 2015 · 4 revisions

#Schemas Schemas if for the time being restricted to Json schemas. Test schemas and file can be found in Test

Description

The description on Json schemas can be found on http://json-schema.org/ Not all of the functions of schema is implemented as of today, but most.

Using

To use a schema for a json file simply add $schema to your file

Example:

{
	"$schema" : "entity.schema.json"
}

Validation

Validation of the schema will happen real time, and the errors and warnings will be shown in the margin of the document.

Standard schemas

There are three standad schemas in the editor

schema.schema.json this is for schemas

quickschema.schema.json this is almost the same as schema but is missing some parts to make it easier to do autocomplet

template.schema.json this is the schema for templates.

Clone this wiki locally