NUDS:Exchange Format
From Digital Coins Network
NUDS Exchange is an xml schema designed to facilitate the exchange of numismatic information. It derives its element names from the Numismatic Database Standard.
[edit] Format
NUDS-Ex element names are derived from NUDS "field names" and are simply the names rendered as one word in all lower case. For example, "<denomination>Sestertius</denomination>" is a specific instantiation of the "Denomination" field in NUDS.
Each record is enclosed in a "record" element so that a more complete example of NUDS-Ex is:
<record>
<language>eng</language>
<collection>ANS</collection>
<collectionid>1935.117.226</collectionid>
<title>Athenian Tetradrachm</title>
<category>Ancient Greek</category>
<objecttype>coin</objecttype>
<denomination>Tetradrachm</denomination>
<material>AR</material>
<weight>17.13</weight>
<manufacture>Struck</manufacture>
<completeness>complete</completeness>
<geographic1>Attica</geographic1>
<mint>Athens</mint>
<fromdate>-454</fromdate>
<todate>-449</todate>
<obversetype>Athena head right.</obversetype>
<reversetype>Owl stg. r, twig, moon.</reversetype>
<reverselegend>ΑΘΕ</reverselegend>
<reference>Starr 196</reference>
<imageurl>http://www.numismatics.org/lookup.cgi?string=1935.117.226.image</imageurl>
</record>
[edit] Preserving Original Field Names
NUDS-Ex can use attributes to preserve the original field names as used in the source database. This is done by adding a "srcfield" attribute to an element. In the case of the coin above, which comes from the collection of the American Numismatic Society, a qualified NUDS-Ex record would look like:
<record>
<language>eng</language>
<collection>ANS</collection>
<collectionid srcfield="accnum">1935.117.226</collectionid>
<title>Athenian Tetradrachm</title>
<category>Ancient Greek</category>
<objecttype srcfield="objectype">coin</objecttype>
<denomination srcfield="denomination">Tetradrachm</denomination>
<material srcfield="material">AR</material>
<weight srcfield="weight">17.13</weight>
<manufacture srcfld="manufacture">Struck</manufacture>
<completeness>complete</completeness>
<geographic1 srcfield="region">Attica</geographic1>
<mint srcfield="mint">Athens</mint>
<fromdate srcfield="startdate">-454</fromdate>
<todate srcfield="enddate">-449</todate>
<obversetype srcfield="obversetype">Athena head right.</obversetype>
<reversetype srcfield="reversetype">Owl stg. r, twig, moon.</reversetype>
<reverselegend srcfield="reverselegend">ΑΘΕ</reverselegend>
<reference srcfield="reference">Starr 196</reference>
<imageurl>http://www.numismatics.org/lookup.cgi?string=1935.117.226.image</imageurl>
</record>
