Component: DataType

  • Simple Type DataType restricts data to atomic values like string, float, integer, boolean, date, and concept.

  • It's used to define the data type for attributes, concepts, concept properties, table columns, and value groups within the schema.

  • DataType is based on the xs:string type and uses enumerations to specify allowed values.

  • The schema documentation provides detailed information about how and where DataType is utilized.

Simple Type DataType

Namespace http://schemas.google.com/dspl/2010
Annotations Data types supported for atomic data values.
Diagram Diagram
Type restriction of xs:string
Facets
enumeration string
enumeration float
enumeration integer
enumeration boolean
enumeration date
enumeration concept
Used by
Attributes Attribute/type/@ref, Concept/type/@ref, ConceptProperty/type/@ref, Table/column/@type, ValuesGroup/@type
Source
<xs:simpleType name="DataType">
  <xs:annotation>
    <xs:documentation>Data types supported for atomic data values.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:enumeration value="string"/>
    <xs:enumeration value="float"/>
    <xs:enumeration value="integer"/>
    <xs:enumeration value="boolean"/>
    <xs:enumeration value="date"/>
    <xs:enumeration value="concept"/>
  </xs:restriction>
</xs:simpleType>

Created using the oXygen XML Editor.