<xs:element minOccurs="0" name="Layer"><xs:annotation><xs:documentation>A reference to the Layer of the Code</xs:documentation></xs:annotation><xs:complexType><xs:attribute name="idRef" type="xs:string"/></xs:complexType></xs:element>
The type of the Code (can be point, line or area). Custom code type should be marked with "free" type.
Diagram
Type
restriction of xs:NMTOKEN
Properties
content
simple
Facets
enumeration
point
enumeration
line
enumeration
area
enumeration
free
user-defined non-MAGNET code type
Source
<xs:element name="TypeCode"><xs:annotation><xs:documentation>The type of the Code (can be point, line or area). Custom code type should be marked with "free" type.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="point"/><xs:enumeration value="line"/><xs:enumeration value="area"/><xs:enumeration value="free"><xs:annotation><xs:documentation>user-defined non-MAGNET code type</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType></xs:element>
The type of property prompt (can be start, end or each node)
Diagram
Type
restriction of xs:NMTOKEN
Properties
content
simple
minOccurs
0
Facets
enumeration
start
enumeration
each_node
enumeration
end
Source
<xs:element name="TypeAttribPrompt" minOccurs="0"><xs:annotation><xs:documentation>The type of property prompt (can be start, end or each node)</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="start"/><xs:enumeration value="each_node"/><xs:enumeration value="end"/></xs:restriction></xs:simpleType></xs:element>
The Dtm flag of the Code (can be unused, used, used breakline or used exclusion area)
Diagram
Type
restriction of xs:NMTOKEN
Properties
content
simple
Facets
enumeration
unused
enumeration
used
enumeration
used_breakline
enumeration
used_exclusion_area
Source
<xs:element name="DTMCodeFlag"><xs:annotation><xs:documentation>The Dtm flag of the Code (can be unused, used, used breakline or used exclusion area)</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="unused"/><xs:enumeration value="used"/><xs:enumeration value="used_breakline"/><xs:enumeration value="used_exclusion_area"/></xs:restriction></xs:simpleType></xs:element>
Complex Type tps:codeDescriptionType
Namespace
tps
Annotations
A code that can be used by an element to gain some properties
The id of the element. In Data structure it must be always defined and it can be referenced by an other element that uses this element. In Transaction structure it must be defined by a 'created' action (not defined in the other actions)
The reference to the id of this element. In MAXML structure is not defined. In Transaction structure it must be defined by 'modified' and 'deleted' action (not defined in 'created' action)
Source
<xs:complexType name="codeDescriptionType"><xs:annotation><xs:documentation>A code that can be used by an element to gain some properties</xs:documentation></xs:annotation><xs:complexContent><xs:extension base="tps:actionObjectType"><xs:sequence><xs:element name="Name" type="xs:string"><xs:annotation><xs:documentation>The name of the Code</xs:documentation></xs:annotation></xs:element><xs:element maxOccurs="unbounded" minOccurs="0" name="AttrDescription" type="tps:attrDescriptionType"><xs:annotation><xs:documentation>A collection of properties</xs:documentation></xs:annotation></xs:element><xs:group minOccurs="0" ref="tps:DrawProperties"/><xs:element minOccurs="0" name="Layer"><xs:annotation><xs:documentation>A reference to the Layer of the Code</xs:documentation></xs:annotation><xs:complexType><xs:attribute name="idRef" type="xs:string"/></xs:complexType></xs:element><xs:element name="Description" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The code description</xs:documentation></xs:annotation></xs:element><xs:element name="TypeCode"><xs:annotation><xs:documentation>The type of the Code (can be point, line or area). Custom code type should be marked with "free" type.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="point"/><xs:enumeration value="line"/><xs:enumeration value="area"/><xs:enumeration value="free"><xs:annotation><xs:documentation>user-defined non-MAGNET code type</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType></xs:element><xs:element name="TypeAttribPrompt" minOccurs="0"><xs:annotation><xs:documentation>The type of property prompt (can be start, end or each node)</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="start"/><xs:enumeration value="each_node"/><xs:enumeration value="end"/></xs:restriction></xs:simpleType></xs:element><xs:element name="DTMCodeFlag"><xs:annotation><xs:documentation>The Dtm flag of the Code (can be unused, used, used breakline or used exclusion area)</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:NMTOKEN"><xs:enumeration value="unused"/><xs:enumeration value="used"/><xs:enumeration value="used_breakline"/><xs:enumeration value="used_exclusion_area"/></xs:restriction></xs:simpleType></xs:element><xs:group minOccurs="0" ref="tps:versionable"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType>