source: osm/applications/editors/josm/plugins/trustosm/resources/trustXML.dtd@ 34656

Last change on this file since 34656 was 24389, checked in by retsam, 14 years ago

josm plugin trustosm sourcecode and files

File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--DTD for XML Format to store PGPSignatures and OSM-Object references-->
3
4<!-- ROOT-ELEMENT -->
5<!ELEMENT trustcollection (trustitem)*>
6<!ATTLIST trustcollection version CDATA #IMPLIED creator CDATA #IMPLIED >
7
8<!-- A trustitem stores all signatures that are referenced to a specific OSM-Object -->
9<!ELEMENT trustitem (signatures)*>
10<!-- a trustitem needs the referenced OSM-ID and the API-Type of that OSM-Object to find it faster in the OSM-DB -->
11<!ATTLIST trustitem
12osmid CDATA #REQUIRED
13type CDATA #REQUIRED
14>
15
16<!-- signatures are available for simple tags or geometry objects -->
17<!ELEMENT signatures (tags|geometry)*>
18
19<!-- tags contain all signed keys with their signature -->
20<!ELEMENT tags (key)*>
21
22<!-- every different value for a specified key gets its own openpgp tag -->
23<!ELEMENT key (openpgp)*>
24<!ATTLIST key k CDATA #REQUIRED >
25
26<!-- geometry contains all signed nodes with their signature -->
27<!ELEMENT geometry (node)*>
28
29<!-- every node gets its own openpgp tag -->
30<!ELEMENT node (openpgp)*>
31<!ATTLIST node id CDATA #REQUIRED >
32
33
34<!-- the openpgp tag is a clearsigned OpenPGP message -->
35<!ELEMENT openpgp (#PCDATA)*>
Note: See TracBrowser for help on using the repository browser.