tsd:schema

Purpose This element specifies whether a schema is necessary for storing data in a collection. This is decided depending on the contents of the use attribute (see below).
Parent element tsd:collection
Child elements None
Attributes use
Attributes
Name Type Description
use xs:NMTOKEN

The valid values for the use attribute are:

  • "required"
    A schema is required for storing data in the collection specified by the parent tsd:collection element. Data cannot be stored in the collection without having previously defined a schema.

    Note:
    This is the default value. It corresponds to the behavior of collections in Tamino versions prior to version 4.2.

  • "optional"
    A schema may be used, but is not required for storing data in the collection specified by the parent tsd:collection element. Both explicit and implicit creation of doctypes in the collection are permitted.

  • "prohibited"
    A schema may not be used for storing data in the collection specified by the parent tsd:collection element. When storing data, a suitable internal schema is created automatically.