occurrenceType Element

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>
	
npcl:occurrenceType/@id

REQUIRED. An internal identifier for the type. This is used only for reference purposes inside the NPCL XML document.

npcl:occurrenceType/@abstract

OPTIONAL. A boolean value that indicates if this type is abstract. If not specified, this attribute value defaults to "false".

npcl:occurrenceType/@datatype

OPTIONAL. The Datatype Facet value. This attribute specifies the datatype for values of occurences of this type.

npcl:occurrenceType/@minValue

OPTIONAL. The Minimum Value Facet value. Specifies the minimum allowed value for occurrences of this type.

npcl:occurrenceType/@maxValue

OPTIONAL. The Maximum Value Facet value. Specifies the maximum allowed value for occurrences of this type.

npcl:occurrenceType/@valuePattern

OPTIONAL. The Value Pattern Facet value. Specifies a regular expressiong that values of occurrences of this type must match.

npcl:occurrenceType/npcl:subjectIdentifier

REQUIRED, REPEATABLE. Contains a subject identifier URI for the type.

npcl:occurrenceType/npcl:displayName

Contains a human-readable display label for the type.

npcl:occurrenceType/npcl:extension

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.

npcl:occurrenceType/npcl:subclasses

Contains a list of the subclasses of this type. This element structure is described in detail below.