doc/book/en/03-definition-schema.en.txt
changeset 74 9a9fe515934d
equal deleted inserted replaced
69:58fd269f626b 74:9a9fe515934d
       
     1 .. -*- coding: utf-8 -*-
       
     2 
       
     3 Data Model definition (*schema*)
       
     4 ================================
       
     5 
       
     6 The schema is the main concept of `LAX` applications as it defines the
       
     7 data model we will handle. It is based on entities types already defined
       
     8 in the library and others, more specific, we would expect to find in one or
       
     9 more Python files under the `schema` directory.
       
    10 
       
    11 It is important to make clear the difference between relation type and relation
       
    12 definition: a relation type is only a relation name with potentially other
       
    13 additionnal properties (see XXXX), whereas a relation definition is a complete
       
    14 triplet "<subject entity type> <relation type> <object entity type>". A relation
       
    15 type could have been implied if none is related to a relation definition of the
       
    16 schema.
       
    17 
       
    18 
       
    19 .. include:: 03-sect-stdlib-schemas.en.txt
       
    20 .. include:: 03-sect-definition-schema.en.txt