DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "PhysicalStructureType"
Namespace:
Content:
complex, 7 attributes, 12 elements
Defined:
Includes:
definitions of 9 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isVersionable
 = 
"true"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, LogicalProductReference+, Format?, DefaultDataType?, DefaultDelimiter?, DefaultDecimalPositions?, DefaultDecimalSeparator?, DefaultDigitGroupSeparator?, DefaultMissingData?, GrossRecordStructure+
</...>
Content Model Elements (12):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Description of a physical structure .These are used by record layouts to describe the full structure of a physical instance.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          PhysicalStructureType (extension)
XML Source (w/o annotations (10); see within schema source)
<xs:complexType name="PhysicalStructureType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="LogicalProductReference"/>
<xs:element minOccurs="0" name="Format" type="xs:string"/>
<xs:element minOccurs="0" name="DefaultDataType" type="xs:string"/>
<xs:element minOccurs="0" name="DefaultDelimiter" type="xs:string"/>
<xs:element minOccurs="0" name="DefaultDecimalPositions" type="xs:integer"/>
<xs:element minOccurs="0" ref="DefaultDecimalSeparator"/>
<xs:element minOccurs="0" ref="DefaultDigitGroupSeparator"/>
<xs:element minOccurs="0" name="DefaultMissingData" type="xs:string"/>
<xs:element maxOccurs="unbounded" ref="GrossRecordStructure"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 9/12)
DefaultDataType
Type:
xs:string, predefined, simple content
An explicit definition of the data type that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level. This field is necessary in the case of some numeric data formats where the format definition would allow real values, but the values are integer values. Allowed values are: integer (default), real, string.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DefaultDataType" type="xs:string"/>

DefaultDecimalPositions
Type:
xs:integer, predefined, simple content
Number of decimal places for data with an implied decimal separator that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level. Another expression is the decimal scaling factor (SAS). Default: 0.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DefaultDecimalPositions" type="xs:integer"/>

DefaultDecimalSeparator
Type:
r:OneCharStringType, simple content
The character used to separate the integer and the fraction part of a number (if an explicit separator is used in the data) that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level. Allowed values are: None (default), Dot, Comma, Other. On the basis of the data definition in DDI documents, data processing tools could compute the necessary precision width on the basis of the format width and the existence of separators. Appropriate data types could be used, i.e. float or double, short or long. The decimal separator definition only makes sense with some XML Schema primitives. This is a default which may be overridden in specific cases.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="DefaultDecimalSeparator"/>

DefaultDelimiter
Type:
xs:string, predefined, simple content
Delimiter definition for delimited (free field) data that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level. Allowed values are: Empty (default), Tab, Blank, AnyString. If a delimiter is used, free field (delimited data) is assumed; binary formats are not allowed.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DefaultDelimiter" type="xs:string"/>

DefaultDigitGroupSeparator
Type:
r:OneCharStringType, simple content
The character used to separate groups of digits (if an explicit separator is used in the data) that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level. Allowed values are: None (default), Dot, Comma, Other. The decimal separator definition makes only sense with some XML Schema primitives. This is a default which may be overridden in specific cases.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="DefaultDigitGroupSeparator"/>

DefaultMissingData
Type:
xs:string, predefined, simple content
General information about missing data (e.g., that missing data have been standardized across the collection, missing data are present because of merging) that is applied to the majority of the dataitems reducing the amount of repetitive markup required. It can be overridden at the dataitem level.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DefaultMissingData" type="xs:string"/>

Format
Type:
xs:string, predefined, simple content
Description of the physical format of data file (e.g., SAS save file, Delimited file, Fixed format file).
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Format" type="xs:string"/>

GrossRecordStructure
Type:
GrossRecordStructureType, complex content
Characteristics of the physical storage of a logical record, as described in the DataRelationship section of the logical product.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="GrossRecordStructure"/>

LogicalProductReference
Type:
r:ReferenceType, complex content
References the logical data product that describes the intellectual content of this physical data product.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="LogicalProductReference"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set