Definition Type: ComplexType
Name: CastVoteStructure
Namespace: urn:oasis:names:tc:evs:schema:eml
Containing Schema: 440-460-include-v5-0.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into ReportingUnitIdentifier in schema emlcore-v5-0_xsd Drilldown into BallotIdentifier in schema emlcore-v5-0_xsd Drilldown into Election in schema 440-460-include-v5-0_xsd Drilldown into EventIdentifier in schema emlcore-v5-0_xsd Drilldown into VTokenQualified in schema emlcore-v5-0_xsd Drilldown into VToken in schema emlcore-v5-0_xsd Drilldown into Category in schema 440-460-include-v5-0_xsd Drilldown into Spoilt in schema 440-460-include-v5-0_xsdXSD Diagram of CastVoteStructure in schema 440-460-include-v5-0_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<xs:complexType name="CastVoteStructure">
    <xs:sequence>
        <xs:choice minOccurs="0">
            <xs:element ref="VToken" />
            <xs:element ref="VTokenQualified" />
        </xs:choice>
        <xs:element ref="EventIdentifier" />
        <xs:element name="Election" maxOccurs="unbounded">
            <xs:complexType>
                <xs:sequence>
                    <xs:element ref="ElectionIdentifier" />
                    <xs:element name="Contest">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element ref="ContestIdentifier" />
                                <xs:element name="Selection" maxOccurs="unbounded">
                                    <xs:complexType>
                                        <xs:choice minOccurs="0">
                                            <xs:sequence>
                                                <xs:element name="CandidateIdentifier" type="CandidateIdentifierStructure" />
                                                <xs:element ref="AffiliationIdentifier" minOccurs="0" />
                                            </xs:sequence>
                                            <xs:sequence>
                                                <xs:element ref="AffiliationIdentifier" />
                                                <xs:element name="Candidate" minOccurs="0" maxOccurs="unbounded">
                                                    <xs:complexType>
                                                        <xs:sequence>
                                                            <xs:element name="CandidateIdentifier" type="CandidateIdentifierStructure" />
                                                        </xs:sequence>
                                                        <xs:attribute name="Value" type="VotingValueType" use="optional" />
                                                    </xs:complexType>
                                                </xs:element>
                                            </xs:sequence>
                                            <xs:element name="PersonalIdentifier" type="xs:token" />
                                            <xs:element name="WriteinCandidateName" type="xs:token" />
                                            <xs:element ref="ReferendumOptionIdentifier" />
                                        </xs:choice>
                                        <xs:attribute name="Value" type="VotingValueType" use="optional" />
                                        <xs:attribute name="ShortCode" type="ShortCodeType" use="optional" />
                                    </xs:complexType>
                                </xs:element>
                                <xs:element ref="Seal" minOccurs="0" />
                            </xs:sequence>
                            <xs:attribute name="Spoilt" type="xs:token" use="optional" />
                            <xs:attribute name="Category" type="xs:token" use="optional" />
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
        <xs:element ref="BallotIdentifier" minOccurs="0" />
        <xs:element ref="ReportingUnitIdentifier" minOccurs="0" maxOccurs="unbounded" />
        <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="Spoilt" type="xs:token" use="optional" />
    <xs:attribute name="Category" type="xs:token" use="optional" />
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
VToken nsA:VToken (1) (1)
VTokenQualified nsA:VTokenQualified (1) (1)
EventIdentifier nsA:EventIdentifier (1) (1)
Election nsA:Election (1) unbounded
BallotIdentifier nsA:BallotIdentifier 0 (1)
ReportingUnitIdentifier nsA:ReportingUnitIdentifier 0 unbounded
<xs:any> Allowed namespace: '##other' 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Spoilt nsA:Spoilt Optional
Category nsA:Category Optional
Collapse Derivation Tree:
Collapse References:
nsA:CastVote, nsA:CastVote, nsA:CastVote
Collapse Comments:
blog comments powered by Disqus