Home
AEC Media Feed User Guide - Australian Electoral Commission
Contents
1. 7 1 4 Schema The message is based on the XML schema aec mediafeed results v2 0 xsd Date Printed 28 08 2007 36 Version 2 0 1 9 2007 AEC Media Feed User Guide MediaFeedStructure extensio attributes 7 1 4 1 VotesStructure Complex Type EventResultsStructure E attributes Updated Indicate informat rr he granularity of misation of Senate J Generated by XmISpy www altova com Any element that represents votes in the following diagrams uses the following complex type Date Printed 28 08 2007 37 Version 2 0 1 9 2007 AEC Media Feed User Guide Date P VotesStructure E Simple type to represents a set of results as votes percentage and swing Group of elements used to represent votes The number of votes Breakdown of the votes by vote type E attributes Historic H The number of votes recorded for this type of result at the last election Not included in lightweight feeds ege e ry The number of votes expressed as a percentage of the total number of votes Not included in lightweight The swing in the number of votes when compared to last election Not included in lightweight feeds MatchedHistoric j The number of historic votes recorded for this type of result at the
2. attributes 1 0 BallotPaper EH Candidate S a eml Electionidentifier D H BaliotPapers BH Election EH e EH eml Contestidentifier D Contests EH DI Contest EN EH 1 0 attributes attributes BallotPaper EH couma E Group D SS Lap Reorecents chen on the UngroupedCanaidate E Senate Ballot Paper SS 1 0 attributes emt Electionidentifier D BallotPaper S 1 0 re Election Bia ees Sa CH Betor BHO een q 1 0 attributes emtProposal EI S Generated by XmISpy www altova com 6 7 2 Example XML An example of a partial Ballot Paper message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt MediaFeed Id 38c50174 58f 5 417d 9882 218fb38fdb8b Created 2007 08 28T09 16 17 xmins http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml1 xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlins ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov au xml schema mediafeed Schema AEC aec mediafeed b
3. lt ProductsIndustry gt Light manufacturing commercial and service industries lt ProductsIndustry gt lt Location gt Banks covers an area of approximately 55 sq km bordered by the Georges River in the west and south the Illawarra railway line and King Georges Road in the east and Milperra and Canterbury Roads in the north The main suburbs include East Hills Lugarno Narwee Padstow Padstow Heights Panania Peakhurst Peakhurst Heights Picnic Point Revesby Heights Riverwood and portions of Bankstown Beverly Hills Milperra Mortdale Oatley Penshurst Punchbowl Revesby and Roselands lt Location gt lt Demographic gt InnerMetropolitan lt Demographic gt lt Area gt 55 lt Area gt lt PollingPlaces gt lt PollingPla 2 lt ey YSicalLocation Id 33758 gt lt eml Address AddressDetailsKey Beverly Hill guth Banks gt lt xal PostalServiceElements Type GDA94 gt lt xal AddressLatitude gt lt xal AddressLongitude gt lt xal PostalServiceElements gt d 28 08 2007 Version 2 0 1 9 2007 AEC Media Feed User Guide lt xal AddressLines gt lt xal AddressLine lt xal AddressLine lt xal AddressLine lt xal AddressLine lt xal AddressLine lt xal AddressLines gt lt eml Address gt lt eml PhysicalLocation gt Type Premises gt Beverly Hills Public School lt xal AddressLine gt Type AddressLinel gt Cnr King Georges amp amp Stoney Creek Rds lt xal AddressLin
4. EI attributes ction Night Post Election or Final Results Indicates if the message contains candidate names candidate affiliations polling ntest names otes wo lations and anylsis information Indicates the granularity of information supplied in the message 1 e Information and results are ormation to For example the night be used to nation in the event of the media feed 1 being offline by the tus attribute of the diaFeed element being offline or customisation of the media feed Generated by XmiSpy lt Cycle Created 2006 11 20T10 50 4 lt Results Updated 2004 12 10T15 3 Granularity Standard gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventIdentifier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt 46 Phase FinalResults Verbosit Date Printed 28 08 2007 65 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 10 When are Matched Historic votes available Matched historic votes represent the sum of historic ordinary votes for those polling places that returned at this election Matched historic votes are used to project swings early on election nig
5. EI attributes The attributes of a candidate to indicate if they are independent or non affiliated EI orp IndependentAttributes Indicates that the candidate is an Independent IF the attribute is not supplied it indicates that the candidate is not independent Not included in lightweight Feeds NoAffiliation j Indicates that the candidate does not hawe a party affiliation IF the attribute is not supplied it indicates that the candidate is affliated with a party Not included in lightweight Feeds attributes eml Affiliationidentifier A 4 BallotPosition j Inidcates the candidates position on the ballot paper El attributes Historic Indicates if the candidate was elected at the last election Not included in lightweight Feeds Indicates that the candidate has been elected Indicates the order in which the candidate was elected Only displayed when the value of elected is True Indicates that this candidate is the incumbent candidate For this contest Not included in lightweight Feeds Group of elements used to represent votes Ss E C RegisteredName 4 VotesByType E eml Candidateldentifier EL 7 CandidateName KnownAs Breakdown of the votes by vote type Generated by XmISpy www altova com Date Printed 28 08 2007 44 Version 2 0 1 9 2007 AEC Media Feed User Guide 7 1 4 4 Re
6. PollingPlacesExpected 47 gt 9 6 What are the main differences between the light and verbose messages 9 6 1 Candidates elements Candidate name and Party details are not included in the Light message Date Printed 28 08 2007 61 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 6 1 1 Verbose lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt eml CandidateName gt ELLERMAN Sue lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 37 ShortCode GRN gt lt eml RegisteredName gt The Greens lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected Historic false gt false lt Elected gt lt Incumbent Notional false gt false lt Incumbent gt lt Votes Historic 0 Percentage 10 17 Swing 3 92 MatchedHistoric 6268 gt 10243 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 0 Percentage 9 82 Swing 3 66 gt 7687 lt Votes gt lt Votes Type Absent Historic 0 Percentage 16 24 Swing 5 21 gt 336 lt Votes gt lt Votes Type Provisional Historic 0 Percentage 13 99 Swing 8 1 gt 141 lt Votes gt lt Votes Type PrePoll Historic 0 Percentage 10 88 Swing 4 78 gt 1713 lt Votes gt lt Votes Type Postal Historic 0 Percentage 10 19 Swing 5 3 gt 366 lt Votes gt lt VotesByType gt lt Candidate gt 9 6 1 2 Light lt Candidate gt lt eml CandidateIdentifi
7. The AEC used the tool XMLSpy http www altova com to develop the schemas for the media feed messages Because of its complex nature the AEC recommends the use of an XML software engineering tool when investigating the XML schema 5 4 2 Reading schema diagrams in this document The schema diagrams in this document were created using XMLSpy The following is a guide to their interpretation The prefix xs denotes the XML schema namespace http www w3 org 2001 XMLSchema Date Printed 28 08 2007 15 Version 2 0 1 9 2007 AEC Media Feed User Guide The diagram below represents a simple XML schema WEE EEN been restriction is to forbid its occurrence Bstructure A data type in blue shows a derivation in this case a restriction Indicates that this is a choice Indicates one to many occurrences Indicates zero to three occurrences type Bstructure Indicates that this is a sequence indicates that this is an alt ucture Shows the data type Dotted box around element indicates that element is optional The yellow box represents the content model of the complex data type in this case Bstructure xs NMTOKEN The data type is in blue so this is a derivation The derivation is to allow only the values yes or no venerarea win Am pn Schema Editor GZ EECH e The root element of an instance described by this schema is the element A e
8. This message is used to communicate the result of an election using the EML standard This message indicates which candidates have been elected and which referendum options have been passed 7 3 2 Message Schema The message is based on the XML schema in the file 520 result v4 0 xsd Date Printed 28 08 2007 50 Version 2 0 1 9 2007 AEC Media Feed User Guide Electionidentifier en BB ES type ElectionidentitierStructure a Contestidentifier type ContestidentifierStructure aAffiliationidentifier Candidateldentifier H e CandidateldentifierStructure liationidentifier Affiliationidentifier Structure e AffiliationidentitierStructure ReferendumOptionidentifier a t ReferendumOptionidentifierStruc EE 1 0 7 3 3 Example XML F Elected pe YesNoType Ranking xs positivelnteger Elected o YesNoType type EE no yes A portion of the EML Results message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt EMIL xmlns urn oasis names tc evs schema eml xmins xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns xs http www w3 org xs schemaLocation urn oasis names tc evs schema eml SchemaVersion 4 Id dfd48 xmins ts ur 2001 XML
9. 00pm election night Before this time all TCP results are restricted IF the attribute is not supplied it indicates that results are not restricted Indicates that the incorrect candidates have been selected for the two candidate preferred count In this case no TCP results are available IF the attribute is not supplied it indicates that results are not mawerick The Two Candidate Preferred results is only included when both the Maverick attribute is False and the Restricted attribute is false Please note CandidateName KnownAs and AffiliationIdentifier are not included in lightweight feeds eml Candidateldentifier DI emtAffiliationidentifier D BallotPosition VotesGroup E LE Votes D Generated by XmISpy www altova com Date Printed 28 08 2007 41 Version 2 0 1 9 2007 AEC Media Feed User Guide 7 1 4 3 Senate Element The results for the senate election at the contest level Analysis of the results including regiona aggreations Not included in lightweight feeds Generated by XmlSpy EI attributes The date and time that results for this conte last updated IF the attribute is not supplied no results have been retumed eml Contestidentifier Element that represents an Australian state Not included in lightweight Feeds The total number ors enrolled to vote This walue is the enrolment at the close of rolls pl
10. Cable 2 9 0 9 14 8 6 1 2 1 768k DSL 3 9 1 1 19 8 8 1 2 8 512k DSL 5 8 1 7 29 7 12 2 4 2 384k DSL TETA 2 3 39 6 16 3 5 6 256k DSL 11 6 3 4 59 4 24 4 8 4 Date Printed 28 08 2007 6 Version 2 0 1 9 2007 AEC Media Feed 128k ISDN 23 1 6 9 118 8 48 8 16 9 64k ISDN 46 3 13 8 237 5 97 5 33 8 56k Modem 52 9 15 7 271 4 111 4 38 6 33 6k Modem 89 7 26 7 460 6 189 1 65 5 28 8k Modem 105 7 31 4 542 9 222 9 77 1 Please Note The download times above are estimates only 3 6 Recommended Feed Usage User Guide Although the AEC is publishing numerous feeds with different granularity and verbosity generally you will only need to use one or two types of feeds To determine the type of feed you require consider the following points 3 6 1 Feed Granularity Are you interested in election results at the polling place level for House of Representatives Yes Use a detailed granularity feed No Use a standard granularity feed Please Note If you are interested in results to the Division level but require the return status of individual polling places use the Detailed Light Progress feed 3 6 2 Feed Verbosity How are you going to process the election results I will parse the XML message load my own database and use predictive techniques calculations and aggregations other than those used by the AEC Use a combination of a Preload and a Light feed for
11. ELLERMAN Sue lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 37 ShortCode GRN gt lt eml RegisteredName gt The Greens lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected Historic false gt false lt Elected gt lt Incumbent Notional false gt false lt Incumbent gt lt Votes Historic 0 Percentage 10 17 Swing 3 92 MatchedHistoric 6268 gt 10243 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 0 Percentage 9 82 Swing 3 66 gt 7687 lt Votes gt lt Votes Type Absent Historic 0 Percentage 16 24 Swing 5 21 gt 336 lt Votes gt lt Votes Type Provisional Historic 0 Percentage 13 99 Swing 8 1 gt 141 lt Votes gt lt Votes Type PrePoll Historic 0 Percentage 10 88 Swing 4 78 gt 1713 lt Votes gt lt Votes Type Postal Historic 0 Percentage 10 19 Swing 5 3 gt 366 lt Votes gt lt VotesByType gt lt Candidate gt 7 1 5 2 Light lt xml version 1 0 encoding utf 8 gt lt MediaFeed Id c8c7e5cb fdc3 4e6b a8f5 0e7b50878b9f Created 2006 12 20T17 05 48 xmlns http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs htt
12. Selection gt lt CandidateIdentifier Id 14298 gt lt CandidateName gt ARNOLD Jim lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 1081 ShortCode CEC gt lt RegisteredName gt Citizens Electoral Council lt RegisteredName gt lt AffiliationIdentifier gt lt ValidVotes gt 765 lt ValidVotes gt lt Selection gt lt Selection gt lt CandidateIdentifier Id 15360 gt lt CandidateName gt ELLIS Annette lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 200 ShortCode ALP gt lt RegisteredName gt Australian Labor Party ACT Branch lt RegisteredName gt lt AffiliationIdentifier gt lt ValidVotes gt 50214 lt ValidVotes gt lt Selection gt lt Selection gt lt CandidateIdentifier Id 15158 gt lt CandidateName gt MATTHEWS Aaron lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 3 ShortCode DEM gt lt RegisteredName gt Australian Democrats lt RegisteredName gt lt AffiliationIdentifier gt lt ValidVotes gt 2218 lt ValidVotes gt lt Selection gt lt RejectedVotes ReasonCode Informal gt 3544 lt RejectedVotes gt lt TotalVotes gt lt Contest gt 7 2 4 Estimated Message Size Electoral Event XML File Size General Election 370 KB General Election including Referendum 400 KB House of Representatives By election 7 KB Referendum 3 KB 7 3 EML Result Message EML 520 7 3 1 Overview
13. aec gov au Please Note This URL is available only during an election period 3 3 2 Test Environment Comprehensive test files for a number of elections are available at the media feed test environment To access the test environment for the media feed system use the following URL ftp mediafeedtest aec gov au 3 3 3 Folder Structure The folder structure of the media feed FTP site is shown below SJ fip mediafeed aec gov au a 12246 1 Detailed C Light C LightProgress C Preload C Verbose Standard O Em O Light 20 Preload C Verbose e All feeds for a particular electoral event will be placed in a single directory The directory will be identified using the unique ID of the electoral event For example the directory name for the 2004 Federal Election is 12246 Date Printed 28 08 2007 5 Version 2 0 1 9 2007 AEC Media Feed User Guide e The FTP site may contain multiple directories to support concurrently running electoral events For example two by elections running on the same weekend e The AEC publishes feeds with either standard or detailed granularity Standard granularity files contain information and results to Federal Division level where applicable Detailed granularity files contain information to the polling place level where applicable e All feeds generated with standard granularity are stored under the Standard directory e All feeds generated with detailed granularity are stored u
14. gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt lt Enrolment gt 109476 lt Enrolment gt lt FirstPreferences Updated 2004 10 26T11 25 05 PollingPlacesReturned 39 PollingPlacesExpected 39 gt lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected gt false lt Elected gt lt Votes MatchedHistoric 6268 gt 10243 lt Votes gt lt VotesByType gt lt Votes Type Ordinary gt 7687 lt Votes gt lt Votes Type Absent gt 336 lt Votes gt lt Votes Type Provisional gt 141 lt Votes gt lt Votes Type PrePol1 gt 1713 lt Votes gt lt Votes Type Postal gt 366 lt Votes gt lt VotesByType gt lt Candidate gt 7 1 5 3 LightProgress lt PollingPlaces gt lt PollingPlace Updated 2004 10 25T13 38 24 gt lt PollingPlaceIdentifier Id 11877 gt lt FirstPreferences Updated 2004 10 25T13 38 24 gt lt TwoCandidatePreferred Updated 2004 10 25T13 38 24 Restricted true gt lt PollingPlace gt lt PollingPlace Updated 2004 10 18T19 17 45 gt lt PollingPlaceIdentifier Id 11452 gt lt FirstPreferences Updated 2004 10 18T19 17 45 gt lt TwoCandidatePreferred Updated 2004 10 18T19 17 45 Restricted true gt lt PollingPlace gt lt PollingPlace Updated 2004 10 18T19 18 42 gt lt PollingPlaceIdentifier Id 8794 gt lt FirstPreferences Updated 2004 10 18T19 18 42 gt lt TwoCandidatePrefe
15. lt eml RegisteredName gt Australian Progressive Alliance lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt Preference gt 2 lt Preference gt lt Candidate gt lt Candidate gt lt eml CandidateIdentifier Id 15626 gt lt eml CandidateName gt HUMPHRIES Gary lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 177 ShortCode LP gt lt eml RegisteredName gt Liberal Party of Australia ACT Division lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt Preference gt 10 lt Preference gt lt Candidate gt lt Candidate gt 6 6 3 Estimated Message Size Electoral Event XML File Size General Election 3 5 MB General Election including Referendum 3 5 MB House of Representatives By election N A Referendum N A Date Printed 28 08 2007 32 Version 2 0 1 9 2007 AEC Media Feed User Guide 6 7 Ballot Paper Message This message contains an electronic definition of the Ballot Papers used during the election It is primarily used to support electronic voting systems 6 7 1 Message Schema The message is based on the XML schema aec mediafeed ballotpapers v2 0 xsd MediaFeedStructure extension E attributes MediaFeed T was generated embEventidentifier D eml Electionidentifier E ie Se BE eml Contestidentifier H Contests EHEH Content BH
16. lt verbosity gt is eml light lightprogress preload or verbose lt transaction id gt is a unique number identifying an election lt generation timestamp gt is in the form YY YYMMDDHHMMSS An example for the 2004 election might be aec mediafeed detailed light 12246 20041012202444 zip 4 3 Feed Granularity Following consultation two distinct groups of users have emerged e Users that are interested in election results and or count progress at a polling district Division level This group for performance reasons does not wish for the inclusion of polling place count progress and or results in the feed e Users who are interested in election results and or count progress at the polling place level This group has a requirement for the inclusion of polling place count progress and or results in the feed to assist their analytical and predictive systems To service the needs of these two user groups the AEC publishes the media feed with two distinct levels of granularity standard and detailed 4 4 Standard Granularity Feeds Because standard granularity feeds contain significantly less information they are much smaller in size than detailed granularity feeds The standard granularity feeds service the needs of most users 4 4 1 Preload Feed Users with their own election results IT system may use the Preload feed The Preload feed will allow this type of user to pre load static election information like candidates names before the el
17. optimum parsing performance I will parse the XML message and load my own database however I want to use AEC calculations and aggregations Use a verbose feed that contain aggregations and calculations I want to simply transform the XML message into another format for publishing Use a verbose feed that contain aggregations and calculations 3 6 3 Examples Below are examples of how different users may use the different types of feeds Date Printed 28 08 2007 7 Version 2 0 1 9 2007 AEC Media Feed User Guide 3 6 3 1 Television Network with full election coverage Type Television Network with full election coverage Description This type of user will televise the election in its entirety The user will almost certainly have a sophisticated election IT system which may use predictive techniques and aggregations other than those used by the AEC It is likely that this type of user will parse the data in the feed and load it into their custom application Requirements Election results to polling place level Count progress to polling place level Preload Detailed Preload Feed Detailed Light Requirements Election results to division level Count progress to polling place level Preload Standard Preload Feed Detailed Lightprogress Requirements Election results to division level Count progress to division level Preload Standard P
18. 0 42 gt e28bc89e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt lt PollingDistrictList gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt PollingDistrict gt lt PollingDistrictIdentifier Id 179 ShortCode ADEL gt lt Name gt Adelaide lt Name gt lt StateIdentifier Id SA gt lt PollingDistrictIdentifier gt lt NameDerivation gt Named after the city of Adelaide which in turn was named after Queen Adelaide wife of William IV lt NameDerivation gt lt ProductsIndustry gt Markets newspapers military barracks universities brewery Coca Cola bottlers rail bus terminals and Adelaide central business district lt ProductsIndustry gt lt Location gt The division of Adelaide covers an area of approximately 75 sq km from Grand Junction Road in the north to Cross Road in the south Suburbs include Ashford Clarence Park Enfield Goodwood Kent Town Keswick Kilburn Maylands North Adelaide Northgate Norwood Parkside Prospect Rose Park St Peters Toorak Gardens Unley Walkerville and the City of Adelaide lt Location gt lt Demographic gt InnerMet ropolitan lt Demographic gt lt Area gt 75 lt Area gt lt PollingPlaces gt lt PollingPlace Channel polling gt lt eml PhysicalLocation Id 6648 gt lt eml Address AddressDetailsKey Adelaide Adelaide gt lt xal PostalServiceElements Type GDA94 gt lt xal AddressLatitude gt 1 08
19. 03 Swing 59 03 gt 0 lt Votes gt lt Votes Type Postal Historic 0 Percentage 54 86 Swing 54 86 gt 0 lt Votes gt lt VotesByType gt lt Candidate gt lt TwoCandidatePreferred gt 8 3 Candidate and Ghost Ballot Position in Lightweight results messages Ballot position will be included for all candidates and ghosts in all lightweight results messages for First Preferences and TCP results at the Division level Ballot position will not be provided for results at the polling place level to optimise message size lt Contests gt lt Contest Updated 2004 10 26T11 01 59 Declared 2004 10 28T00 00 00 gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt lt Enrolment gt 109476 lt Enrolment gt lt FirstPreferences Updated 2004 10 26T11 25 05 PollingPlacesReturned 39 Se CandidateIdentifier Id 15421 lt BallotPosition gt 1 lt BallotPosition gt 43 lt Votes gt MokesByT ype lt Votes Type Ordinary gt 7687 lt Votes gt lt Votes Type Absent gt 336 lt Votes gt lt Votes Type Provisional gt 141 lt Votes gt lt Votes Type PrePol1 gt 1713 lt Votes gt lt Votes Type Postal gt 366 lt Votes gt lt VotesByType gt lt Candidate gt Date Printed 28 08 2007 54 Version 2 0 1 9 2007 AEC Media Feed User Guide 8 4 Ballot Papers Preload Message A new message has been added to the Preload fee
20. 10 electionevent v4 0 xsd 4 Td 08a252c6 leb3 4733 ac2a 7f 430aeb6067 gt lt TransactionId gt e28bc89e 180d 4520 9fcb 8c728d3d0864 lt TransactionId gt lt ElectionEvent gt SchemaVersion lt EventIdentifier Id 12246 gt lt EventName gt 2004 Federal Election lt EventName gt lt EventIdentifier gt lt ManagingAuthority gt lt AuthorityIdentifier Id AEC gt Australian Electoral Commission lt AuthorityIdentifier gt lt AuthorityAddress AddressType 0ffice gt lt xal AddressLines gt lt xal lt xal AddressLine AddressLine Type AddressLinel gt West Block Offices lt xal AddressLine gt Type AddressLine2 gt Queen Victoria Terrace lt xal AddressLine gt lt xal AddressLine Type Suburb gt Parkes lt xal AddressLine gt lt xal AddressLine Type State gt ACT lt xal AddressLine gt lt xal AddressLine Type Postcode gt 2600 lt xal AddressLine gt lt xal AddressLines gt lt AuthorityAddress gt lt ManagingAuthority gt lt Election gt lt ElectionIdentifier Id H gt lt ElectionName gt House of Representatives Election lt ElectionName gt lt ElectionCategory gt House lt ElectionCategory gt lt ElectionIdentifier gt lt Date Type PollingDay gt lt SingleDate gt 2004 10 09T00 00 00 lt SingleDate gt lt Date gt lt Contest gt lt ContestIdentifier Id 179 ShortCode ADEL gt lt ContestName gt Adelaide lt ContestName gt lt ContestIdentifier gt lt Area Id 179 Type d
21. 2 Message Schema The message is based on the XML schema in the file 510 count v4 0 xsd Date Printed 28 08 2007 48 Version 2 0 1 9 2007 AEC Media Feed User Guide Eventidentifier E Electionidentifier H Contestidenti attributes Election EE a conaiatetentior Selection ER 1 mm EB Contests E H Contest By EH ReferendumOptionidentifier Totalvotes E VoteGroup EH F Validvotes ReportingUnitidentifier Di attributes Candidateldentifier E Reportingunitvotes EHEH Selection Ei Ss nidentifier EP ER 2 E ReferendumOptionidentifier D Validvotes Generated by XmiSpy www altova com 7 2 3 Example XML A portion of the EML Count message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt EML xmlns urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation urn oasis names tc evs schema eml Schema EML 510 count v4 0 xsd SchemaVersion 4 Id b3789e93 dda2
22. 4498 94bd ef9d17 63e64 gt lt TransactionId gt e28bc89e 180d 4520 9fcb 8c728d3d0864 lt TransactionId gt lt Count gt lt EventIdentifier Id 12246 gt lt EventName gt 2004 Federal Election lt EventName gt lt EventIdentifier gt lt Election gt lt ElectionIdentifier Id H gt lt ElectionName gt House of Representatives Election lt ElectionName gt lt ElectionCategory gt House lt ElectionCategory gt lt ElectionIdentifier gt lt Contests gt lt Contest gt lt ContestIdentifier Id 101 ShortCode CANB gt lt ContestName gt Canberra lt ContestName gt lt ContestIdentifier gt lt NumberOfPositions gt 1 lt NumberOfPositions gt lt TotalVotes gt lt Selection gt lt CandidateIdentifier Id 15421 gt lt CandidateName gt ELLERMAN Sue lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 37 ShortCode GRN gt lt RegisteredName gt The Greens lt RegisteredName gt lt AffiliationIdentifier gt lt ValidVotes gt 10243 lt ValidvVotes gt lt Selection gt Date Printed 28 08 2007 49 Version 2 0 1 9 2007 AEC Media Feed User Guide lt Selection gt lt CandidateIdentifier Id 15166 gt lt CandidateName gt BARNIER Belinda lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 177 ShortCode LP gt lt RegisteredName gt Liberal lt RegisteredName gt lt AffiliationIdentifier gt lt ValidVotes gt 37238 lt ValidVotes gt lt Selection gt lt
23. 923 lt xal AddressLatitude gt lt xal AddressLongitude gt 234 098567565 lt xal AddressLongitude gt lt xal PostalServiceElements gt lt xal AddressLines gt lt xal AddressLine Type Premises gt Millers Arcade lt xal AddressLine gt lt xal AddressLine Type AddressLinel gt 28 30 Hindley Street lt xal AddressLine gt lt xal AddressLine Type Suburb gt ADELAIDE lt xal AddressLine gt lt xal AddressLine Type State gt SA lt xal AddressLine gt lt xal AddressLine Type Postcode gt 5000 lt xal AddressLine gt lt xal AddressLines gt lt eml Address gt lt eml PhysicalLocation gt lt PollingPlaceIdentifier Id 6648 Name Adelaide Adelaide gt lt WheelchairAccess gt Full lt WheelchairAccess gt lt PollingPlace gt 6 5 3 Estimated Message Size Electoral Event XML File Size General Election 5 MB General Election including Referendum 5 MB House of Representatives By election 20 KB Referendum 5 MB 6 6 Senate Group Voting Tickets Message This message contains the list of Senate Groups and the Group Voting Ticket s for each Senate Group Date Printed 28 08 2007 29 Version 2 0 1 9 2007 AEC Media Feed User Guide 6 6 1 Message Schema The message is based on the XML schema aec mediafeed groupvotingtickets v2 0 xsd Comment describing your root element Ge eml Eventidentifier H SenateGroupVotingTickets E emb Electionidentifier DI List of Senate groups and t
24. Australian Electoral Commission System AEC Media Feed Document Type User Guide Version 2 0 Released 1 9 2007 AEC_Media_Feed_User_Guide_v2_0 doc AEC Australian Electoral Commission AEC Media Feed User Guide Document Control File Name AEC Media Feed User Guide vi 0 doc Version 2 0 Release 1 9 2007 Date Last Australian Electoral Commission Updated by Acceptance and Release Notice This is a managed document All copies of this document preceding this release are obsolete and shall be destroyed This is the AEC Media Feed User Guide Version 2 0 dated 1 9 2007 Release Status Version Date Number Reason for Release Review No 20 12 2006 Draft for review To O Date Printed 28 08 2007 ii Version 2 0 1 9 2007 AEC Media Feed User Guide Table of Contents DS INTRODUCTION PA cosscesesavssccescedspecteseens cect donceaetsosctuestasoadestessasceseseasess 1 1 1 Elend 1 12 UE 1 1 3 EE Te E 1 2 SYSTEM RAN A e E 2 2 1 System AO Ratt cay sac sick Posen i ye Ile i e E E E a muse uae aE A 3 3 ACCESSING THE MEDIA FEED SYSTEM ccscccssssssscsssssssssssessssesssesssesssosessscssooees 4 3 1 Systemi Eed ee ed ghet 4 3 2 Message KE 4 3 3 Media Feed FEP EE 5 Dat Cyle br 6 3 5 Estimated Download e EE 6 36 Recommended Peed Hagen eene dE iati aa aKARo pi E Y D D DEE E T a E T 10 4 1 CC OMPTESS TONG a2 rid tah Ee e E een 10 4 2 Media feed file naming c
25. B General Election including Referendum 2 7 MB 17 2 MB House of Representatives By election 50 KB 75 KB Referendum 200 KB 200 KB 6 2 Election Event Message EML 110 6 2 1 Overview This message is used for providing information about an election or set of elections The message contains information about the electoral event in this case a Federal Election the elections to be held during the event House of Representatives Senate and maybe a Referendum The message also details the different contests within an election For example a contest could be considered as 5 candidates running for the seat of Fraser in the House of Representative In the AEC Media Feed system this message schema will be used to package the follow information e Name of the electoral event e Event and Election related dates e The list of elections and contests in the electoral event for example House of Representatives Senate and a Referendum Date Printed 28 08 2007 18 Version 2 0 1 9 2007 AEC Media Feed User Guide The media feed system generates a single election event message for every Federal electoral event For example if there are two concurrent by elections being held on the same weekend the media feed system creates an event message for each of the by elections 6 2 2 Message Schema The message is based on the XML schema in the file 110 electionevent v4 0 xsd Hi E AllowedChannels E Eventidenti
26. CT lt PollingDistrictIdentifier gt lt BallotPaper Id 101 gt lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt eml CandidateName gt ELLERMAN lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 37 ShortCode CANB gt Sue lt eml CandidateName gt ShortCode GRN gt lt eml RegisteredName gt The Greens lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 1 lt BallotPosition gt lt Candidate gt 6 7 3 Estimated Message Size Electoral Event XML File Size General Election 750 KB General Election including Referendum 1 MB House of Representatives By election N A Referendum N A Date Printed 28 08 2007 34 Version 2 0 1 9 2007 AEC Media Feed User Guide 7 RESULTS MESSAGES Results messages provide a progressive update of results throughout the election period 7 1 AEC Results Message 7 1 1 Overview EML does not have a specific message schema for reporting progressive results Therefore the AEC uses a custom message for this purpose In the AEC Media Feed System this message is used to package the following information e Progress of the count polling places in votes counted declared etc e House Candidate First Preference Results e House Two Candidate Preferred Results e House Two Party Preferred Results e Senate Quota e Senate Candidate and Group First Preference Results e Referendum Resul
27. Name gt Australian Progressive Alliance lt GroupName gt lt GroupiIdentifier gt lt Candidate gt lt eml CandidateIdentifier Id 14279 gt lt eml CandidateName gt JOLLEY Jeannette lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 1126 ShortCode APA gt lt eml RegisteredName gt Australian Progressive Alliance lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt Candidate gt lt Candidate gt lt eml CandidateIdentifier Id 14284 gt lt eml CandidateName gt DEEBANK Ryan lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 1126 ShortCode APA gt lt eml RegisteredName gt Australian Progressive Alliance lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt Candidate gt lt GroupVotingTicket TicketNumber 1 gt lt Candidate gt lt eml CandidateIdentifier Id 14279 gt lt eml CandidateName gt JOLLEY Jeannette lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 1126 ShortCode APA gt lt eml RegisteredName gt Australian Progressive Alliance lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt Preference gt 1 lt Preference gt lt Candidate gt lt Candidate gt lt eml CandidateIdentifier Id 14284 gt lt eml CandidateName gt DEEBANK Ryan lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 1126 ShortCode APA gt
28. Optionidentifier type ReferendumOptionidentifierStruc 6 4 3 Example XML An example of the Referendum Options List message for the 1999 Federal Referendum is shown below lt xml version 1 0 encoding UTF 8 gt lt EML xmlns urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation urn oasis names tc evs schema eml Schema EML 630 optionlist v4 0 xsd SchemaVersion 4 Id 69368cb9 d33a 47a0 8e56 5caf74286b6d gt lt TransactionId gt e28bc89e 180d 4520 9fcbh 8c728d3d0864 lt TransactionId gt lt OptionsList gt lt EventIidentifier Id 9399 gt lt EventName gt 1999 Referendum lt EventName gt lt EventIdentifier gt lt Election gt lt ElectionIdentifier Id Q1 gt lt ElectionName gt The Republic lt ElectionName gt lt ElectionCategory gt Referendum lt ElectionCategory gt lt ElectionIdentifier gt lt Proposal gt lt ProposalIdentifier Id 1 gt lt ProposalName gt The Republic lt ProposalName gt lt Proposalidentifier gt lt Description gt lt Message Lang EN gt To alter the Constitution to establish the Commonwealth of Australia as a republic with the Queen and Governor General being replaced by a President appointed by a two thirds majority of the Memb
29. Revesby and Roselands lt Location gt lt Demographic gt InnerMetropolitan lt Demographic gt lt Area gt 55 lt Area gt lt PollingPlaces gt lt PollingPlacg l Address AddressDetailsKey Beverly Hills North gt lt xal PostalServiceElements Type GDA94 gt lt xal AddressLatitude gt 1 08923 lt xal AddressLatitude gt lt xal AddressLongitude gt 234 098567565 lt xal AddressLongitude gt lt xal PostalServiceElements gt lt xal AddressLines gt l AddressLine Type Premises gt Beverly Hills Ng Public School lt xal AddressLine gt seat osLine Type AddressLinel gt Shoptae PE lt xal AddressLine gt lt xal Address ES HILLS lt xal AddressLine gt lt xal AddressLine Type State gt NSW lt xal AddressLine gt lt xal AddressLine Type Postcode gt 2209 lt xal AddressLine gt lt xal AddressLines gt lt eml Address gt lt eml PhysicalLocation gt lt PollingPlaceIdentifier Id 1 Name Beverly Hills North gt lt WheelchairAccess gt Assisted lt WheelchairAccess gt lt PollingPlace gt 8 5 2 Example with Latitude and Longitude unavailable lt PollingDistrict gt lt PollingDistrictIdentifier Id 103 ShortCode BANK gt lt Name gt Banks lt Name gt lt StateIdentifier Id NSW gt lt PollingDistrictIdentifier gt lt NameDerivation gt Named after botanist Sir Joseph Banks 1743 1820 who accompanied Captain Cook on his voyage to Australia in 1770 lt NameDerivation gt
30. Schema instance 987 b825 4843 83d6 07ca4e6331lad gt ds http www w3 org 2000 09 xmldsig n oasis names tc evs schema eml ts Schema EML 520 result v4 0 xsd lt TransactionId gt e28bc8 9e 180d 4520 9fcb 8c728d3d0864 lt TransactionId gt lt Result gt lt EventIdentifier Id 12246 gt lt EventName gt 2004 Federal Election lt EventName gt lt EventIdentifier gt lt Election gt lt ElectionIdentifier Id H gt lt ElectionName gt House of Representatives Election lt ElectionName gt lt ElectionCategory gt House lt ElectionCategory gt lt ElectionIdentifier gt lt Contest gt lt ContestIdentifier TId 179 ShortCode ADEL gt lt ContestName gt Adelaide lt ContestName gt lt ContestIdentifier gt lt Selection gt lt CandidateIdentifier Id 14605 gt lt CandidateName gt WORTH Trish lt CandidateName gt lt CandidateIdenti lt AffiliationIdentifier Id 184 fier gt ShortCode LP gt lt RegisteredName gt Liberal lt RegisteredName gt lt AffiliationIden lt Elected gt no lt Elec lt Selection gt lt Selection gt tifier gt ted gt lt CandidateIdentifier Id 14860 gt lt CandidateName gt lt CandidateIdenti lt AffiliationIdentifier Id 3 PASCOE Richard lt CandidateName gt fier gt ShortCode DEM gt lt RegisteredName gt Australian Democrats lt RegisteredName gt lt AffiliationIden lt Elected gt no lt Elec lt Select
31. TP Client Software FTP client software will allow you to connect to the Media Feed system and manage the process of downloading compressed feed files The type of FTP client software you use will depend on your particular requirements For example if you are integrating the Media Feed system into your own real time election results IT system you may use a programmatic FTP component to automate the process of downloading feed files However if you only require the election results in an ad hoc fashion you may consider manually downloading the compressed feed files using a web browser 3 1 3 Compression software that supports the ZIP technology A feed file consists of one or more XML messages containing the election results compressed using ZIP technology To process a feed you must be able to extract the compressed XML messages from the feed file 3 1 4 XML Parser or Transformation Engine The election results provided by the Media Feed system are stored in XML files called messages To process the election results stored in the messages you will need to parse or transform the file to provide the content in a format that supports your further processing 3 2 Message Types The Media Feed content is packaged in a number of different ways to satisfy the variety of users of the system The message types are categorised by Granularity and Verbosity These types are referred to throughout the document 3 2 1 Granularity Granularity defines the lev
32. The content model of this element is a sequence of the elements B D and E e The element B is of complex data type Bstructure This contains a choice of either element C or element F e Element C is a restriction of another complex data type Cstructure In this case the restriction is to forbid the use of the element G which is defined in Cstructure as optional The other elements allowed are H which can appear any number of times but must appear at least once and I which can appear up to three times or not at all e Element D is optional and of data type Dstructure This has a content model requiring all of elements J and K which are both of type xs string e Finally element E is of simple data type Etype which is restricted from the xs NMTOKEN data type by only allowing the values yes and no Date Printed 28 08 2007 16 Version 2 0 1 9 2007 AEC Media Feed User Guide 6 PRELOAD MESSAGES Users that have their own election IT systems may wish to pre load static election information such as candidate names before the start of the election Pre loading information also facilitates the use of a lightweight feed during the election period The preload feed will contain the following messages where appropriate e Preload Results Message e Election Event Message EML 110 e Candidate List Message EML 230 e Referendum Options List Message EML 630 e Polling Districts Message e Senate Group Voting Ticke
33. ach electio event of the media feed 1 being offline db y the attribute of ed element th e being offline Generated by XmiSpy lt Cycle Created 2006 11 20T10 50 4 lt Results Updated 2004 12 10T15 3 Granularity Standard gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventIdentifier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt Ad0864 lt Cycle gt y Verbose Date Printed 28 08 2007 58 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 3 How can I determine if any results have changed since the last feed The Results element of the Results message contains the Updated attribute This indicates the most recent date and time that any results for the electoral event were updated Results for an electoral event Generateg reated 2006 s Updated 20 Standard Identifi lt eml EventIdentif EventResultsStructure Indicates the date and time that the results For the ewent were last updated IF the attribute is not supplied no results have been retumed the phase of the ec event For example Election Night Post Election or Final Results the message andidat
34. allotpapers v2 0 xsd gt Date Printed 28 08 2007 33 Version 2 0 1 9 2007 AEC Media Feed User Guide lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt lt Site gt Primary lt Site gt lt Server gt DEV01 lt Server gt lt Version gt 3 6 0 0 lt Version gt lt MessageGenerator gt lt Cycle Created 2007 08 28T07 20 07 gt b8ab9278 28da 43c5 b39e 64e07962220a lt Cycle gt lt BallotPapers gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt House gt lt Election gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt lt Date Type PollingDay gt lt eml SingleDate gt 2004 10 09T00 00 00 lt em1 SingleDate gt lt Date gt lt Contests gt lt Cont est gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt lt PollingDistrictIdentifier Id 101 lt Name gt Canberra lt Name gt lt StateIdentifier Id A
35. andidate Independent no gt lt CandidateIdentifier Id 14409 gt lt CandidateName gt ELLIS Katherine Margaret lt CandidateName gt lt CandidateIdentifier gt lt CandidateFullName gt lt xnl PersonName gt lt xnl FirstName gt Katherine Margaret lt xnl FirstName gt lt xnl FirstName Type BallotPaper gt Kate lt xnl FirstName gt lt xnl LastName gt ELLIS lt xnl LastName gt lt xnl PersonName gt lt CandidateFullName gt lt Gender gt female lt Gender gt lt QualifyingAddress AddressType Residential gt lt xal AddressLines gt lt xal AddressLine Type AddressLinel gt 28 Sturt St lt xal AddressLine gt lt xal AddressLine Type Suburb gt ADELAIDE lt xal AddressLine gt lt xal AddressLine Type State gt SA lt xal AddressLine gt lt xal AddressLine Type Postcode gt 5000 lt xal AddressLine gt lt xal AddressLines gt lt QualifyingAddress gt lt Contact gt lt MailingAddress AddressType Postal gt lt xal AddressLines gt lt xal AddressLine Type AddressLinel gt 28 Sturt St lt xal AddressLine gt lt xal AddressLine Type Suburb gt ADELAIDE lt xal AddressLine gt lt xal AddressLine Type State gt SA lt xal AddressLine gt lt xal AddressLine Type Postcode gt 5000 lt xal AddressLine gt lt xal AddressLines gt lt MailingAddress gt lt Email gt laborforadelaide yahoo com au lt Email gt lt Telephone gt lt Number gt 08 8211 8767 lt Number gt lt Telephone gt lt Telephone gt lt Numb
36. au xml schema mediafeed Schema AEC aec mediafeed results v2 0 xsd gt lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt lt Site gt Primary lt Site gt lt Server gt DEVO1 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 50 42 gt e28bc8 9e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt lt Results Updated 2004 12 10T15 35 46 Phase Preload Verbosity Preload Granularity Standard gt Date Printed 28 08 2007 17 Version 2 0 1 9 2007 AEC Media Feed User Guide lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt lt House gt lt Contests gt lt Contest gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt lt PollingDistrictIdentifier Id 101 ShortCode CANB
37. ce The order in which the polling districts should be displayed in a list eml ResponsibleOfficer A E E mm mr 4 WheelchairAccess Indicates if the polling place has wheelchair access Generated by XmiSpy An example of a partial Polling Districts message for the 2004 Federal Election is shown below Date Printed 28 08 2007 28 Version 2 0 1 9 2007 AEC Media Feed User Guide lt MediaFeed Id 8ec50e35 da3a 4ad7 b838 8c95be84e7aa Created 2006 12 20T17 05 25 xmlns http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov au xml schema mediafeed Schema AEC aec mediafeed pollingdistricts v2 0 xsd gt lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt lt Site gt Primary lt Site gt lt Server gt DEV01 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 5
38. d to support electronic voting The message contains an electronic definition of the Ballot Papers used during the election and is based on the XML schema aec mediafeed ballotpapers v2 0 xsd See Section 6 7 for more Information 8 5 Polling Place Latitude and Longitude in the Polling Districts Message Where available polling place latitude and longitude are provided in the Polling District message The latitude and longitude have been calculated with GDA94 standard 8 5 1 Example with Latitude and Longitude available lt PollingDistrict gt lt PollingDistrictIdentifier Id 103 lt Name gt Banks lt Name gt lt StateIdentifier Id NSW lt PollingDistrictIdentifier gt lt NameDerivation gt Named after botanist Sir Joseph Banks voyage to Australia in 1770 lt NameDerivation gt ShortCode BANK gt i gt 1743 1820 who accompanied Captain Cook on his lt ProductsIndustry gt Light manufacturing commercial and service industries lt ProductsIndustry gt lt Location gt Banks covers an area of approximately 55 sq km bordered by the Georges River in the west and south the Illawarra railway line and King Georges Road in the east and Milperra and Canterbury Roads in the north The main suburbs include East Hills Lugarno Narwee Padstow Padstow Heights Panania Peakhurst Peakhurst Heights Picnic Point Revesby Heights Riverwood and portions of Bankstown Beverly Hills Milperra Mortdale Oatley Penshurst Punchbowl
39. dia Feed system e Provides a feed of election results and information delivered to the media using the File Transfer Protocol FTP over the Internet e Is implemented using a pull model and publishes the feed to an FTP site Users of the system can then poll this location and download the feed as required e Publishes the generated media feeds to the FTP site every 90 seconds on election night and every 15 minutes in the post election period Each media feed contains a complete set of election results e Generates election results and information as a set of XML messages based on the Election Markup Language EML schema EML is an international standard for the structured interchange of data among hardware software and service providers engaged in providing election or voter services The EML standard defines numerous message schemas that can be used during many different phases of the election process Only a subset of these messages are relevant to the media feed system Where applicable the AEC will generate the following messages as part of the media feed EML Election Event Message EML 110 EML Candidate List Message EML 230 EML Referendum Options List Message EML 630 EML Count Message EML 510 EML Result Message EML 520 Polling Districts Message Custom AEC message based on EML Senate Group Voting Tickets Message Custom AEC message based on EML Ballot Paper Message Custom AEC message based on EML Preload Results Messa
40. e Custom AEC message based on EML Preload Results Message Custom AEC message based on EML Verbose Results Message Custom AEC message based on EML Lightweight Results Message Custom AEC message based on EML Lightweight Results Message with polling place count progress Custom AEC message based on EML Please Note The purpose of this section is to provide a basic understanding of the messages involved in the AEC media feed system However to completely understand the content of each message it is necessary to refer to the EML and AEC XML schema documentation provided as supporting files to this documentation 5 1 Message file naming convention 5 1 1 EML Messages The EML media feed message file names are all structured as follows eml lt message number gt lt message name gt lt transaction id gt xml where lt message number gt is an identifying number of an EML message lt message name gt is event candidates count or results lt transaction id gt is a unique number identifying an election An example for the 2004 election might be eml 230 candidates 12246 xml 5 1 2 AEC Messages The AEC media feed message file names are all structured as follows aec mediafeed lt message type gt lt granularity gt lt verbosity gt lt transaction id gt xml where lt message type gt is groupvotingtickets pollingdistricts or results Date Printed 28 08 2007 14 Version 2 0 1 9 2007 AEC Media Feed User Guide lt
41. e and Referendum election results The message includes vote counts candidate names and party details division information enrolment count progress historic results aggregations and calculations such as percentages and swings 7 1 3 2 Light This message contains a minimal set of House of Representatives Senate and Referendum election results The message does not contain candidate names Party details historic votes calculations or aggregations This message is designed to be used in conjunction with the Preload Results message which is processed prior to the election period 7 1 3 3 LightProgress This message contains a minimal set of House of Representatives Senate and Referendum election results The message does not contain candidate names parties details historic votes calculations or aggregations Where appropriate it contains count progress at the polling place level This message is designed to be used in conjunction with the Preload Results message which is processed prior to the election period 7 1 3 4 Comparison Matrix Data Verbose Preload Light Light Progress Candidate ID Y Y Y Y Candidate Names ay Y N N Candidate Party ID Y Y Y Y Candidate Party Name Y Y N N Ballot Position Y Y Y Y Historic Votes Y Y N N Matched Historic Votes Y Y Y Y Votes Y Y Y Y Vote calculations like percentages Y Y N N and swing Vote aggregations to state and Y Y N N national level by party
42. e gt Type Suburb gt BEVERLY HILLS lt xal AddressLine gt Type State gt NSW lt xal AddressLine gt Type Postcode gt 2209 lt xal AddressLine gt lt PollingPlaceIdentifier Id 33758 Name Beverly Hills South Banks gt lt WheelchairAccess gt Assisted lt WheelchairAccess gt lt PollingPlace gt Date Printed 28 08 2007 56 Version 2 0 1 9 2007 AEC Media Feed User Guide H FREQUENTLY ASKED QUESTIONS 9 1 Do all AEC message have the same header Yes all messages that are based on AEC schemas have the same file header This header contains a unique ID for the message the date and time it was created the language used in the message details of the organisation and system that created it and also information that links it to other messages created during the same processing cycle MediaFeedStructure Root element of a media feed message lt MediaFeed Id c8c7e5cb fdc3 4e6b a8f5 0e7050878p9f EI attributes media feed message was created lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt The date and time this The s that this media feed m was generated Generated by XmiSpy lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt lt Site g
43. e names Ffiliations polling contest names aggregated Iculations and anylsis information Indicates the granularity of information supplied in the message ele 1 e Information and results are provided For each election to send adhoc information to the media For example the messages might be used to information in the nt of the media feed ystem being offline indica the media feed J 11 20T10 50 42 gt e 04 12 10T15 35 46 gt er Id 12246 gt ier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIde lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt ntifier Id H gt lt eml ElectionIdentifier gt ection lt eml EventName gt www altova com Roc89e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt ase ElectionNight Verbosity Verbose Date Printed 28 08 2007 59 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 4 How can I determine if a division has gone maverick on election night The TwoCandidatePreferred element of the MediaFeed message contains the Maverick attribute This indicates if the incorrect TCP candidates were selected by the AEC for the initial TCP count H attributes oe the date and time these results were last updated IF the attribute is not supplied it indicates that results have n
44. ection Use of this feed facilitates the use of the Light feed during the election period 4 4 1 1 Messages The preload feed contains the following XML messages where appropriate Date Printed 28 08 2007 10 Version 2 0 1 9 2007 AEC Media Feed User Guide e Preload Results Message e EML Election Event Message EML 110 Message e EML Candidate List Message EML 230 Message e Referendum Options List Message EML 630 Message only available for electoral events with a referendum or plebiscite e Polling Districts Message Federal Divisions e Senate Group Voting Ticket Message e AEC and EML XML Schema Files 4 4 1 2 Cycle The preload feed is published twice prior to the election The first preload feed will be available on the Monday or Tuesday in the week after the close of nominations and updated in the week before the election 4 4 2 Verbose Feed This feed contains up to date election results and information The feed contains static data such as candidate names and dynamic data such as votes The verbose feed also contains calculated results like swings and aggregated results to the state and national level This feed is suitable for users who have their own IT system and who may or may not have pre loaded data and is also suitable for those users who do not have an IT system and simply wish to transform the XML file into another format 4 4 2 1 Messages The verbose feed will contain the following messages e Verbose R
45. ed 28 08 2007 21 Version 2 0 1 9 2007 AEC Media Feed User Guide 6 3 Candidate List Message EML 230 6 3 1 Overview This message is used for providing the list of candidates for the contests within an electoral event The list contains each candidate s name address optional affiliation party and other information In the AEC media feed system this message schema will be used to package the following information e List of Candidates for the House of Representatives e List of Candidates for the Senate The AEC media feed system generates a single candidate list message that will contain the list of candidates for all elections House of Representatives and Senate or just House of Representatives for a by election 6 3 2 Message Schema The message is based on the XML schema in the file 230 candidatelist v4 0 xsd __1 Eventldentifier Electionidentifier type ElectionidentitierStructure i Description 4 Continued Below ee i itype MessagesStructure 4 1 e type CandidateStructure r AffiliationStructure Affiiationidentifier type AftiliationidentitierStructure o Description AffiliationStructure EI Re CandidateList FH F Affiliation Contest H type jerivedBy extension je xs token i 1 00 Proposer e Top type ProposerStructure Date Printed 28 08 2007 22 Vers
46. eds Users who are interested in election results and or count progress at the polling place level use the detailed granularity feeds Because detailed granularity feeds contain significantly more information they are much larger in size than the standard granularity feeds The detailed granularity feeds will be only used by those organisations that have specialised requirements or complex predictive and analytical IT systems 4 5 1 Preload Feed Users that have their own election IT system may use the Preload feed The preload feed will allow this type of user to pre load static election information like candidates names before the election Use of this feed will then facilitate the use of the Light or LightProgress feed during the election period 4 5 1 1 Messages The Preload feed will contain the following messages where appropriate e Preload Results Message e Election Event Message EML 110 e Candidate List Message EML 230 e Referendum Options List Message EML 630 only available for electoral events with a referendum or plebiscite e Polling Districts Message e Senate Group Voting Ticket Message e AEC and EML XML Schema Files 4 5 1 2 Cycle The preload feed will be published once or twice prior to the election The first preload feed will be available on the Monday or Tuesday in the week after the close of nominations and again in the week before the election 4 5 2 Verbose Feed This feed contains up to date election r
47. el to which the message provides details e Standard granularity provides results to the Polling District Division level for House of Representatives and Referendum and State level for Senate e Detailed granularity provides results to the Polling Place level for House of Representatives Polling District Division level for Referendum and State level for Senate Date Printed 28 08 2007 4 Version 2 0 1 9 2007 AEC Media Feed User Guide 3 2 2 Verbosity Verbosity defines the amount of information provided within a message e EML provides data in a number of EML messages This exists to support users that have an existing EML message based system e Light provides only dynamic data vote counts etc and no static information candidate names party names historic votes etc e Light Progress is available for Detailed granularity and provides the same as a Light message with the inclusion of count progress at the polling place level e Preload provides all static information candidate names party names historic votes etc and empty dynamic information vote counts etc It is designed to provide structural data for users to preload their election results system It is identical in structure and level of content to the Verbose messages e Verbose provide all static and dynamic information 3 3 Media Feed FTP Site 3 3 1 URL To access the media feed system for a Federal Election use the following URL ftp mediafeed
48. er Id 14756 gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected gt false lt Elected gt lt Votes MatchedHistoric 0 gt 2067 lt Votes gt lt VotesByType gt lt Votes Type Ordinary gt 1719 lt Votes gt lt Votes Type Absent gt 35 lt Votes gt lt Votes Type Provisional gt 57 lt Votes gt lt Votes Type PrePoll gt 218 lt Votes gt lt Votes Type Postal gt 38 lt Votes gt lt VotesByType gt lt Candidate gt 9 6 2 Vote elements Historic votes percentage swings and other historic or calculated information is not included in the Light message 9 6 2 1 Verbose lt Votes Historic 0 Percentage 10 17 Swing 3 92 MatchedHistoric 6268 gt 10243 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 0 Percentage 9 82 Swing 3 66 gt 7687 lt Votes gt lt Votes Type Absent Historic 0 Percentage 16 24 Swing 5 21 gt 336 lt Votes gt lt Votes Type Provisional Historic 0 Percentage 13 99 Swing 8 1 gt 141 lt Votes gt lt Votes Type PrePoll Historic 0 Percentage 10 88 Swing 4 78 gt 1713 lt Votes gt lt Votes Type Postal Historic 0 Percentage 10 19 Swing 5 3 gt 366 lt Votes gt lt VotesByType gt 9 6 2 2 Light lt Votes MatchedHistoric 0 gt 2067 lt Votes gt lt VotesByType gt lt Votes Type Ordinary gt 1719 lt Votes gt lt Votes Type Absent gt 35 lt Votes gt lt Votes Type Provisional gt 57 lt Votes gt lt Votes Type PrePoll g
49. er gt 08 8211 8767 lt Number gt lt Telephone gt lt Contact gt lt Affiliation gt lt AffiliationIdentifier Id 198 ShortCode ALP gt lt RegisteredName gt Australian Labor Party South Australian Branch lt RegisteredName gt lt AffiliationIdentifier gt lt Affiliation gt lt Profession gt Ministerial Adviser lt Profession gt lt Candidate gt 6 3 4 Estimated Message Size Electoral Event File Size General Election 1 8 MB General Election including Referendum 1 8 MB House of Representatives By election 40 KB Referendum N A 6 4 Referendum Options List Message EML 630 6 4 1 Overview This message defines the lists of proposals questions for a referendum Each proposal in a referendum counts as an election so each election identified will hold a single proposal In the AEC media feed system this message packages the list of questions for a referendum This message is generated if there is a referendum election listed in the Election Event message 110 Date Printed 28 08 2007 24 Version 2 0 1 9 2007 AEC Media Feed User Guide 6 4 2 Message Schema The message is based on the XML schema in the file 630 optionslist v4 0 xsd f Eventidentifier r D D D D D D D D D D D D i D Proposal type ProposalStructure OptionsList i 1 o Less senses R any other Senn nn DEA U e b ProposalStructure Ei Referendum
50. eral Election 370 KB General Election including Referendum 400 KB House of Representatives By election 7KB Referendum 3 KB Date Printed 28 08 2007 52 Version 2 0 1 9 2007 AEC Media Feed User Guide 8 CHANGES IN VERSION 2 0 8 1 New AEC Schema Files All media feed messages are now based on a new set of AEC schema files which are listed below e aec mediafeed ballotpapers v2 0 xsd e aec mediafeed core v2 0 xsd e aec mediafeed groupvotingtickets v2 0 xsd e aec mediafeed pollingdistricts v2 0 xsd e aec mediafeed results v2 0 xsd 8 2 TCP Matched Historic for Polling Places that have returned First Preferences A new optional attribute has been added to the Vote structure to support TCP Matched Historic for Polling Places that have returned First Preferences VoteStructure simple type to represent votes n light wei ght feeds Date Printed 28 08 2007 53 Version 2 0 1 9 2007 AEC Media Feed User Guide lt TwoCandidatePreferred Updated 2004 10 26T11 01 59 PollingPlacesReturned 37 PollingPlacesExpected 37 gt lt Candidate gt lt eml CandidateIdentifier Id 15166 gt lt eml CandidateName gt BARNIER Belinda lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml Affilratsonidentitier E ShortCode LP gt lected Historic false gt false lt Elected gt lt Incumbent Notional false gt false lt Incumbent gt lt Votes Historic 40696 Percentage 39 93 Swin
51. ers of the Commonwealth Parliament lt Message gt lt Description gt lt Options gt lt ReferendumOptionIdentifier Id Y gt Yes lt ReferendumOptionIdentifier gt lt ReferendumOptionIdentifier Id N gt No lt ReferendumOptionIdentifier gt lt Options gt lt Proposal gt Date Printed 28 08 2007 25 Version 2 0 1 9 2007 AEC Media Feed User Guide lt Election gt lt Election gt lt ElectionIdentifier Id Q2 gt lt ElectionName gt The Preamble lt ElectionName gt lt ElectionCategory gt Referendum lt ElectionCategory gt lt ElectionIdentifier gt lt Proposal gt lt ProposalIdentifier Id 2 gt lt ProposalName gt The Preamble lt ProposalName gt lt Proposalidentifier gt lt Description gt lt Message Lang EN gt To alter the Constitution to insert a preamble lt Message gt lt Description gt lt Options gt lt ReferendumOptionIdentifier Id Y gt Yes lt ReferendumOptionIdentifier gt lt ReferendumOptionIdentifier Id N gt No lt ReferendumOptionIdentifier gt lt Options gt lt Proposal gt lt Election gt lt OptionsList gt lt EML gt 6 4 4 Message Size Electoral Event File Size General Election N A General Election including Referendum 2 3 KB Questions House of Representatives By election N A Referendum 2 Questions 3 KB 6 5 Polling Districts Message This message defines the list of polling districts Divisions and their as
52. esults Message 4 4 2 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period 4 4 3 Light Feed This feed contains up to date election results and information The feed contains only dynamic data like votes The light feed does not contain calculated results like swings or aggregated results This feed is only suitable for users who have their own IT system and have pre loaded data using the Preload feed 4 4 3 1 Messages The light feed will contain the following messages e Light Results Message 4 4 3 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period 4 4 4 Election Markup Language EML Feed This feed contains up to date election results and information presented strictly using the EML international standard messages The feed contains static data such as candidate names and Date Printed 28 08 2007 11 Version 2 0 1 9 2007 AEC Media Feed User Guide dynamic data such as votes This feed is suitable for users who have their own IT system which is EML compliant and is also suitable for those users who do not have an IT system and simply wish to transform the XML file into another format 4 4 4 1 Messages The verbose feed contains the following messages e EML Count Message EML 510 e EML Results Message EML 520 4 4 4 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period 4 5 Detailed Granularity Fe
53. esults and information The feed contains static data such as candidate names and dynamic data such as votes The verbose feed also contains calculated results Date Printed 28 08 2007 12 Version 2 0 1 9 2007 AEC Media Feed User Guide such as swings and aggregated results to the state and national level This feed is suitable for users who have their own IT system and who may or may not have pre loaded data It is also suitable for those users who do not have an IT system and simply wish to transform the XML file into another format 4 5 2 1 Messages The verbose feed contains the following message e Verbose Results Message 4 5 2 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period 4 5 3 Light Feed This feed contains up to date election results and information The feed contains only dynamic data such as votes The light feed does not contain calculated results such as swings or aggregated results This feed is only suitable for users who have their own IT system and have pre loaded data using the Preload feed 4 5 3 1 Messages The light feed contains the following message e Light Results Message 4 5 3 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period 4 5 4 Light Progress Feed The feed has been developed for those users who are interested in election results at the polling district Division level but require count progress at the poll
54. ferendum Media Feed Element EI attributes Results for the proposal ReferendumMediaFeedStructure H ss EI t a media feed for a misation of Generated by XmiSpy www altova com Z eml ReferendumOptionidentifier ProposalResultsStructure E nt the results a ates if the pr pass EI attributes Unique ID for th or rule that mt the proposal to p EE EES nia dition t for Generated by XmISpy www altova com 7 1 5 Example XML 7 1 5 1 Verbose lt xml version 1 0 encoding utf 8 gt Date Printed 28 08 2007 45 Version 2 0 1 9 2007 AEC Media Feed User Guide lt MediaFeed Id 8leb418f ed04 4e1b 8930 53df6fa979e4 Created 2006 12 20T17 05 48 xmins http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml1 xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov au xml schema mediafeed Schema AEC aec mediafeed results v2 0 xsd gt lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tall
55. fier ype EventidentitierStructure Description e MessagesStructure 7 See ee ManagingaAuthority ManagingAuthorityStructure ee Wie j ChannelName VotingChannelType n SMS WAP digitalT internet kio DECH type SimpleDateRangeStructure Electionidentifier type Electionldentifier Structure Descri ion H i ption MessagesStructure ManagingAuthority itype ManagingAuthorityStructure Continued Below Messages a MessagesStructure 7 Date Printed 28 08 2007 19 Version 2 0 1 9 2007 AEC Media Feed User Guide TO i CorteslidartifierSiruciure ype GC ReportingUnitidentifier type ReportingLintitertitierStructure erum AMS EPP OPV SPV STY opro 6 2 3 Example XML A portion of the Election Event Message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt EML xmlns urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 Date Printed 28 08 2007 20 Version 2 0 1 9 2007 AEC Media Feed User Guide xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation urn oasis names tc evs schema eml Schema EML 1
56. g 0 63 MatchedHistoric 40696 MatchedHistoricFirstPrefsIn 40696 gt 30990 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 32245 Percentage 40 08 Swing 0 28 gt 30990 lt Votg Votes Type Absent Historic 0 Percentage 39 63 Swing 39 63 gt 0 lt Votes gt pe Provisional Historic 0 Percentage 38 49 ees we Stes gt g tt Type Historic 0 Percentage 40 97 Swi lt Votes Type Postal wing 45 ee lt VotesByType gt lt Candidate gt lt Candidate gt lt eml CandidateIdentifier Id 15360 gt lt eml CandidateName gt ELLIS Annette lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 200 ShortCode ALP gt lt eml RegisteredName gt Australian Labor Party ACT Branch lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 4 lt BallotPosition gt lt Elected Historic false gt true lt Elected gt lt Incumbent Notional true gt true lt Incumbent gt lt Votes Historic 59632 Percentage 60 07 Swing 0 63 MatchedHistoric 59632 Mat chedHistoricFirstPrefsIn 0 gt 46622 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 47641 Percentage 59 92 Swing 0 28 gt 46622 lt Votes gt lt Votes Type Absent Historic 0 Percentage 60 37 Swing 60 37 gt 0 lt Votes gt lt Votes Type Provisional Historic 0 Percentage 61 51 Swing 61 51 gt 0 lt Votes gt lt Votes Type PrePoll Historic 0 Percentage 59
57. ge Custom AEC message based on EML Verbose Results Message Custom AEC message based on EML Lightweight Results Message Custom AEC message based on EML Lightweight Results Message with polling place count progress Custom AEC message based on EML e Compresses all XML messages into ZIP files called feeds to optimise download times Date Printed 28 08 2007 2 Version 2 0 1 9 2007 AEC Media Feed User Guide 2 1 System Diagram AEC DATA CENTRE bkal Election Management System ELMS EML Messages d d ges XML Media Feed File Ei Zip Compression INTERNET HOSTING FACILITY FTP SITE ftp mediafeed aec gov au Remote Studio Studio NATIONAL TALLY ROOM MEDIA STUDIO MEDIA DATA CENTRE AEC Divisional Office AEC Divisional Office AEC Divisional Office Date Printed 28 08 2007 Version 2 0 1 9 2007 AEC Media Feed User Guide 3 ACCESSING THE MEDIA FEED SYSTEM 3 1 System Requirements To use the Media Feed you will require the following e Internet Access e File Transfer Protocol FTP Client Software e Compression software that supports ZIP files e XML Parser or Transformation Engine 3 1 1 Internet Access To access the Media Feed you must have an Internet connection If you have a firewall ensure that it allows the FTP protocol For best performance a high speed Internet connection is recommended 3 1 2 F
58. granularity gt is detailed or standard for message type results lt verbosity gt is light lightprogress preload or verbose for message type results lt transaction id gt is a unique number identifying an election An example for the 2004 election might be aec mediafeed results detailed light 12246 xml 5 2 White space and Formatting All XML messages in all feed types will be generated without white space or formatting This will ensure optimal parsing and transmission performance 5 3 Schema Documentation 5 3 1 EML Content in this section has been sourced from the following EML 4 0 documentation e EML v4 0 Process and Data Requirements pdf e EML v4 0 Schema Descriptions pdf e EML v4 0 Data Dictionary xls The full EML documentation can be found at the following website OASIS Election and Voter Services Technical Committee http www oasis open org committees tc_home php wg_abbrev election Please refer to these documents for more information on EML 5 3 2 AEC Media Feed Message Schema Full technical schema documentation for the AEC Media Feed messages can be downloaded from the AEC website at the following address http www aec gov au _content what mediafeed index htm Please refer to these documents for more information on the AEC media feed schema Example message files can be accessed at ftp mediafeedtest aec gov au 5 4 Understanding the XML schema 5 4 1 XML Software Engineering Tools
59. gt lt Name gt Canberra lt Name gt lt StateIdentifier Id ACT gt lt PollingDistrictIdentifier gt lt Enrolment CloseOfRolls 108369 Historic 108959 gt 109476 lt Enrolment gt lt FirstPreferences PollingPlacesReturned 0 PollingPlacesExpected 39 gt lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt eml CandidateName gt ELLERMAN Sue lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 37 ShortCode GRN gt lt eml RegisteredName gt The Greens lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected Historic false gt false lt Elected gt lt Incumbent Notional false gt false lt Incumbent gt lt Votes Historic 62680 Percentage 0 Swing 0 MatchedHistoric 0 gt 0 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 7687 Percentage 0 Swing 0 gt 0 lt Votes gt lt Votes Type Absent Historic 366 Percentage 0 Swing 0 gt 0 lt Votes gt lt Votes Type Provisional Historic 141 Percentage 0 Swing 0 gt 0 lt Votes gt lt Votes Type PrePoll Historic 1713 Percentage 0 Swing 0 gt 0 lt Votes gt lt Votes Type Postal Historic 366 Percentage 0 Swing 0 gt 0 lt Votes gt lt VotesByType gt lt Candidate gt 6 1 4 Estimated Message Size Electoral Event Size Standard Size Detailed General Election 2 5 MB 17M
60. heir group Ch H e j eml Contestidentifier H contests B Contest BB SESCH Cenictromstron EH row H Continued Below Date Printed 28 08 2007 30 Version 2 0 1 9 2007 AEC Media Feed User Guide GroupName Stateldentifier DI attributes emi Candidateldentifier SenateGroupStructure E Complex type to respresents senate group The list of candidates in the group EI attributes The number of the group voting ticket supplied by the Senate group When a group has supplied multiple tickets this defines the order in which tickets are bo Soa inaTi applied to remainder ballot GroupVotingTicket papers TicketNumber j o The group voting ticket s for E attributes the group A group may specify up to three group voting tickets EI Candidate D eml Candidateldentifier es eml Affiliationidentifier DI Generated by XmiSpy www altova com 6 6 2 Example XML An example of a partial Senate Groups message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt MediaFeed Id ffb7eb99 37f6 4df 8 86d7 b89c47566f40 Created 2006 12 20T17 05 25 xmlns http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts
61. ht which prevents large variations in swing as different sized or demographic polling places return The MatchedHistoric attribute is shown in all election phases lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt eml CandidateName gt ELLERMAN Sue lt eml CandidateName gt lt eml CandidateIdentifier gt lt eml AffiliationIdentifier Id 37 ShortCode GRN gt lt eml RegisteredName gt The Greens lt eml RegisteredName gt lt eml AffiliationIdentifier gt lt BallotPosition gt 1 lt BallotPosition gt lt Elected Historic false gt false lt Elected gt lt Incumbent Notional false gt false lt Incumbent gt lt Votes Historic 0 Percentage 10 17 Swing 3 92 MatchedHistoric 6268 gt 10243 lt Votes gt lt VotesByType gt lt Votes Type Ordinary Historic 0 Percentage 9 82 Swing 3 66 gt 7687 lt Votes gt lt Votes Type Absent Historic 0 Percentage 16 24 Swing 5 21 gt 336 lt Votes gt lt Votes Type Provisional Historic 0 Percentage 13 99 Swing 8 1 gt 141 lt Votes gt lt Votes Type PrePoll Historic 0 Percentage 10 88 Swing 4 78 gt 1713 lt Votes gt lt Votes Type Postal Historic 0 Percentage 10 19 Swing 5 3 gt 366 lt Votes gt lt VotesByType gt lt Candidate gt Date Printed 28 08 2007 66 Version 2 0 1 9 2007
62. ing place level This feed contains up to date election results and information The feed contains only dynamic data for example the count progress of a polling place The light feed does not contain calculated results such as swings or aggregated results This feed is only suitable for users who have their own IT system and have pre loaded data using the Preload feed 4 5 4 1 Messages The light feed contains the following message e Light Progress Results Message 4 5 4 2 Cycle Every 90 seconds on election night and every 15 minutes in the post election period Date Printed 28 08 2007 13 Version 2 0 1 9 2007 AEC Media Feed User Guide 5 MEDIA FEED MESSAGES The AEC provides users with election results and information using a set of XML messages based on the Election Mark up Language EML The EML standard defines numerous message schemas file formats that can be used during many different phases of the election process Only a subset of these messages are relevant to the media feed system Where applicable the following EML based messages are generated as part of the media feed Election Event Message EML message 110 Candidate List Message EML message 230 Referendum Options List Message EML message 630 Count Message EML message 510 Result Message EML message 520 Polling Districts Message Custom AEC message based on EML Senate Group Voting Tickets Message Custom AEC message based on EML Ballot Paper Messag
63. ion 2 0 1 9 2007 AEC Media Feed User Guide Candidateldentifier CandidateldentitierStructure CandidateStructure lt 1 Eed type Log joStructure J 6 3 3 Example XML A portion of the Candidate List Message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt EML xmlns urn oasis inames tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation urn oasis names tc evs schema eml Schema EML 230 candidatelist v4 0 xsd SchemaVersion 4 Id 69368cb9 d33a 47a0 8e56 5caf74286b6d gt lt TransactionId gt e28bc89e 180d 4520 9fcbh 8c728d3d0864 lt TransactionId gt lt CandidateList gt lt EventIdentifier Id 12246 gt lt EventName gt 2004 Federal Election lt EventName gt lt EventIdentifier gt lt Election gt lt ElectionIdentifier Id H gt lt ElectionName gt House of Representatives Election lt ElectionName gt lt ElectionCategory gt House lt ElectionCategory gt lt ElectionIdentifier gt Date Printed 28 08 2007 23 Version 2 0 1 9 2007 AEC Media Feed User Guide lt Contest gt lt ContestIdentifier Id 179 ShortCode ADEL gt lt ContestName gt Adelaide lt ContestName gt lt ContestIdentifier gt lt C
64. ion gt lt Selection gt tifier gt ted gt lt CandidateIdentifier Id 14409 gt lt CandidateName gt ELLIS lt CandidateIdenti Kate lt CandidateName gt fier gt Date Printed 28 08 2007 51 Version 2 0 1 9 2007 AEC Media Feed User Guide lt AffiliationIdentifier Id 198 ShortCode ALP gt lt RegisteredName gt Australian Labor Party lt RegisteredName gt lt AffiliationIdentifier gt lt Elected gt yes lt Elected gt lt Selection gt lt Selection gt lt CandidateIdentifier Id 14489 gt lt CandidateName gt BARLOW Amanda lt CandidateName gt lt CandidateIdentifier gt lt Elected gt no lt Elected gt lt Selection gt lt Selection gt lt CandidateIdentifier Id 14870 gt lt CandidateName gt BUGDEN Jake lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 37 ShortCode GRN gt lt RegisteredName gt The Greens lt RegisteredName gt lt AffiliationIdentifier gt lt Elected gt no lt Elected gt lt Selection gt lt Selection gt lt CandidateIdentifier Id 14807 gt lt CandidateName gt ROBINS Peter G lt CandidateName gt lt CandidateIdentifier gt lt AffiliationIdentifier Id 1129 ShortCode FFP gt lt RegisteredName gt Family First lt RegisteredName gt lt AffiliationIdentifier gt lt Elected gt no lt Elected gt lt Selection gt lt Contest gt 7 3 4 Estimated Message Size Electoral Event XML File Size Gen
65. ivision gt Adelaide lt Area gt lt Position gt Member of the House of Representatives for the Federal Division of Adelaide lt Position gt lt VotingMethod gt other lt VotingMethod gt lt MaxVotes gt 1 lt MaxVotes gt lt NumberOfPositions gt 1 lt NumberOfPositions gt lt Contest gt lt Contest gt lt ContestIdentifier Id 197 ShortCode ASTO gt lt ContestName gt Aston lt ContestName gt lt ContestIdentifier gt lt Area Id 197 Type division gt Aston lt Area gt lt Position gt Member of the House of Representatives for the Federal Division of Aston lt Position gt lt VotingMethod gt other lt VotingMethod gt lt MaxVotes gt 1 lt MaxVotes gt lt NumberOfPositions gt 1 lt NumberOfPositions gt lt Contest gt lt Contest gt lt ContestIdentifier Id 198 ShortCode BALL gt lt ContestName gt Ballarat lt ContestName gt lt ContestIdentifier gt lt Area Id 198 Type division gt Ballarat lt Area gt lt Position gt Member of the House of Representatives for the Federal Division of Ballarat lt Position gt lt VotingMethod gt other lt VotingMethod gt lt MaxVotes gt 1 lt MaxVotes gt lt NumberOfPositions gt 1 lt NumberOfPositions gt lt Contest gt 6 2 4 Estimated Message Size Electoral Event File Size General Election 55K General Election including Referendum 57 KB House of Representatives By election 2 KB Referendum 2 KB Date Print
66. last election for the polling places that have been retumed during this election This figure can be used for matched polling place projections for example projected TCP percentage The number of historic votes recorded for this type of result at the last election Preferred results in a Federal r Quot Proportion F Where a quota of votes is required to be elected this value indicates the proportion of the quota represented by the votes Only used for Senate results in a Federal event Not included in lightweight feeds for the First Preference polling places that have been returned during this election Only used for Two Candidate Event E attributes H The number of votes recorded for this type of result at the last election Not included in lightweight imona ai D The number of votes expressed as a percentage of the total number of votes Not included in lightweight eg ges D Swing j The swing in the number of votes when compared to last election Not included in lightweight Feeds MatchedHistoric j The number of historic votes recorded for this type of result at the last election for the polling places that have been retuned during this election This figure can be used for matched polling place projections for example projected TCP percentage MatchedHistoricFirstPrefsin j The number of historic votes recorded for this type of result at the last election f
67. nder the Detailed directory e Each verbosity of feed light light progress verbose and preload published by the AEC have an associated directory e All feed files generated during the election period for a particular type of feed are stored in the associated folder e Users of the FTP site can detect new feeds by listing all files in the associated directory and selecting the most recent file using either file attributes or the date time encoded into the filename Files listed alphabetically appear in ascending date order e Only those files for a particular granularity and verbosity combination appear in the associated directory 3 4 Cycle Times The preload feeds are published twice prior to the election The first preload feed is available on the Monday or Tuesday in the week after the close of nominations and updated in the week before the election On election night the system publishes feeds every 2 5 minutes and once per hour in the post election period Please Note Whilst confident of achieving these cycle times the AEC makes no guarantees about the frequency of delivery 3 5 Estimated Download Times The following table gives an estimation of the time required to download the different types of compressed feed files ESTIMATED DOWNLOAD TI ME SECONDS Standard Granularity Feed Detailed Granularity Feed Verbose Light Verbose Light Light Progress 1 5Mb DSL Cable 2 0 0 6 10 1 4 2 1 4 1Mb DSL
68. onvention NEEN dE Eed dee 10 4 3 geed ege Eed EE 10 4 4 Standard Granularity PEeds sc ciccecncyensvinetscagvartenedactidycdvied ads rtunanenntshecntaeataesy 10 4 5 Detailed Granularity HEEN 12 5 MEDIA A E 14 5 1 Message file naming ET 14 5 2 White space and e 15 5 3 Sche a Doc ment ti i renien a a a a n aaa 15 5 4 Understanding the XML sch ma 2 2s et hee 15 6 PRELOAD MESSAGES ssp scucscscscchvvncacsscestaassiincsdeuts sducduivetoudaxtesensuessasececsessusssendsacsaceue 17 6 1 Prelodd Results Messagerie esn a a o ka aani 17 6 2 Election Event Message EML 110 sissiccsassdecsrcstecoesesadncexsbivss toterdeage deed bv eeudoanianss 18 6 3 Candidate List Message EML Ketter cbendaceatiareesabaducedeandaeanoabbeierpeaiiaers 22 6 4 Referendum Options List Message EML 630 sssssssessssessessssssessesseesseesesseesseessessessresse 24 6 5 LN e ER E el 26 6 6 Senate Group Voting Tickets Message sii sscsiecedecsistssdissvsaciestaadetiarnesd elek ege Set 29 Det Ballot Paper Message ege 33 Te RESULTS MESSAGES eneen EES 35 7 1 AEC Keser ege 35 7 2 EML Count Message EML 510 genee eege eege 48 7 3 EMELE Result M ssage EEN ME ett eege teg 50 3 CHANGES IN VERSION TE 53 8 1 New AEG Schema Fleet 53 8 2 TCP Matched Historic for Polling Places that have returned First Preferences 53 8 3 Candidate and Ghost Ballot Position in Lightweight results messages 54 8 4 Ballot Papers Preload Messageiisescii i cecceissczecthar
69. or the First Preference polling places that have been returned during this election Only used for Two Candidate Preferred results in a Federal Event QuotaProportion j Where a quota of votes is required to be elected this value indicates the proportion of the quota represented by the votes Only used for Senate results in a Federal event Not included in lightweight Feeds The type of the vote for example ordinary pre poll postal absent provisional Generated by XmISpy www altova com 1 9 2007 AEC Media Feed User Guide 7 1 4 2 House Element EI attributes results ha retuned for and time a winner ared for the contest If the attribute is supplied the contest has not b ar not pro emi Contestidentifier roll additic roll dele pport ns or customisation of contest results with an Electi ByElection Generated by XmISpy www altova com Date Printed 28 08 2007 39 Version 2 0 1 9 2007 AEC Media Feed User Guide EI attributes Updated j Indicates the date and time these results were last updated IF the attribute is not supplied it indicates that results have not been retumed Indicates that the candidate is an Independent IF the attribute is not supplied it indicates that the candidate is not independent Not included in lightweight feeds Indicates that the candidate does not have a patt
70. ot been retumed TwoCandidatePreferredStructure Complex type to represent TCP results included when both the Mar and the Restricted attribute is False Generated by X Indicates that the Two Candidate Preferred results are restricted at this time and are unay ailable The AEC does not release the TCP candidates until 6 0 election night B time all TCP results are restricted IF the attribute is not supplied i it indic ates that Indicates that A incorrect candidates have been selected for the two candidate preferred count In this case no TCP results are available IF the attribute is not supplied it indicates that results are not maverick o Candidate sults is only reck attribute is False miSpy Candidate D Please note CandidateName KnownAs and 4ffliationIdentifier are not included in lightweight feeds L www altova com lt TwoCandidatePreferred Updated 2004 10 28T15 7 09 Maverick true PolligggPlacesReturned 47 PollingPlacesExpected 47 gt Date Printed 28 08 2007 60 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 5 Why am I unable to see TCP results for a division s The AEC does not display TCP results for a division under two circumstances 1 The incorrect TCP candidates were selected by the AEC for the initial TCP count In this case the Maverick attribute of the TwoCandidatePreferred element is set to the value of t
71. p www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov au xml schema mediafeed Schema AEC aec mediafeed results v2 0 xsd gt lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt Date Printed 28 08 2007 46 Version 2 0 1 9 2007 AEC Media Feed User Guide lt Site gt Primary lt Site gt lt Server gt DEVO1 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 50 42 gt e28bc89e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt lt Results Updated 2004 12 10T15 35 46 Phase Preload Verbosity Light Granularity Standard gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt lt House gt lt Contests gt lt Contest Updated 2004 10 26T11 01 59 Declared 2004 10 28T00 00 00 gt lt eml ContestIdentifier Id 101
72. reload Feed Standard Light 3 6 3 2 Television Network with partial election coverage Type Television Network with partial election coverage Description This type of user may televise short focused election updates in between regular programming The user may not have a dedicated election IT system It is unlikely that this type of user will have a sophisticated system and will in general rely on AEC calculations and aggregations Requirements Election results to division level Count progress to division level Preload N A Feed Standard Verbose 3 6 3 3 Information Resellers Type Information Resellers Description This type of user will repackage the election results feed for use by other organisations The user will almost certainly have an election results IT system Their IT system may use predictive techniques other than those used by the AEC It is likely that this type of user will parse the data in the feed and load it into their custom application Requirements Election results to division level Count progress to division level Preload Standard Preload Feed Standard Light 3 6 3 4 Radio Broadcasters Type Radio Broadcasters Description This type of user may broadcast short focused election updates in between regular programming It is unlikely that this type of user will have an Date Printed 28 08 2007 8 Version 2 0 1 9 2007 AEC Media Feed User G
73. rred Updated 2004 10 18T19 18 42 Restricted true gt lt PollingPlace gt 7 1 6 Estimated Message Size 7 1 6 1 Verbose Electoral Event Standard Detailed General Election 2 5 MB 17MB General Election including Referendum 2 12 MB 18 KB Questions House of Representatives By election 50 KB 75 KB Referendum 2 Questions 650 MB 650 KB 7 1 6 2 Preload Electoral Event Standard Detailed General Election 2 5 MB 17MB Date Printed 28 08 2007 47 Version 2 0 1 9 2007 User Guide AEC Media Feed General Election including Referendum 2 12 MB 18 KB Questions House of Representatives By election 50 KB 75 KB Referendum 2 Questions 650 MB 650 KB 7 1 6 3 Light Electoral Event Standard Detailed General Election 1 1 MB 9 7 MB General Election including Referendum 2 1 5 MB 10 5 MB Questions House of Representatives By election 25 KB 50 KB Referendum 2 Questions 450 MB 450 KB 7 1 6 4 LightProgress Electoral Event Standard Detailed General Election N A 2 7MB General Election including Referendum 2 N A 3 2 MB Questions House of Representatives By election N A 40 KB Referendum 2 Questions N A 450 KB 7 2 EML Count Message EML 510 7 2 1 Overview This message is used to communicate the vote counts for an electoral event using the EML standard This message shows the current first preference votes for candidates and or referendum options 7 2
74. rue 2 The AEC does not release the TCP candidate selections until 6 00pm on election night Before this time the Restricted attribute of the TwoCandidatePreferred element is set to the value of true EI attributes Indicates the date and time results were last ed IF the attribute is not supplied it indicates that Indicates that the Two Preferred results estricted at this time and are unavailable The AEC does not release the TCP candidates until 6 00p election night e time all TCP results are restricted IF the attribute is not supplied it indicates that results are not restricted Maverick a D DH TwoCandidatePreferredStructu T candidates haw Complex type to represent TCP results selected for candidate preferred count In this case no TCP results are available IF the attribute is not supplied it indicates that results are not maverick Candidate ST andidate ults is only Please note en both the hen both the CandidateName KnowndAs and AffliationIdentifier are not included in lightweight feeds attribute is False and the Restricted attribute is False Generated by XmlSpy www altova com lt TwoCandidatePreferred Updated 2004 10 2 f15 17 09 Maverick true Po lingPlacesReturned 47 PollingPlacesExpected 47 gt lt TwoCandidatePreferred Updated 2004 10 28T15 1 09 Restricted true PollingPlacesReturned 47
75. sociated polling places for the electoral event Please note this message is used to convey Polling Place structural information instead of the EML 110 Election Event message 6 5 1 Message Schema The message is based on the XML schema in the file aec mediafeed pollingdistricts v2 0 xsd Date Printed 28 08 2007 26 Version 2 0 1 9 2007 AEC Media Feed User Guide Comment describing your ManagingAuthority H MessageLanguage Continued Below eml Eventidentifier PollingDistrictidentifier H List of polling districts for an electoral event F Productsindustry PollingDistrict E LE Demographic Gelee Generated by XmISpy www altova com Date Printed 28 08 2007 27 Version 2 0 1 9 2007 AEC Media Feed User Guide PollingPlaceStructure Extension of the EML polling place complex type 6 5 2 Example XML PhysicalLocation Timedvailable H 82 EI EI attributes The unique ID for the Division allocated by the ELMS system The name allocated to the polling place www meme eee mm mm mm mm D Classification j Indicates the type of polling place static remote mobile mobile prison or special hospital team IF not supplied assume static e See ere 3 ShortCode The short code used to represent a polling place PollingPlaceldentifier E Unique identifier for a polling pla
76. ss adi aziccgshsenelanesects Ed 55 8 5 Polling Place Latitude and Longitude in the Polling Districts Message 55 9 FREQUENTLY ASKED QUESTIONS esesesesecececececececececececececececececececececececececececececese 57 9 1 Do all AEC message have the same header sj xcysnadeassacessvedtadhoagestasbardieasseecacuplaesincueaeliauses 57 9 2 Howcan I determine if the message was generated on Election Nah 58 9 3 How can I determine if any results have changed since the last Teed eee 59 9 4 How can I determine if a division has gone maverick on election night s 00s00ss 60 9 5 Why am I unable to see TCP results for a division s cccccesceeeceeceesseceeeeeeeeeeeeeseees 61 Date Printed 28 08 2007 iii Version 2 0 1 9 2007 AEC Media Feed User Guide 9 6 What are the main differences between the light and verbose messages ssnnnsesnssssesoe 61 9 7 How can I determine if a Division has been declared 00 0 ccccccccceseesceceeeeceeeeeeseeeees 62 9 8 How can I determine the progress of the count 00 0 cecceecceeceetceeeeeceeceeeeenaeecsaeeneensees 64 9 9 How can I determine if the results are finalised 000 0 cccccccceessececeessecececessceceessseeeeees 65 9 10 When are Matched Historic votes available 0 cc ccccccccccesssceceessscececsssseceesssseeeceenteeees 66 Date Printed 28 08 2007 iv Version 2 0 1 9 2007 AEC Media Feed User Guide 1 INTRODUCTION On election night the AEC delivers a li
77. t 218 lt Votes gt lt Votes Type Postal gt 38 lt Votes gt lt VotesByType gt 9 7 How can I determine if a Division has been declared The Declared attribute of the Contest element indicates the date and time a winner was declared for the contest If the attribute is not supplied no winner has been declared Date Printed 28 08 2007 62 Version 2 0 1 9 2007 AEC Media Feed User Guide R attributes se res sults were last updated IF the attribute is not supplied it indicates that results have not been The date and time a winner was delcared For the contest If the attribute is not supplied the contest has not been declared contest P Von IF the Goes supplied assume results are not projected 9 7 1 Declared Contest Sample lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIde lt Contests gt lt Contest Updated 2004 10 26T11 01 59 Declared 2004 10 28T00 00 00 gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt 9 7 2 Undeclared Contest lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml BlectionName gt House of le on ia es Election lt eml Elec
78. t Primary lt Site gt lt Server gt DEV01 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 50 42 gt e28bc8 9e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt GeneratorStructure The name of the Media Feed generator system The alias of the site where the media feed generator is located generator The version of the media feed generator system www altova com Created 2006 12 20T17 05 48 gt Date Printed 28 08 2007 57 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 2 How can I determine if the message was generated on Election Night The Results element of the Results message contains the Phase attribute This indicates the phase in the election period when the message was generated The Phase attribute can have one of the following values IssueOfWrit CloseOfRolls NominationsLocked Preload PreloadLocked ElectionNight PostElection or FinalResults EventResulktsStructure EI attributes Indicates the date and time that t fi results for the event t updated IF the eic up of the ection Indicates if the me ge contains candidate names candidate affiliations po pl historical votes vo e names culations and anylsis information Indicates the granularity of information supplied in the message 1 e Information and results are provided for e
79. tionName gt EEN lt House gt lt Contests gt lt Contest Updated 2004 10 26T11 01 59 gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt Identifier gt Date Printed 28 08 2007 63 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 8 How can I determine the progress of the count A number of elements in the schema contain Updated attributes that indicate the date and time the results were last updated If the Updated attribute is missing it indicates that the result have not yet been updated The PollingPlacesReturned and PollingPlacesExpected attributes indicate the number of polling places that have returned for a particular count Indicates the date and time these results were last updated IF the attribute is not supplied it indicates that results have not been retumed FirstPreferences First preference results for the contest EI attributes E grp CountProgressAttributes PollingPlacesExpected The total number of count reporting units polling places expected to retum results for this count in this phase of the election PollingPlacesReturned Indicates the number of count reporting units polling places that have retumed results for this count The count progress attributes lt Results Updated 2004 12 10T15 35 46 Phase FinalResults Verbosity Verbose Gran
80. ts e Historic and matched historic votes 7 1 2 Message Granularity 7 1 2 1 Standard Granularity The standard granularity message contains significantly less information and is significantly smaller than the detailed message The Standard granularity results message services the needs of most users 7 1 2 2 Detailed Granularity The detailed granularity Results message contains significantly more information and is much larger in size than the standard granularity Results message The detailed granularity Results message will be used by those organisations that have specialised requirements or complex predictive and analytical IT systems 7 1 2 3 Comparison Matrix Results Standard Detailed House candidate results at the Division level Y Y House candidate results at the Polling Place level N K Senate candidate and group results at the State level Y Y Referendum proposal results at the Division level Y Y Please Note The Detailed Light Progress Results message contains count progress information at the polling place level however it does not contain candidate results at the polling place level Date Printed 28 08 2007 35 Version 2 0 1 9 2007 AEC Media Feed User Guide 7 1 3 Message Verbosity The AEC Results message is generated in four different verbosities all of which validate against the same XML schema 7 1 3 1 Verbose This message contains complete House of Representatives Senat
81. ts Message e Ballot Paper Message e AEC and EML XML Schema Files Most users will use only the Preload Results message to pre load the key election information Other messages provide supplementary information For example the Preload Results message contains the ID name ballot position and party for all candidates and the Candidate List message provide their telephone numbers and addresses 6 1 Preload Results Message 6 1 1 Overview This message is designed for users wishing to preload static election information such as candidate names party names historic votes and senate group structure prior to the election This message is usually used in conjunction with light feeds which are used during the election period 6 1 2 Message Schema The message is based on the XML schema in the file aec mediafeed results v2 0 xsd 6 1 3 Example XML A portion of the Preload Results message for the 2004 Federal Election is shown below lt xml version 1 0 encoding utf 8 gt lt MediaFeed Id 0f060b5f elcl 4elf 9db3 af31lc36be4b Created 2006 12 20T17 05 48 xmlns http www aec gov au xml schema mediafeed xmlns eml urn oasis names tc evs schema eml xmlns ds http www w3 org 2000 09 xmldsig xmlns xal urn oasis names tc ciq xsdschema xAL 2 0 xmlns xnl urn oasis names tc ciq xsdschema xNL 2 0 xmlns ts urn oasis names tc evs schema eml ts xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov
82. uide election IT system and therefore will in general rely on AEC calculations and aggregations Requirements Election results to division level Count progress to division level Preload Feed N A Feed Standard Verbose 3 6 3 5 Print and Online Media Type Print and Online Media Description This type of user may publish comprehensive election results and information in either newspapers magazines or online It is unlikely that this type of user will have an election IT system and will therefore rely on AEC calculations and aggregations It is likely the user will simply take the feed and transform it into a format suitable for publishing Requirements Election results to division level Count progress to division level Preload Feed N A Feed Standard Verbose Date Printed 28 08 2007 9 Version 2 0 1 9 2007 AEC Media Feed User Guide 4 FEEDS All feeds are accessible from the media feed FTP site and are in ZIP format 4 1 Compression All XML messages in a feed are compressed using the ZIP technology before publishing Where appropriate a number of message files are compressed together into a single ZIP file 4 2 Media feed file naming convention The media feed file names are all structured as follows aec mediafeed lt granularity gt lt verbosity gt lt transaction id gt lt generation timestamp gt zip where lt granularity gt is detailed or standard
83. ularity Standard gt lt eml EventIdentifier Id 12246 gt Name gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml Electigg ontests gt lt Contest Updated 2004 10 26T11 01 59 Declared 2004 10 28T00 00 00 gt lt eml ContestIdentifier Id 101 gt ContestName gt Canberra lt eml ContestName gt lt eml Cont ge lt PollingDistrictIdentifier Id 101 ShortCode CANB gt lt Name gt Canberra lt Name gt lt StateIdentifier Td A lt Enrolment CloseOfRolls 108369 Historic 108959 gt 109476 lt Enrolment gt lt FirstPreferences Updated 2004 10 26T11 25 05 PollingPlacesReturned 39 PollingPlacesExpected 39 gt lt Candidate gt lt eml CandidateName gt ELLERMAN Sue lt eml CandidateName gt lt eml CandidateIdentifier gt Date Printed 28 08 2007 64 Version 2 0 1 9 2007 AEC Media Feed User Guide 9 9 How can I determine if the results are finalised The Results element of the Results message contains the Phase attribute This indicates the phase in the election period when the message was generated When the Phase attribute has the value FinalResults the election results will no longer change EventResuktsStructure
84. us reinstaternents plus notebook roll additions less notebook roll deletions Humber OfPositions The number of positions available For this contest 4 PollingDistricts e senate results for the contest at the polling district level Only included in Detailed granurlarity Feeds DTN Allows for customisation of contest results www altova com Date Printed 28 08 2007 42 Version 2 0 1 9 2007 AEC Media Feed User Guide Groupldentifier Indentifies the Senate group Candidate 1 o Below the line votes for Candidates TicketVotes Above the line votes for the group Unapportioned Votes for the group that have not been apportioned to Ticket votes or individual candidates GroupVotes The total votes received by the Senate group This is then the surn of Candidate Ticket Votes and Unapportioned 1 o First preference results for one or more senate groups SenateFirstPreferencesStructure 5 Seen first preference results First preference results for ungrouped candidates if any exist The total number of formal votes recorded The total number of informal votes recorded Total The total number of votes Generated by XmlSpy www altova com Date Printed 28 08 2007 43 Version 2 0 1 9 2007 AEC Media Feed User Guide SenateCandidateResultsStructure E Complex type to represent senate candidate results
85. ve feed of election results to a number of media organisations and interested third parties These organisations include the ABC Nine Seven Sky SBS AAP and News Limited The purpose of this publication is to provide information to users of the Media Feed System 1 1 Audience This document is intended for stakeholders interested in receiving a feed of election results from the AEC during Federal Elections This document is suitable for use by the following staff working with the AEC the media or other interested stakeholders e Business Users e Election Analysts e Business Analysts e Software Developers e Network Managers e Network Engineers 1 2 Scope This document provides information relating to the use of the Media Feed system The document discusses 1 Accessing the System 2 Feeds Compressed Files 3 XML Messages 4 Frequently Asked Questions 1 3 Related Documents The full schema definition and associated documentation is available from the AEC at the following location http www aec gov au media mediafeed index htm Date Printed 28 08 2007 1 Version 2 0 1 9 2007 AEC Media Feed User Guide 2 SYSTEM OVERVIEW The objective of the AEC Media Feed system is to deliver uninterrupted real time election information and results to any media organisation or interested third party anywhere in Australia and Internationally regardless of size or location To achieve this objective the AEC Me
86. xmlns xs http www w3 org 2001 XMLSchema instance xs schemaLocation http www aec gov au xml schema mediafeed Schema AEC aec mediafeed groupvotingtickets v2 0 xsd gt lt ManagingAuthority gt lt eml AuthorityIdentifier Id AEC gt Australian Electoral Commission lt eml AuthorityIdentifier gt lt ManagingAuthority gt lt MessageLanguage gt en lt MessageLanguage gt lt MessageGenerator gt lt Name gt Virtual Tally Room lt Name gt lt Environment gt DEV lt Environment gt lt Site gt Primary lt Site gt lt Server gt DEVO1 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 50 42 gt e28bc89e 180d 4520 9fch 8c728d3d0864 lt Cycle gt lt SenateGroupVotingTickets gt lt eml EventIdentifier Id 12246 gt Date Printed 28 08 2007 31 Version 2 0 1 9 2007 AEC Media Feed User Guide lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt Election gt lt eml ElectionIdentifier Id S gt lt eml ElectionName gt Senate Election lt eml ElectionName gt lt eml ElectionCategory gt Senate lt eml ElectionCategory gt lt eml ElectionIdentifier gt lt Contests gt lt Cont est gt lt eml ContestIdentifier Id ACT gt lt eml ContestName gt Australian Capital Territory lt eml ContestName gt lt eml ContestIdentifier gt lt Group gt lt GroupIdentifier Id 628 gt lt Ticket gt A lt Ticket gt lt Group
87. y affiliation IF the attribute is not supplied it indicates that the candidate is affliated with a party Not included in lightweight Feeds HouseFirstPreferencesStructure Complex type to represent First Preference results E The first preference results for each candidate EH emtAffiliationidentifier BallotPosition Indicates that the candidate was elected to parliament at the last election Not included in lightweight feeds Indicates that this candidate is the notional incumbent candidate for this contest This will reflect the outcome of any redistribution Results for each ghost candidates that contested the last election A ghost may also be used to reflect the outcome of a redistribution A ghost cannot receive votes but they are used to present swings The total number of formal votes recorded The total number of informal votes recorded The total number of votes Generated by XmiSpy www altova com Date Printed 28 08 2007 40 Version 2 0 1 9 2007 AEC Media Feed User Guide TwoCandidatePreferredStructure E Complex type to represent TCP results Indicates the date and time these results were last updated IF the attribute is not supplied it indicates that results have not been retumed d See Restricted j i Indicates that the Two Candidate Preferred results are restricted at this time and are unavailable The AEC does not release the TCP candidates until 6
88. y Room lt Name gt lt Environment gt DEV lt Environment gt lt Site gt Primary lt Site gt lt Server gt DEV01 lt Server gt lt Version gt 3 0 0 1 lt Version gt lt MessageGenerator gt lt Cycle Created 2006 11 20T10 50 42 gt e28bc89e 180d 4520 9fcb 8c728d3d0864 lt Cycle gt lt Results Updated 2004 12 10T15 35 46 Phase Preload Verbosity Verbose Granularity Detailed gt lt eml EventIdentifier Id 12246 gt lt eml EventName gt 2004 Federal Election lt eml EventName gt lt eml EventIdentifier gt lt Election Updated 2004 11 26T14 36 56 gt lt eml ElectionIdentifier Id H gt lt eml ElectionName gt House of Representatives Election lt eml ElectionName gt lt eml ElectionCategory gt House lt eml ElectionCategory gt lt eml ElectionIdentifier gt lt House gt lt Contests gt lt Contest Updated 2004 10 26T11 01 59 Declared 2004 10 28T00 00 00 gt lt eml ContestIdentifier Id 101 gt lt eml ContestName gt Canberra lt eml ContestName gt lt eml ContestIdentifier gt lt PollingDistrictIdentifier Id 101 ShortCode CANB gt lt Name gt Canberra lt Name gt lt StateIdentifier Id ACT gt lt PollingDistrictIdentifier gt lt Enrolment CloseOfRolls 108369 Historic 108959 gt 109476 lt Enrolment gt lt FirstPreferences Updated 2004 10 26T11 25 05 PollingPlacesReturned 39 PollingPlacesExpected 39 gt lt Candidate gt lt eml CandidateIdentifier Id 15421 gt lt eml CandidateName gt
Download Pdf Manuals
Related Search
Related Contents
vento 8 / 15 BMW Multi Tool User Manual Mallette pédagogique 2014 catalog Apptivity Hot Wheels FAQ et guide de dépannage FDI2056 User's Manual P133 agenda - La Pastourelle 富士ドライケムスライド GOT/AST-PⅢ Istruzioni per l`uso Copyright © All rights reserved.