Definition Type: ComplexType
Name: BallotStructure
Namespace: urn:oasis:names:tc:evs:schema:eml
Containing Schema: 340-410-430-include-v5-0.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into Voter in schema 340-410-430-include-v5-0_xsd Drilldown into BallotIdentifierRange in schema emlcore-v5-0_xsd Drilldown into BallotIdentifier in schema emlcore-v5-0_xsd Drilldown into Election in schema 340-410-430-include-v5-0_xsd Drilldown into BallotIdentifier in schema emlcore-v5-0_xsd Drilldown into ReportingUnitIdentifier in schema emlcore-v5-0_xsdXSD Diagram of BallotStructure in schema 340-410-430-include-v5-0_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<xs:complexType name="BallotStructure">
    <xs:sequence>
        <xs:element ref="ReportingUnitIdentifier" minOccurs="0" maxOccurs="unbounded" />
        <xs:choice>
            <xs:element ref="BallotIdentifier" />
            <xs:sequence>
                <xs:element name="Election" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element ref="ElectionIdentifier" />
                            <xs:element name="Description" type="MessagesStructure" minOccurs="0" />
                            <xs:element name="Contest" minOccurs="1" maxOccurs="unbounded">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element ref="ContestIdentifier" />
                                        <xs:element name="ContestScope" type="xs:token" minOccurs="0" />
                                        <xs:element name="ElectionType" type="xs:token" minOccurs="0" />
                                        <xs:element ref="ReportingUnitIdentifier" minOccurs="0" maxOccurs="unbounded" />
                                        <xs:element name="Qualified" minOccurs="0">
                                            <xs:complexType>
                                                <xs:simpleContent>
                                                    <xs:extension base="YesNoType">
                                                        <xs:attribute name="Reason" type="xs:token" use="required" />
                                                    </xs:extension>
                                                </xs:simpleContent>
                                            </xs:complexType>
                                        </xs:element>
                                        <xs:element name="HowToVote" type="MessagesStructure" minOccurs="0" />
                                        <xs:element name="Rotation" type="YesNoType" minOccurs="0" />
                                        <xs:element name="RotationMethod" type="xs:token" minOccurs="0" />
                                        <xs:element ref="VotingMethod" minOccurs="0" />
                                        <xs:element name="ChoiceType" type="xs:token" minOccurs="0" />
                                        <xs:element ref="MaxVotes" minOccurs="0" />
                                        <xs:element ref="MinVotes" minOccurs="0" />
                                        <xs:element name="MaxWriteIn" type="xs:nonNegativeInteger" minOccurs="0" />
                                        <xs:element name="Blocked" minOccurs="0">
                                            <xs:complexType>
                                                <xs:simpleContent>
                                                    <xs:extension base="YesNoType">
                                                        <xs:attribute name="Reason" type="xs:token" use="optional" />
                                                        <xs:attribute name="Channel" type="VotingChannelType" use="optional" />
                                                    </xs:extension>
                                                </xs:simpleContent>
                                            </xs:complexType>
                                        </xs:element>
                                        <xs:element ref="BallotChoices" />
                                        <xs:element name="Messages" type="MessagesStructure" minOccurs="0" maxOccurs="unbounded" />
                                        <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
                                    </xs:sequence>
                                    <xs:attribute name="DisplayOrder" type="xs:positiveInteger" use="optional" />
                                    <xs:attribute name="Completed" type="YesNoType" use="optional" />
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="Messages" type="MessagesStructure" minOccurs="0" maxOccurs="unbounded" />
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <xs:choice minOccurs="0">
                    <xs:element ref="BallotIdentifier" />
                    <xs:element ref="BallotIdentifierRange" />
                </xs:choice>
                <xs:element name="Voter" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:choice>
                            <xs:sequence>
                                <xs:element name="VoterIdentification" type="VoterIdentificationStructure">
                                    <xs:annotation>
                                        <xs:documentation>Restriction is to prohibit electoral address information, VToken and VTokenQualified</xs:documentation>
                                    </xs:annotation>
                                </xs:element>
                                <xs:element name="Contact" type="ContactDetailsStructure" minOccurs="0" />
                            </xs:sequence>
                            <xs:element name="Contact" type="ContactDetailsStructure" />
                            <xs:element name="Proxy" type="ProxyStructure" minOccurs="0" />
                        </xs:choice>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:choice>
        <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
ReportingUnitIdentifier nsA:ReportingUnitIdentifier 0 unbounded
BallotIdentifier nsA:BallotIdentifier (1) (1)
Election nsA:Election (1) unbounded
BallotIdentifier nsA:BallotIdentifier (1) (1)
BallotIdentifierRange nsA:BallotIdentifierRange (1) (1)
Voter nsA:Voter 0 unbounded
<xs:any> Allowed namespace: '##other' 0 unbounded
Collapse Derivation Tree:
Collapse References:
nsA:Ballot
Collapse Comments:
blog comments powered by Disqus