Skip to content

Instantly share code, notes, and snippets.

@sdellis
Created January 26, 2016 20:10
Show Gist options
  • Save sdellis/4695a9ef5d1c1cb80aa7 to your computer and use it in GitHub Desktop.
Save sdellis/4695a9ef5d1c1cb80aa7 to your computer and use it in GitHub Desktop.
DSC2 Data Scenarios
<?xml version="1.0" encoding="UTF-8"?>
<!-- first dsc
Note that in addition to the notes in these examples, others might be present as usual (e.g. physfacet, userestrict etc.)-->
<ead>
<dsc type="combined">
<!-- Scenario 1: Nothing changes -->
<c level="file" id="C1459_c4">
<did>
<unittitle altrender="Poet's Harvest Home">
<emph render="italic">A Poet's Harvest Home</emph>
</unittitle>
<unitdate normal="1878/1893" type="inclusive">circa
1878-1893</unitdate>
<physdesc>
<extent type="computed" unit="folders">7 folders</extent>
</physdesc>
</did>
<c level="item" id="C1459_c5">
<did>
<unittitle
altrender="Poet's Harvest Home, Complete Bound Manuscript, Inscribed to Alice Boyd">
<emph render="italic">A Poet's Harvest Home</emph>, Complete
Bound Manuscript, Inscribed to Alice Boyd</unittitle>
<container id="cid264918007" type="box">1</container>
<container parent="cid264918007" type="folder">1</container>
<unitdate type="inclusive" normal="1881-08/1881-09">1881
August-September</unitdate>
<physdesc>
<physfacet>Bound manuscript</physfacet>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>Inscribed to Alice Boyd of Penkill Castle, in commemoration
of the publication of <emph render="italic">A Poet's Harvest
Home</emph> on April 15, 1882. William Bell Scott wrote
out the poems by hand in August and September of 1881 at
Penkill Castle. While some poems contain crossed out lines,
annotations, and edits, the layout of this manuscript,
including placed proofs of woodcut illustrations, is a very
close mock-up of the published version. Bound in green
morocco by Roger de Coverley.</p>
</scopecontent>
</c>
<!-- Scenario 2: container managed in dsc[2]. Component contains only one container. -->
<c level="file" id="C1459_c6">
<did>
<unittitle>Early Drafts and Finished Poems Published in <emph
render="italic">A Poet's Harvest Home</emph> and Various
Journals</unittitle>
<container><ptr target="C1459_i1"/></container>
<unitdate normal="1878/1884" type="inclusive">circa
1878-1884</unitdate>
<physdesc>
<extent type="computed" unit="boxes">1 box</extent>
</physdesc>
</did>
<scopecontent>
<p>These poems, originally housed together, were produced in
1878-1884, during a period of intense writing at Penkill
Castle, following the publication of <emph render="italic"
>Poems</emph> in 1875. Most were later published in
<emph render="italic">A Poet's Harvest Home</emph>.
Titles of individual poems include: "1881," "A Dieu,"
"Continuity of Life," "Despondency," "Destiny," "Ego,"
"Infancy," "Love and Death," "The Madonna di San Sisto,"
"Morality," "My Rhyme of Love," "Of Love, III. One Day," "Of
Love, IV. Another Day," "Of Poets, IV. Dante and Beatrice,"
"St. Dominic," "The Twenty Fifth Anniversary," and an
untitled poem beginning, "A. B. and C. are well known
men..."</p>
</scopecontent>
</c>
<!-- Scenario 3: container managed in dsc[2]. Component contains multiple retrieval units. This markup replaces previous box ranges, e.g. <container type="box">1-3</box>
When a patron requests the resource descibed by the component, Aeon should receive discrete requests for each box.
For the patron, the request dialog should display all boxes, with checkboxes (all checked by default) that allow for selective un-checking.-->
<c level="file" id="C1459_c7">
<did>
<unittitle>"Burns: His Cottage and Monument," Drafts of Two
Different Versions</unittitle>
<container><ptr target="C1459_i2"/></container>
<container><ptr target="C1459_i3"/></container>
<container><ptr target="C1459_i4"/></container>
<unitdate>undated</unitdate>
<physdesc>
<extent type="computed" unit="boxes">3 boxes</extent>
</physdesc>
</did>
<scopecontent>
<p>The second version of this poem was used in <emph
render="italic">A Poet's Harvest Home</emph>.</p>
</scopecontent>
</c>
<!-- Scenario 4: container managed in dsc[2]. Component contains folder with @parent. -->
<c level="item" id="C1459_c8">
<did>
<unittitle>"Iona to Erin", Early Version of "St. Columba," Draft
of Poem</unittitle>
<container parent="C1459_i5" type="folder">4</container>
<unitdate>undated</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
</c>
</c>
<!-- Scenario 5: container managed in dsc[2]. Component contains unitid and container elements, which are meaningful only in combination. (The unitid situation is a legacy issue.)
This could include multiple containers with pointers (e.g. c10) as well as subordinate containers (c11 and c12).
The display needs to show both unitid[@type="itemnumber"] AND the container information, and both need to be sent to Aeon.-->
<c level="item" id="C1459_c9">
<did>
<unitid type="itemnumber">45</unitid>
<unittitle
altrender="Norns, Draft of Poem, Published as The Norns Watering Ygghrasill"
>"The Norns," Draft of Poem, Published as "The Norns
Watering Ygghrasill"</unittitle>
<container><ptr target="C1459_i6"/></container>
<unitdate>undated</unitdate>
<physdesc>
<extent type="computed" unit="boxes">1 box</extent>
</physdesc>
</did>
</c>
<c level="item" id="C1459_c10">
<did>
<unitid type="itemnumber">46</unitid>
<unittitle>"Ode To The Sickle", Draft of Part IV</unittitle>
<container><ptr target="C1459_i7"/></container>
<container><ptr target="C1459_i8"/></container>
<unitdate>undated</unitdate>
<physdesc>
<extent type="computed" unit="boxes">2 boxes</extent>
</physdesc>
</did>
</c>
<c level="item" id="C1459_c11">
<did>
<unitid type="itemnumber">47</unitid>
<unittitle>
<emph render="italic"> Albert Dürer: His Life and Works</emph>,
Binding Dummy</unittitle>
<container parent="C1459_i10" type="folder">2</container>
<unitdate normal="1868/1868">1868</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>[Albrecht Dürer]. Includes three notes by William Bell Scott
tipped into the front cover.</p>
</scopecontent>
</c>
<c level="item" id="C1459_c12">
<did>
<unittitle
altrender="Artist of the Hypnerotomachia Poliphili, 1499, Draft of Essay"
>"The Artist of the Hypnerotomachia Poliphili, 1499," Draft of
Essay</unittitle>
<container parent="C1459_i10" type="folio">27</container>
<unitdate normal="1880-03-27">1880 March 27</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>Published in the <emph render="italic">Athenaeum</emph>, no.
2735, pages 415-416.</p>
</scopecontent>
</c>
<!-- Scenario 6: container managed in dsc[2]. Component contains unitid and NO container elements. -->
<c level="item" id="C1459_c13">
<did>
<unitid type="itemnumber"><ptr target="C1459_i9"/></unitid>
<unittitle>"Ode To The Sickle", Page Proof</unittitle>
<unitdate normal="1893/1893">1893</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
</c>
</dsc>
<!-- Scenario 7: accessrestrict note is present on the component. If no accessrestrict is present, the closest inherited accessrestrict from looking up the tree applies. (I believe this is already the case).
@type has 3 possible values:
remotestorage
closed
curatorreview
-->
<!--value "remotestorage" -->
<c level="file" id="C1459_c14">
<did>
<unittitle>Autobiographical Notes of the Life of William Bell
Scott</unittitle>
<unitdate normal="1879/1892" type="inclusive">1879-1892</unitdate>
<container><ptr target="C1459_i11"></ptr></container>
<container><ptr target="C1459_i12"></ptr></container>
<container><ptr target="C1459_i13"></ptr></container>
<physdesc>
<extent type="computed" unit="folders">3 folders</extent>
</physdesc>
</did>
</c>
<accessrestrict type="remotestorage"><p>This material is stored off-site. Please allow 48-72 hrs for retrieval.
</p></accessrestrict>
<!-- value "closed": This material cannot be requested under any circumstances. Display note when patron tries to request this item, and log request attempt in external file
(I forget how you were going to accomplish this awesome feat; maybe when they close the dialog the button sends something in the background?-->
<c level="item" id="C1459_c15">
<did>
<unittitle>Autobiography Fragment with Four Drawings</unittitle>
<container><ptr target="C1459_i14"/></container>
<unitdate normal="1880/1880">circa 1880</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>Related to Chapter XIX of Scott's Autobiography, "Penkill and
Miss Boyd, 1880."</p>
</scopecontent>
<accessrestrict type="closed"><p>This material is closed until 2077 per donor stipulation.</p></accessrestrict>
</c>
<!-- value "curatorreview": This means the material is closed to most, but may be requestable subject to special permission from the curator. Aeon should receive information that allows this to go to a "for review" queue.-->
<c level="item" id="C1459_c16">
<did>
<unittitle>Notes Concerning Stephanus Caesenas
Peregrini</unittitle>
<container><ptr target="C1459_i15"/></container>
<unitdate normal="1879/1880" type="inclusive">circa
1879-1880</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>Related to Chapter XVIII of Scott's Autobiography, "Artistic
Inquiries, 1879-1880."</p>
</scopecontent>
<accessrestrict type="curatorreview"><p>Closed. Consult curator for access.</p></accessrestrict>
</c>
<!-- value closed, element altformavail[@type="accesscopies"]/p/extptr present: here it gets interesting. We have closed and semi-closed material with surrogates that are available for paging.
Surrogate containers will be managed in a separate file that contains basically just a dsc[2]. (We need to talk about an appropriate directory to store that file in).
NB, the p in altformavail gives us considerable pain, but it's required.
If the material is closed but surrogates are available for requesting (per the presence of the extptr), then the patron should get a choice in the request dialog:
1) abandon the request (log in external file just like other closed material)
2) proceed with requesting surrogates: the request for box CX_i00 gets sent to Aeon.
-->
<c level="item" id="C1459_c17">
<did>
<unittitle>
<emph render="italic">Autobiographical Notes of the Life of
William Bell Scott</emph> manuscript notes</unittitle>
<container><ptr target="C1459_i16"/></container>
<unitdate normal="1892/1892">1892</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<accessrestrict type="closed"><p>Material is closed. Patrons are required to use access copies.</p></accessrestrict>
<altformavail type="accesscopies"><p><extptr href="CX_i00"></extptr></p></altformavail>
</c>
<!-- value curatorreview, element altformavail/p/extptr present
If the material is subject to curatorial review but surrogates are available for requesting (per the presence of the extptr), then the patron should get a choice in the request dialog:
1) proceed with requesting the closed material: the request for box C1459_i17 gets sent to Aeon, with identifying information so it can get routed to a review queue.
2) proceed with requesting surrogates: the request for box CX_i000 gets sent to Aeon.-->
<c level="item" id="C1459_c18">
<did>
<unittitle>
<emph render="italic">Chorea Sancti Viti, or, Steps in the
Journey of Prince Legion: Twelve Designs</emph>
</unittitle>
<container><ptr target="C1459_i17"/></container>
<unitdate normal="1851/1851">1851</unitdate>
<physdesc>
<physfacet>Bound volume</physfacet>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<scopecontent>
<p>Contains engraved illustrations by William Bell Scott.</p>
</scopecontent>
<accessrestrict type="curatorreview"><p>Material is closed. Consult curator for access. Access copies are available. </p></accessrestrict>
<altformavail type="accesscopies"><p><extptr href="CX_i000"></extptr></p></altformavail>
</c>
<!-- Scenario 8: userestrict is present on the component. -->
<c level="item" id="C1459_c19">
<did>
<unittitle>"Christmas," Unfinished Draft of Poem</unittitle>
<container><ptr target="C1459_i17"/></container>
<unitdate normal="1830/1830">1830</unitdate>
<physdesc>
<extent type="computed" unit="items">1 item</extent>
</physdesc>
</did>
<accessrestrict type="closed"><p>Consult curator for access.</p></accessrestrict>
<userestrict><p>No photoduplication allowed.</p></userestrict>
</c>
<!-- dsc[2], type="physicalholdings": This is where containers are managed, inasmuch as we have managed them in the past (in Voyager).
The dsc[2] does not display; however, information from it (container type, container value, location) should display along with the information pulled from the descriptive (=dsc[1]) component
NB: When a physloc with @type="text" is present, that should display in addition to the code-based location display. It should also get passed to Aeon.-->
<dsc type="othertype" othertype="physicalholdings">
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i1">
<did>
<container type="box">N-000009</container>
<unitid type="barcode">32101036940839</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i2">
<did>
<container type="box">N-000010</container>
<unitid type="barcode">32101036940846</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i3">
<did>
<container type="box">N-000011</container>
<unitid type="barcode">32101036940853</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i4">
<did>
<container type="box">N-000012</container>
<unitid type="barcode">32101036940860</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i5">
<did>
<container type="box">N-000013</container>
<unitid type="barcode">32101036940867</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i6">
<did>
<container type="volume">1</container>
<unitid type="barcode">32101036940874</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i7">
<did>
<container type="volume">1</container>
<unitid type="barcode">32101036940874</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i8">
<did>
<container type="volume">2</container>
<unitid type="barcode">32101036940874</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i9">
<did>
<container type="unitid">Fredeman MS.13</container>
<unitid type="barcode">32101036940881</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i10">
<did>
<container type="volume">4</container>
<unitid type="barcode">32101036940888</unitid>
<physloc type="code">mss</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i11">
<did>
<container type="box">1</container>
<unitid type="barcode">32101036940895</unitid>
<physloc type="code">rcpxm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i12">
<did>
<container type="box">2</container>
<unitid type="barcode">32101036940902</unitid>
<physloc type="code">rcpxm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i13">
<did>
<container type="box">3</container>
<unitid type="barcode">32101036940909</unitid>
<physloc type="code">rcpxm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i14">
<did>
<container type="box">N-000013</container>
<unitid type="barcode">32101036940916</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i15">
<did>
<container type="box">N-000014</container>
<unitid type="barcode">32101036940923</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i16">
<did>
<container type="box">N-000015</container>
<unitid type="barcode">32101036940930</unitid>
<physloc type="code">hsvm</physloc>
</did>
</c>
<c level="otherlevel" otherlevel="physicalitem" id="C1459_i17">
<did>
<container type="box">N-000016</container>
<unitid type="barcode">32101036940937</unitid>
<physloc type="code">hsvm</physloc>
<physloc type="text">Check on top of the flat files. If it's not there, who knows.</physloc>
</did>
</c>
</dsc>
</ead>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment