Skip to content

Commit

Permalink
CSPACE-6471: Updated test files to deal with schema changes to condit…
Browse files Browse the repository at this point in the history
…ion check record.
  • Loading branch information
Richard Millet committed Nov 12, 2014
1 parent 3fa686d commit 6665bdc
Show file tree
Hide file tree
Showing 4 changed files with 604 additions and 936 deletions.
Original file line number Diff line number Diff line change
@@ -1,78 +1,58 @@
{
"objectAuditCategory": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"completenessGroup": [
{
"_primary": true,
"completeness": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(complete)'Complete'",
"completenessDate": "2012-10-19T22:38:43Z",
"completenessNote": "Object is complete."
}
],
"conditionCheckGroup": [
{
"_primary": true,
"condition": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(needsnowork)'Needs no work'",
"conditionDate": "2012-10-19T22:38:43Z",
"conditionNote": "Object is complete."
}
],
"conservationTreatmentPriority": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"envConditionNoteGroup": [
{
"_primary": true,
"envConditionNote": "Environmental condition is supurb.",
"envConditionNoteDate": "2012-10-19T22:38:43Z"
}
],
"nextConditionCheckDate": "2012-14-19T22:38:43Z",
"techAssessmentGroup": [
{
"_primary": true,
"techAssessment": "Environmental condition is supurb.",
"techAssessmentDate": "2012-10-19T22:38:43Z"
}
],
"hazardGroup": [
{
"_primary": true,
"hazard": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(radioactive)'Radioactive'",
"hazardDate": "2012-10-19T22:38:43Z",
"hazardNote": "Object needs to be extinguished occasionally."
}
],
"conditionCheckAssessmentDates": [
{
"_primary": true,
"conditionCheckAssessmentDate":"2010-08-19T22:38:43Z"
}
],
"conditionCheckMethod": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(observed)'Observed'",
"conditionCheckNote": "It's ok",
"conditionCheckReason": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(newacquisition)'New acquisition'",
"conditionCheckRefNumber": "CC2013.001",
"legalReqsHeldGroup": [{
"_primary": true,
"legalReqsHeldBeginDate": "2010-10-19T22:38:43Z",
"legalReqsHeldRenewDate": "2013-10-19T22:38:43Z",
"legalReqsHeldEndDate": "2013-10-19T22:38:43Z",
"legalReqsHeld": "All of them.",
"legalReqsHeldNumber": "12345"
}],
"hazardGroup": [{
"_primary": true,
"hazardNote": "Object needs to be extinguished occasionally.",
"hazard": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(radioactive)'Radioactive'",
"hazardDate": "2012-10-19T22:38:43Z"
}],
"salvagePriorityCodeGroup": [{
"salvagePriorityCode": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"_primary": true,
"salvagePriorityCodeDate": "2011-10-19T22:38:43Z"
}],
"conditionCheckGroup": [{
"_primary": true,
"condition": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(needsnowork)'Needs no work'",
"conditionNote": "Object is complete.",
"conditionDate": "2012-10-19T22:38:43Z"
}],
"conditionChecker": "urn:cspace:org.collectionspace.demo:personauthorities:name(TestPersonAuth):person(JimChecker)'Jim Checker'",
"displayRecommendations": "show every other tuesday",
"envRecommendations": "pure oxygen only",
"handlingRecommendations": "use angel hair",
"specialRequirements": "none",
"packingRecommendations": "use the finest cork",
"conditionCheckAssessmentDate": "2010-08-19T22:38:43Z",
"securityRecommendations": "can you get superman?",
"specialRequirements": "none",
"envRecommendations": "pure oxygen only",
"techAssessmentGroup": [{
"_primary": true,
"techAssessment": "Environmental condition is supurb.",
"techAssessmentDate": "2012-10-19T22:38:43Z"
}],
"conditionCheckReason": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(newacquisition)'New acquisition'",
"conditionCheckNote": "It's ok",
"conservationTreatmentPriority": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"storageRequirements": "place inside the fortress of solitude",
"salvagePriorityCodeGroup": [
{
"_primary": true,
"salvagePriorityCode": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"salvagePriorityCodeDate": "2011-10-19T22:38:43Z"
}
],
"legalReqsHeldGroup": [
{
"_primary": true,
"legalReqsHeld": "All of them.",
"legalReqsHeldBeginDate": "2010-10-19T22:38:43Z",
"legalReqsHeldEndDate": "2013-10-19T22:38:43Z",
"legalReqsHeldNumber": "12345",
"legalReqsHeldRenewDate": "2013-10-19T22:38:43Z"
}
]
"displayRecommendations": "show every other tuesday",
"conditionCheckRefNumber": "CC2013.001",
"nextConditionCheckDate": "2012-14-19T22:38:43Z",
"objectAuditCategory": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'",
"completenessGroup": [{
"_primary": true,
"completeness": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(complete)'Complete'",
"completenessDate": "2012-10-19T22:38:43Z",
"completenessNote": "Object is complete."
}],
"handlingRecommendations": "use angel hair",
"envConditionNoteGroup": [{
"_primary": true,
"envConditionNoteDate": "2012-10-19T22:38:43Z",
"envConditionNote": "Environmental condition is supurb."
}]
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
<hazardNote>Object needs to be extinguished occasionally.</hazardNote>
</hazardGroup>
</hazardGroupList>
<conditionCheckAssessmentDates>
<conditionCheckAssessmentDate>2010-08-19T22:38:43Z</conditionCheckAssessmentDate>
</conditionCheckAssessmentDates>
<conditionCheckMethod>urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(observed)'Observed'</conditionCheckMethod>
<conditionCheckAssessmentDate>2010-08-19T22:38:43Z</conditionCheckAssessmentDate>
<conditionCheckNote>It's ok</conditionCheckNote>
<conditionCheckReason>urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(newacquisition)'New acquisition'</conditionCheckReason>
<conditionCheckRefNumber>CC2013.001</conditionCheckRefNumber>
Expand Down
Loading

0 comments on commit 6665bdc

Please sign in to comment.