Package Pyblio :: Module Schema
[hide private]
[frames] | no frames]

Module Schema

source code

Schema definition for a pyblio database. When a database is created, the schema is instantiated from a template. The user can then customize it.

At the moment, a schema contains a dictionnary of known document types. For each document, it is possible to know the mandatory and optional fields that describe the document. These fields are typed.

Classes [hide private]
  SchemaError
  Schema
  Attribute
  TxoAttribute
  TxoItem
Definition of a taxonomy item.
  TxoGroup