Ero sivun ”GPX-skeema” versioiden välillä
Kohteesta Geocaching Wiki Finland
p (kuvauskenttä) |
(<xsd:annotation>) |
||
Rivi 1: | Rivi 1: | ||
<pre> | <pre> | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
− | < | + | <xsd:annotation>finncache.xsd version 1.0: Geocaching.fi GPX</xsd:annotation> |
<xs:schema id="GCFIGPX" targetNamespace="http://www.geocaching.fi/GPX/1/0" xmlns:mstns="http://www.topografix.com/GPX/1/1" xmlns="http://www.geocaching.fi/GPX/1/0" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" xmlns:gcfi="http://www.geocaching.fi/GPX/1/0"> | <xs:schema id="GCFIGPX" targetNamespace="http://www.geocaching.fi/GPX/1/0" xmlns:mstns="http://www.topografix.com/GPX/1/1" xmlns="http://www.geocaching.fi/GPX/1/0" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" xmlns:gcfi="http://www.geocaching.fi/GPX/1/0"> | ||
<xs:element name="ficache"> | <xs:element name="ficache"> | ||
Rivi 7: | Rivi 7: | ||
<xs:all> | <xs:all> | ||
<xs:element name="name" type="xs:string" minOccurs="0"/> | <xs:element name="name" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>User name of the hider</xsd:annotation> |
<xs:element name="owner" type="xs:string" minOccurs="0"/> | <xs:element name="owner" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>D and T are on a 1 to 5 scale. 1 being easiest. Can be incremented by 0.5</xsd:annotation> |
<xs:element name="difficulty" type="xs:string" minOccurs="0"/> | <xs:element name="difficulty" type="xs:string" minOccurs="0"/> | ||
<xs:element name="terrain" type="xs:string" minOccurs="0"/> | <xs:element name="terrain" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Municipality</xsd:annotation> |
<xs:element name="city" type="xs:string" minOccurs="0"/> | <xs:element name="city" type="xs:string" minOccurs="0"/> | ||
+ | <xsd:annotation>Long textual description</xsd:annotation> | ||
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="unbounded"> | <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="unbounded"> | ||
− | < | + | <xsd:annotation>Cleartext even if ROT13 in system</xsd:annotation> |
<xs:element name="hint" type="xs:string" minOccurs="0"/> | <xs:element name="hint" type="xs:string" minOccurs="0"/> | ||
<xs:element name="logs" minOccurs="0" maxOccurs="unbounded"> | <xs:element name="logs" minOccurs="0" maxOccurs="unbounded"> | ||
Rivi 23: | Rivi 24: | ||
<xs:complexType> | <xs:complexType> | ||
<xs:all> | <xs:all> | ||
− | < | + | <xsd:annotation>Log date dd.mm.yyyy</xsd:annotation> |
<xs:element name="date" type="xs:string" minOccurs="0"/> | <xs:element name="date" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Log time hh.mm</xsd:annotation> |
<xs:element name="time" type="xs:string" minOccurs="0"/> | <xs:element name="time" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Log type: Found, DNF, Note, FTF</xsd:annotation> |
<xs:element name="type" type="xs:string" minOccurs="0"/> | <xs:element name="type" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>User name</xsd:annotation> |
<xs:element name="user" type="xs:string" minOccurs="0"/> | <xs:element name="user" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Rating on 1 to 5 scale. 5 being best</xsd:annotation> |
<xs:element name="rating" type="xs:string" minOccurs="0"/> | <xs:element name="rating" type="xs:string" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Textual contents of the log entry</xsd:annotation> |
<xs:element name="entry" type="xs:string" nillable="true" minOccurs="0"/> | <xs:element name="entry" type="xs:string" nillable="true" minOccurs="0"/> | ||
− | < | + | <xsd:annotation>Support for adding a waypoint to a log</xsd:annotation> |
<xs:element name="wpt" minOccurs="0" maxOccurs="unbounded"> | <xs:element name="wpt" minOccurs="0" maxOccurs="unbounded"> | ||
<xs:complexType> | <xs:complexType> | ||
Rivi 48: | Rivi 49: | ||
</xs:all> | </xs:all> | ||
</xs:complexType> | </xs:complexType> | ||
− | </xs:element | + | </xs:element> |
</xs:all> | </xs:all> | ||
</xs:complexType> | </xs:complexType> |
Versio 12. kesäkuuta 2006 kello 16.22
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xsd:annotation>finncache.xsd version 1.0: Geocaching.fi GPX</xsd:annotation> <xs:schema id="GCFIGPX" targetNamespace="http://www.geocaching.fi/GPX/1/0" xmlns:mstns="http://www.topografix.com/GPX/1/1" xmlns="http://www.geocaching.fi/GPX/1/0" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" xmlns:gcfi="http://www.geocaching.fi/GPX/1/0"> <xs:element name="ficache"> <xs:complexType> <xs:all> <xs:element name="name" type="xs:string" minOccurs="0"/> <xsd:annotation>User name of the hider</xsd:annotation> <xs:element name="owner" type="xs:string" minOccurs="0"/> <xsd:annotation>D and T are on a 1 to 5 scale. 1 being easiest. Can be incremented by 0.5</xsd:annotation> <xs:element name="difficulty" type="xs:string" minOccurs="0"/> <xs:element name="terrain" type="xs:string" minOccurs="0"/> <xsd:annotation>Municipality</xsd:annotation> <xs:element name="city" type="xs:string" minOccurs="0"/> <xsd:annotation>Long textual description</xsd:annotation> <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation>Cleartext even if ROT13 in system</xsd:annotation> <xs:element name="hint" type="xs:string" minOccurs="0"/> <xs:element name="logs" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xs:element name="log" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:all> <xsd:annotation>Log date dd.mm.yyyy</xsd:annotation> <xs:element name="date" type="xs:string" minOccurs="0"/> <xsd:annotation>Log time hh.mm</xsd:annotation> <xs:element name="time" type="xs:string" minOccurs="0"/> <xsd:annotation>Log type: Found, DNF, Note, FTF</xsd:annotation> <xs:element name="type" type="xs:string" minOccurs="0"/> <xsd:annotation>User name</xsd:annotation> <xs:element name="user" type="xs:string" minOccurs="0"/> <xsd:annotation>Rating on 1 to 5 scale. 5 being best</xsd:annotation> <xs:element name="rating" type="xs:string" minOccurs="0"/> <xsd:annotation>Textual contents of the log entry</xsd:annotation> <xs:element name="entry" type="xs:string" nillable="true" minOccurs="0"/> <xsd:annotation>Support for adding a waypoint to a log</xsd:annotation> <xs:element name="wpt" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="lat" form="unqualified" type="xs:string"/> <xs:attribute name="lon" form="unqualified" type="xs:string"/> </xs:complexType> </xs:element> </xs:all> <xs:attribute name="id" form="unqualified" type="xs:string"/> </xs:complexType> </xs:element> </xs:all> </xs:complexType> </xs:element> </xs:all> </xs:complexType> </xs:element> </xs:schema>