Skip to content
This repository was archived by the owner on Aug 29, 2020. It is now read-only.

Latest commit

 

History

History

schemas

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Relation Engine Document Schemas

Document schemas define a required format for each collection in the database. Schemas use the JSON Schema specification.

Guidelines

  • Every schema file should have name, type ("vertex" or "edge"), and schema (JSON schema) fields
  • Every JSON schema should have a "$schema" field
  • You can add reusable JSON schema definitions by placing them in the ./definitions directory.

Testing your schema format

Run make test in the root of the repo, which will validate all the schemas in this directory. You can also run make test-schemas or make test-schema <schema-path> to test schemas specifically.

Resources