Dictionary Schema Overview

The dictionary schema is an XML representation of the IBM® SPSS® Statistics data dictionary. The data dictionary contains metadata that describes various properties of a data file. A copy of the dictionary schema, dictionary-1.0.xsd is installed with IBM SPSS Statistics. This section provides a general overview of the schema. Detailed schema documentation is provided in subsequent sections. The following figure shows a basic outline of the dictionary schema.

Figure 1. Outline of the dictionary schema
<dictionary locale="string" rowCount="integer" creationDateTime="dateTime">
  <variable alignment="right" | "center" | "left"
    displayWidth="integer" label="string" name="string" type="integer"    
    measurmentLevel="nominal" | "ordinal" | "scale" | "unknown">
    <variableFormat decimals="integer" type="string" width="integer"/>
    <variableWriteFormat decimals="integer" type="string" width="integer"/>
    <missingValue data="lowest" | "highest" | "string" type="lowerBound" | "upperBound"/>
    <attributeSet version="integer">
      <attribute name="string" type="user" | "system">
        <attributeValue value="string"/>
      </attribute>
    </attributeSet>
  </variable>
  <weightVariable name="string"/>
  <valueLabelSet>
    <valueLabel label="string"/>
    <valueLabelVariable name="string"/>
  </valueLabelSet>
  <variableSet name="string">
    <variablesetVariable name="string"/>
  </variableSet>
  <multipleResponseSet name="string">
    <multipleResponseSetCategoryLabels
      value="variableLabels" | "countedValues"/>
    <multipleResponseSetDichotomy value="string"/>
    <multipleResponseSetLabelSource value="variableLabel"/>
    <multipleResponseSetLabel value="string"/>
    <multipleResponseSetVariable name="string"/>
  </multipleResponseSet>
  <attributeSet version="integer">
    <attribute name="string" type="user" | "system">
      <attributeValue value="string"/>
    </attribute>
  </attributeSet>
</dictionary>