<?xml version="1.0" encoding="UTF-8"?>
<!-- ==== SImple GTFS Operator  Example ====== 
This Example provides an example of mapping of a GTFS Agency.txt file to NeTEx

The data comes from the sample-feed.zip available at   http://code.google.com/transit/spec/transit_feed_specification.html

September 2011 add agency_fare_url

1. DATA

Agency.txt
	agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url
	DTA,Demo Transit Authority,http://google.com,America/Los_Angeles,en,1-212-675-9876	,http://google.com/fares

2. MAPPING

A GTFS Agency maps to a NeTEx AUTHORITY

GTFS					NeTEx
agency_id,			<Authority #agency_id> @id
agency_name,		<Authority #agency_id> <Name> #agency_name
agency_url,			<Authority #agency_id> <ContactDetails> <Url> #agency_url
agency_timezone,	<Authority #agency_id> <Locale> <TimeZone> #agency_timezone
agency_lang,			<Authority #agency_id> <Locale> <DefaultLanguage> #agency_lang
agency_phone		<Authority #agency_id> <ContactDetails><Phone> #agency_phone
agency_fare_url,	<Authority #agency_id> <Url> #agency_fare_url

GTFS Data copyright Google Inc

version 1.1 revised ids
 NeTEx (C) CEN Copyright 2010, 2019
-->
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.netex.org.uk/netex ../../../xsd/NeTEx_publication.xsd">
	<PublicationTimestamp>2001-12-17T09:30:47.0Z</PublicationTimestamp>
	<ParticipantRef>SYS001</ParticipantRef>
	<!--- ======WHAT WAS REQUESTED ========== -->
	<PublicationRefreshInterval>P3M</PublicationRefreshInterval>
	<Description>Example of GTFS Agency  data</Description>
	<!--- =============== RESULTS =========== -->
	<dataObjects>
		<ResourceFrame version="any" id="mygtfsxm:DTA">
			<!--- ======= CODESPACEs======== -->
			<codespaces>
				<Codespace id="mygtfsxm">
					<Xmlns>mygtfsxm</Xmlns>
					<XmlnsUrl>http://www.demoagency.com/</XmlnsUrl>
					<Description>Demo Agency</Description>
				</Codespace>
			</codespaces>
			<!--- =======FRAME DEFAULTS======== -->
			<FrameDefaults>
				<DefaultCodespaceRef ref="mygtfsxm"/>
			</FrameDefaults>
			<organisations>
				<!--- =====Agency========= -->
				<Authority version="any" id="DTA">
					<!-- Agency.txt.agency_id  -->
					<!-- Agency.txt.agency_name -->
					<Name>Demo Transit Authority</Name>
					<Locale>
						<!-- Agency.txt.time_zone -->
						<TimeZone>America/Los_Angeles</TimeZone>
						<DefaultLanguage>en</DefaultLanguage>
					</Locale>
					<ContactDetails>
						<Phone>1-212-675-9876</Phone>
						<!-- Agency.txt.agency_url -->
						<Url>http://google.com</Url>
					</ContactDetails>
				</Authority>
			</organisations>
		</ResourceFrame>
	</dataObjects>
</PublicationDelivery>
