Preference XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace None
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema>
...
</xsd:schema>
top

Global Declarations

Element: array

Name array
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<array
key="xsd:string [1]">
Start Sequence [0..*]
<value> ... </value> [1..*]
End Sequence
</array>
Schema Component Representation
<xsd:element name="array">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="value" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: label

Name label
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<label
localizationKey="xsd:string [0..1]"
key="xsd:string [0..1]">
Start Sequence [0..*]
<resource> ... </resource> [1]
End Sequence
</label>
Schema Component Representation
<xsd:element name="label">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="resource"/>
</xsd:sequence>
<xsd:attribute name="localizationKey" type="xsd:string"/>
<xsd:attribute name="key" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
top

Element: labelArray

Name labelArray
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<labelArray
key="xsd:string [1]">
Start Sequence [0..*]
<label> ... </label> [1..*]
End Sequence
</labelArray>
Schema Component Representation
<xsd:element name="labelArray">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="label" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: list

Name list
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<list
key="xsd:string [1]">
Start Sequence [0..*]
<object> ... </object> [1]
End Sequence
</list>
Schema Component Representation
<xsd:element name="list">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="object"/>
</xsd:sequence>
<xsd:attribute name="key" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: object

Name object
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<object
version="xsd:string [0..1]"
key="xsd:string [1]">
Start Sequence [0..*]
Start Choice [1]
<object> ... </object> [1]
<list> ... </list> [1]
<setting> ... </setting> [1]
<array> ... </array> [1]
<label> ... </label> [1]
<labelArray> ... </labelArray> [1]
End Choice
End Sequence
</object>
Schema Component Representation
<xsd:element name="object">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:choice>
<xsd:element ref="object"/>
<xsd:element ref="list"/>
<xsd:element ref="setting"/>
<xsd:element ref="array"/>
<xsd:element ref="label"/>
<xsd:element ref="labelArray"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:string"/>
<xsd:attribute name="key" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: resource

Name resource
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<resource
locale="xsd:string [0..1]">
xsd:string
</resource>
Schema Component Representation
<xsd:element name="resource">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="locale" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
top

Element: setting

Name setting
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<setting
key="xsd:string [1]"
localizationKey="xsd:string [0..1]">
xsd:string
</setting>
Schema Component Representation
<xsd:element name="setting">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="key" type="xsd:string" use="required"/>
<xsd:attribute name="localizationKey" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
top

Element: value

Name value
Type xsd:string
Nillable no
Abstract no
XML Instance Representation
<value> xsd:string </value>
Schema Component Representation
<xsd:element name="value" type="xsd:string"/>
top