Defining schemas
|
This documentation is not current - it is for TypeDB 2.x, which is no longer supported. View the documentation for TypeDB 3.x: |
A schema is like a blueprint of a database that contains all user-defined types and rules used in a database. All queries are validated with the TypeQL syntax and a type system of a schema. Every piece of data inserted in a TypeDB database as an instance of a type. Rules are used for reasoning.
See below practical guides on how to define a schema of a TypeDB database.