The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 1563a340 authored by André Lahmann's avatar André Lahmann Committed by Demian Katz
Browse files

DAIA test fixtures

* added exact results from digesting daia.json and daia.xml with current DAIA driver from master as arrays for comparison
parent 24a20896
No related merge requests found
{
"timestamp" : "2015-03-18T11:49:40Z",
"version" : "0.5",
"document" : [
{
"href" : "http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081",
"item" : [
{
"department" : {
"href" : "http://www.example-library.edu",
"content" : "Example Library for DAIA Tests",
"id" : "http://uri.gbv.de/organization/isil/DE-000"
},
"href" : "http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081",
"label" : "ABC 12",
"id" : "http://uri.gbv.de/document/opac-de-000:epn:711134758",
"storage" : {
"content" : "Abteilung III"
},
"available" : [
{
"href" : "http://opac.example-library.edu/loan/REQ?EPN=711134758",
"delay" : "unknown",
"service" : "presentation"
},
{
"href" : "http://opac.example-library.edu/loan/REQ?EPN=711134758",
"delay" : "unknown",
"service" : "loan"
},
{
"href" : "http://opac.example-library.edu/loan/REQ?EPN=711134758",
"delay" : "unknown",
"service" : "interloan"
}
]
},
{
"department" : {
"href" : "http://www.example-library.edu",
"content" : "Example Library for DAIA Tests",
"id" : "http://uri.gbv.de/organization/isil/DE-000"
},
"href" : "http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081",
"label" : "DEF 34",
"id" : "http://uri.gbv.de/document/opac-de-000:epn:711134766",
"storage" : {
"content" : "Abteilung III"
},
"available" : [
{
"service" : "presentation"
},
{
"service" : "loan",
"limitation" : [
{
"content" : "mit Zustimmung"
}
]
},
{
"service" : "interloan",
"limitation" : [
{
"content" : "nur Kopie"
}
]
}
]
},
{
"department" : {
"href" : "http://www.example-library.edu",
"content" : "Example Library for DAIA Tests",
"id" : "http://uri.gbv.de/organization/isil/DE-000"
},
"href" : "http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081",
"label" : "GHI 56",
"id" : "http://uri.gbv.de/document/opac-de-000:epn:7111347777",
"storage" : {
"content" : "Abteilung III"
},
"unavailable" : [
{
"expected" : "2115-02-09",
"service" : "presentation"
},
{
"expected" : "2115-02-09",
"service" : "loan"
},
{
"expected" : "2115-02-09",
"service" : "interloan"
}
]
}
],
"id" : "http://uri.gbv.de/document/opac-de-000:ppn:027586081"
}
],
"institution" : {
"href" : "http://www.example-library.edu",
"content" : "Example Library for DAIA Tests",
"id" : "http://uri.gbv.de/organization/isil/DE-000"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/daia.xsl"?>
<daia xmlns="http://ws.gbv.de/daia/" timestamp="2015-03-18T11:49:40Z" version="0.5">
<institution href="http://www.example-library.edu" id="http://uri.gbv.de/organization/isil/DE-000">Example Library for DAIA Tests</institution>
<document href="http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081" id="http://uri.gbv.de/document/opac-de-000:ppn:027586081">
<item href="http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081" id="http://uri.gbv.de/document/opac-de-000:epn:711134758">
<label>ABC 12</label>
<department href="http://www.example-library.edu" id="http://uri.gbv.de/organization/isil/DE-000">Example Library for DAIA Tests</department>
<storage>Abteilung III</storage>
<available href="http://opac.example-library.edu/loan/REQ?EPN=711134758" delay="unknown" service="presentation" />
<available href="http://opac.example-library.edu/loan/REQ?EPN=711134758" delay="unknown" service="loan" />
<available href="http://opac.example-library.edu/loan/REQ?EPN=711134758" delay="unknown" service="interloan" />
</item>
<item href="http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081" id="http://uri.gbv.de/document/opac-de-000:epn:711134766">
<label>DEF 34</label>
<department href="http://www.example-library.edu" id="http://uri.gbv.de/organization/isil/DE-000">Example Library for DAIA Tests</department>
<storage>Abteilung III</storage>
<available service="presentation" />
<available service="loan">
<limitation>mit Zustimmung</limitation>
</available>
<available service="interloan">
<limitation>nur Kopie</limitation>
</available>
</item>
<item href="http://opac.example-library.edu/DB=1/PPNSET?PPN=027586081" id="http://uri.gbv.de/document/opac-de-000:epn:7111347777">
<label>GHI 56</label>
<department href="http://www.example-library.edu" id="http://uri.gbv.de/organization/isil/DE-000">Example Library for DAIA Tests</department>
<storage>Abteilung III</storage>
<unavailable expected="2115-02-09" service="presentation" />
<unavailable expected="2115-02-09" service="loan" />
<unavailable expected="2115-02-09" service="interloan" />
</item>
</document>
</daia>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment