doc/book/en/12-reference.en.txt
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 19 Nov 2008 08:41:47 -0800
changeset 100 e4d0fd06da7f
parent 74 9a9fe515934d
permissions -rw-r--r--
[doc] Initial translation of cubicweb-tool section.

.. -*- coding: utf-8 -*-

API Reference
=============

Schema API
----------

Base Types
~~~~~~~~~~

Base types are defined as a set in yams.BASE_TYPES that includes:
`String`, `Int`, `Float`, `Boolean`, `Date`, `Time`, `Datetime`,
`Interval`, `Password`, `Bytes`.

See `yams' API <http://lax.logilab.org/apidoc>`_

Constraints
~~~~~~~~~~~

Constraints are defined in yams.constraints and include:
`UniqueConstraint`, `SizeConstraint`, `RegexpConstraint`,
`BoundConstraint`, `IntervalBoundConstraint`,
`StaticVocabularyConstraint`, `MultipleStaticVocabularyConstraint`.

See `yams' API <http://lax.logilab.org/apidoc>`_

Views API
---------

See `yams' API <http://lax.logilab.org/apidoc>`_
[WRITE ME]