NetworkedPlanet | TMCore Web Services Guide |
This element describes a single Occurrence Type in the schema. It contains the Datatype, Minimum Value, Maximum Value and Value Pattern Facets that apply to this Occurrence Type.
<npcl:occurrenceType id="..." abstract="true|false" datatype="..." minValue="..." maxValue="..." valuePattern="..."> <npcl:subjectIdentifier> SUBJECT IDENTIFIER </subjectIdentifier> <npcl:displayName> NAME </npcl:displayName> <npcl:extension type="..."> ... </npcl:extension> <npcl:subclasses> ... </npcl:subclasses> </occurrenceType>
REQUIRED. An internal identifier for the type. This is used only for reference purposes inside the NPCL XML document.
OPTIONAL. A boolean value that indicates if this type is abstract. If not specified, this attribute value defaults to "false".
OPTIONAL. The Datatype Facet value. This attribute specifies the datatype for values of occurences of this type.
OPTIONAL. The Minimum Value Facet value. Specifies the minimum allowed value for occurrences of this type.
OPTIONAL. The Maximum Value Facet value. Specifies the maximum allowed value for occurrences of this type.
OPTIONAL. The Value Pattern Facet value. Specifies a regular expressiong that values of occurrences of this type must match.
REQUIRED, REPEATABLE. Contains a subject identifier URI for the type.
Contains a human-readable display label for the type.
Contains a single typed extension value for the type. The
value is the string content of this element. The type is
specified as a URI in the type
attribute of
this elment.
Contains a list of the subclasses of this type. This element structure is described in detail below.