<archive xmlns="http://rs.tdwg.org/dwc/text/" metadata="eml.xml">
 <!-- from marie at gbif helpdesk.
requirements:
each file must have an "id" column. column requirements:
has unique values
is labeled differently from the other fields. that is what the <id index="0"> conveys. 
To find out: 
1. I've seen this in some examples, what is it for: http://purl.org/dc/terms/type
2. confirm that "id" is nothing more than a row counter, and it has no other function or relationship to other IDs
-->

<core encoding="UTF-8" linesTerminatedBy="\r\n" fieldsTerminatedBy="," fieldsEnclosedBy="&quot;" ignoreHeaderLines="1" rowType="http://rs.tdwg.org/dwc/terms/Event">
    <files>
      <location>event.csv</location>
    </files>
    <id index="0" />
    <field index="1" term="http://rs.tdwg.org/dwc/terms/eventID"/>
    <field index="2" term="http://rs.tdwg.org/dwc/terms/datasetName"/>
    <field index="3" term="http://rs.tdwg.org/dwc/terms/samplingProtocol"/>
    <field index="4" term="http://rs.tdwg.org/dwc/terms/eventDate"/>
    <field index="5" term="http://rs.tdwg.org/dwc/terms/decimalLatitude"/>
    <field index="6" term="http://rs.tdwg.org/dwc/terms/decimalLongitude"/>
    <field index="7" term="http://rs.tdwg.org/dwc/terms/georeferenceRemarks"/>
  </core>
  <extension encoding="UTF-8" linesTerminatedBy="\r\n" fieldsTerminatedBy="," fieldsEnclosedBy="&quot;" ignoreHeaderLines="1" rowType="http://rs.tdwg.org/dwc/terms/Occurrence">
    <files>
      <location>occurrence.csv</location>
    </files>
    <coreid index="0" />
    <field index="1" term="http://rs.tdwg.org/dwc/terms/occurrenceID"/>    
    <field index="2" term="http://rs.tdwg.org/dwc/terms/basisOfRecord"/> 
    <field index="3" term="http://rs.tdwg.org/dwc/terms/scientificName"/>
    <field index="4" term="http://rs.tdwg.org/dwc/terms/taxonID"/>
    <field index="5" term="http://rs.tdwg.org/dwc/terms/nameAccordingTo"/>
    <field index="6" term="http://rs.tdwg.org/dwc/terms/scientificNameID"/>
  </extension>
  
  <extension encoding="UTF-8" linesTerminatedBy="\r\n" fieldsTerminatedBy="," fieldsEnclosedBy="&quot;" ignoreHeaderLines="1" rowType="http://rs.tdwg.org/dwc/terms/MeasurementOrFact">
    <files>
      <location>extendedmeasurementorfact.csv</location>
    </files>
    <coreid index="0" />
    <field index="1" term="http://rs.tdwg.org/dwc/terms/occurrenceID"/>    
    <field index="2" term="http://rs.tdwg.org/dwc/terms/measurementType"/>
    <field index="3" term="http://rs.tdwg.org/dwc/terms/measurementTypeID"/>
    <field index="4" term="http://rs.tdwg.org/dwc/terms/measurementValue"/>
    <field index="5" term="http://rs.tdwg.org/dwc/terms/measurementUnit"/>
  </extension>
</archive>
