element Ballots

element {http://www.govtalk.gov.uk/temp/voting}Ballots

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.govtalk.gov.uk/temp/voting
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.govtalk.gov.uk/temp/voting


Source

<xsd:element name="Ballots">
    <
xsd:complexType>
        <
xsd:complexContent>
            <
xsd:extension base="DocumentElementStructure">
                <
xsd:sequence>
                    <
xsd:element name="Voter" type="VoterIdentificationStructure" minOccurs="0"/>
                    <
xsd:element ref="Seal" minOccurs="0"/>
                    <
xsd:element name="ElectionEvent">
                        <
xsd:complexType>
                            <
xsd:sequence>
                                <
xsd:element ref="ElectionEventName"/>
                                <
xsd:element name="Election" maxOccurs="unbounded">
                                    <
xsd:complexType>
                                        <
xsd:sequence>
                                            <
xsd:element ref="ElectionName"/>
                                            <
xsd:element name="Contest">
                                                <
xsd:complexType>
                                                    <
xsd:sequence>
                                                        <
xsd:element ref="ContestName"/>
                                                        <
xsd:element name="RegionL1"
                                                            
type="RegionStructure" minOccurs="0"/>
                                                        <
xsd:element name="RegionL2"
                                                            
type="RegionStructure" minOccurs="0"/>
                                                        <
xsd:element name="RegionL3"
                                                            
type="RegionStructure" minOccurs="0"/>
                                                        <
xsd:element name="VotingInformation"
                                                            
type="MessagesStructure" minOccurs="0"/>
                                                        <
xsd:element name="Rotation" type="YesNoType"
                                                            
minOccurs="0"/>
                                                        <
xsd:element name="Method" minOccurs="0">
                                                            <
xsd:annotation>
                                                                <
xsd:documentation>Charbel will provide a candidate list of types of vote</xsd:documentation>
                                                            </
xsd:annotation>
                                                            <
xsd:simpleType>
                                                                <
xsd:restriction base="xsd:string">
                                                                    <
xsd:enumeration value="simple"/>
                                                                    <
xsd:enumeration
                                                                        
value="proportional"/>
                                                                    <
xsd:enumeration
                                                                        
value="single transferable"/>
                                                                </
xsd:restriction>
                                                            </
xsd:simpleType>
                                                        </
xsd:element>
                                                        <
xsd:element name="MaxVotes"
                                                            
type="xsd:positiveInteger" default="1"
                                                            
minOccurs="0"/>
                                                        <
xsd:element name="MinVotes"
                                                            
type="xsd:nonNegativeInteger" default="0"
                                                            
minOccurs="0"/>
                                                        <
xsd:element name="Selection">
                                                            <
xsd:complexType>
                                                                <
xsd:sequence>
                                                                    <
xsd:element name="Option"
                                                                        
maxOccurs="unbounded">
                                                                        <
xsd:complexType>
                                                                            <
xsd:sequence>
                                                                                <
xsd:element
                                                                                    
ref="OptionName"
                                                                                    
minOccurs="0"/>
                                                                                <
xsd:element
                                                                                    
name="Value"
                                                                                    
type="xsd:positiveInteger"
                                                                                    
minOccurs="0"/>
                                                                                <
xsd:element
                                                                                    
ref="VToken"
                                                                                    
minOccurs="0"/>
                                                                            </
xsd:sequence>
                                                                            <
xsd:attribute name="ID"
                                                                                
type="xsd:string"
                                                                                
use="optional"/>
                                                                        </
xsd:complexType>
                                                                    </
xsd:element>
                                                                </
xsd:sequence>
                                                                <
xsd:attribute name="Contested"
                                                                    
type="YesNoType" use="optional"/>
                                                            </
xsd:complexType>
                                                        </
xsd:element>
                                                        <
xsd:element ref="Seal" minOccurs="0"/>
                                                    </
xsd:sequence>
                                                </
xsd:complexType>
                                            </
xsd:element>
                                        </
xsd:sequence>
                                    </
xsd:complexType>
                                </
xsd:element>
                            </
xsd:sequence>
                        </
xsd:complexType>
                    </
xsd:element>
                    <
xsd:element name="AuditInformation" minOccurs="0">
                        <
xsd:annotation>
                            <
xsd:documentation>Content to be decided</xsd:documentation>
                        </
xsd:annotation>
                    </
xsd:element>
                </
xsd:sequence>
            </
xsd:extension>
        </
xsd:complexContent>
    </
xsd:complexType>
</
xsd:element>


element Ballots


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.