complexType "PhysicalRecordSegmentType"
Namespace:
Content:
complex, 7 attributes, 8 elements
Defined:
Includes:
definitions of 2 attributes, 2 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
"true"
 = 
xs:integer : "1"
 = 
xs:boolean : "false"
   
>
   
Content: 
</...>
Content Model Elements (8):
FileNameIdentification, KeyVariableReference, r:Agency, r:ID, r:MaintainableObject, r:URN, r:UserID, r:Version
All Direct / Indirect Based Elements (1):
PhysicalRecordSegment
Known Usage Locations
Annotation
A description of the physical record segment as found in the data store. A logical record may be stored in one or more segments housed hierarchically in a single file or in separate data files. All logical records have at least one segment. Identifies the Key variable identifying the segment if the identifier exists in the record, a file name identifier if the segment identification is expressed as part of the file name (used when each segment is stored in a separate file), the order of this segment in relation to other physical segments as part of the logical record, and a flag indicating whether or not the physical segment contains a key.
Type Definition Detail
Type Derivation Tree
r:AbstractIdentifiableType (extension)
  r:IdentifiableType (extension)
      PhysicalRecordSegmentType
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="PhysicalRecordSegmentType">
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:sequence>
<xs:element minOccurs="0" ref="KeyVariableReference"/>
<xs:element minOccurs="0" name="FileNameIdentification" type="xs:string"/>
</xs:sequence>
</xs:sequence>
<xs:attribute default="1" name="segmentOrder" type="xs:integer"/>
<xs:attribute default="false" name="hasSegmentKey" type="xs:boolean"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 2/7)
hasSegmentKey
Type:
xs:boolean, predefined
Use:
optional
Set to "true" if there is a variable identifying the segment order. If true a segment key should be declared in a KeyVariableReference. Set to "false" if there are multiple segments and the identification of a particular segment is based on the order of the records within the file.
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="false" name="hasSegmentKey" type="xs:boolean"/>

segmentOrder
Type:
xs:integer, predefined
Use:
optional
Indicates the position of this physical record segment within the logical record expressed as an integer.
Attribute Value
Default:
"1"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="1" name="segmentOrder" type="xs:integer"/>
Content Element Detail (all declarations; defined within this component only; 2/8)
FileNameIdentification
Type:
xs:string, predefined, simple content
If the file containing this segment has a standard section of its file name, include it here. For example a segment number. For example, in the files 2000SF10001.csv and 2000SF10002.csv the last 4 digits contain the segment number. There is no standard means of specifying this information in a machine-actionable way. This statement is informational but in some legacy files may be the only location where the segment identification is found.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="FileNameIdentification" type="xs:string"/>

KeyVariableReference
Type:
KeyVariableReferenceType, complex content
Reference to the Unique key variable for segment identification.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="KeyVariableReference"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set