103 lines
5.0 KiB
Plaintext
103 lines
5.0 KiB
Plaintext
|
Although there were some changes in the metadata response format during the Madrid 2005 meeting, it was not thoroughly reviewed. Currently, a metadata response looks like:
|
||
|
|
||
|
<verbatim>
|
||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<response xmlns="http://res.tdwg.org/tapir/1.0"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://res.tdwg.org/tapir/1.0 http://ww2.biocase.org/svn/tapir/trunk/protocol/tapir.xsd">
|
||
|
<header>
|
||
|
<source accesspoint="http://accesspoint_url" sendtime="2005-11-11T12:23:56.023+01:00">
|
||
|
<software name="TAPIR_Implementation" version="1.0"/>
|
||
|
</source>
|
||
|
</header>
|
||
|
<metadata>
|
||
|
<label>Australian Fruit Flies</label>
|
||
|
<accesspoint>http://www.flies.au/pywrapper/flies</accesspoint>
|
||
|
<geoLocation lat="52.497806" long="13.438339"/>
|
||
|
<abstract>Australian fruit flies collection of georeferenced records observations</abstract>
|
||
|
<keywords>fuit flies observation australia diptera Tephritidae</keywords>
|
||
|
<citation>Australian Fruit Flies</citation>
|
||
|
<rights>free</rights>
|
||
|
<lastUpdated>2006-01-01T00:00:00</lastUpdated>
|
||
|
<indexingPreferences startTime="09:30:00Z" maxDuration="PT1H" frequency="P1M" MetadataReview>
|
||
|
<relatedEntities>
|
||
|
<entity>
|
||
|
<name>TAPIR working group</name>
|
||
|
<contact>
|
||
|
<name>Frank Sinatra</name>
|
||
|
<email>f.sinatra@tapir.com</email>
|
||
|
<role>system administrator</role>
|
||
|
</contact>
|
||
|
<role>Hosting Provider</role>
|
||
|
</entity>
|
||
|
</relatedEntities>
|
||
|
</metadata>
|
||
|
</response>
|
||
|
</verbatim>
|
||
|
|
||
|
However, many elements overlap with other elements from well-known schemas like DublinCore and GeoRSS. If we encode such contents using these other schema elements, a metadata response could look like:
|
||
|
|
||
|
<verbatim>
|
||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<response xmlns="http://res.tdwg.org/tapir/1.0"
|
||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||
|
xmlns:dct="http://purl.org/dc/terms/"
|
||
|
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
|
||
|
xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://res.tdwg.org/tapir/1.0 http://ww2.biocase.org/svn/tapir/trunk/protocol/tapir.xsd">
|
||
|
<header xmlns="">
|
||
|
<source accesspoint="http://accesspoint_url" sendtime="2005-11-11T12:23:56.023+01:00">
|
||
|
<software name="TAPIR_Implementation" version="1.0"/>
|
||
|
</source>
|
||
|
</header>
|
||
|
<metadata>
|
||
|
<dc:title>Australian Fruit Flies</dc:title>
|
||
|
<dc:type>http://purl.org/dc/dcmitype/Service</dc:type>
|
||
|
<accesspoint xmlns="">http://www.flies.au/pywrapper/flies</accesspoint>
|
||
|
<dc:description>Australian fruit flies collection of georeferenced records observations</dc:description>
|
||
|
<dc:language>EN</dc:language>
|
||
|
<dc:subject>fuit flies observation australia diptera Tephritidae</dc:subject>
|
||
|
<dct:bibliographicCitation>Australian Fruit Flies TAPIR provider</dct:bibliographicCitation>
|
||
|
<dc:rights>free</dc:rights>
|
||
|
<dct:modified>2006-01-01T00:00:00</dct:modified>
|
||
|
<indexingPreferences xmlns="" startTime="09:30:00Z" maxDuration="PT1H" frequency="P1M" MetadataReview>
|
||
|
<relatedEntity xmlns="">
|
||
|
<role>technical host</role>
|
||
|
<entity>
|
||
|
<identifier>someGUID</identifier>
|
||
|
<name>TAPIR working group</name>
|
||
|
<acronym>TAPIR-WG</acronym>
|
||
|
<logoURL>http://somehost/entitylogo.png</logoURL>
|
||
|
<description>Description about the TAPIR working group</description>
|
||
|
<relatedInformation>http://somehost/moreinfo</relatedInformation>
|
||
|
<hasContact>
|
||
|
<role>system administrator</role>
|
||
|
<vcard:VCARD>
|
||
|
<vcard:FN>Frank Sinatra</vcard:FN>
|
||
|
<vcard:TITLE>Main singer</vcard:TITLE>
|
||
|
<vcard:TEL>some phone number</vcard:TEL>
|
||
|
<vcard:EMAIL>f.sinatra@tapir.com</vcard:EMAIL>
|
||
|
</vcard:VCARD>
|
||
|
</hasContact>
|
||
|
<geo:Point>
|
||
|
<geo:lat>45.256</geo:lat>
|
||
|
<geo:long>-71.92</geo:long>
|
||
|
</geo:Point>
|
||
|
</entity>
|
||
|
</relatedEntity>
|
||
|
</metadata>
|
||
|
</response>
|
||
|
</verbatim>
|
||
|
|
||
|
|
||
|
|
||
|
---+ Roles
|
||
|
Both entities and contacts are repeatable and have a role assigned to them. The role is based on a simpletype union between an enumeration (to have a common base set of roles) and xsd:string to allow any other role as well.
|
||
|
---+++ entityRoleType
|
||
|
* data supplier
|
||
|
* technical host
|
||
|
---+++ contactRoleType
|
||
|
* data administrator
|
||
|
* system administrator
|