-
Notifications
You must be signed in to change notification settings - Fork 0
Schemas
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
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.
To use a schema for a json file simply add $schema to your file
Example:
{
"$schema" : "entity.schema.json"
}
Validation of the schema will happen real time, and the errors and warnings will be shown in the margin of the document.
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.