Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(inventory-hierarchy): add Library code, Location id, material type #949

Merged
merged 7 commits into from
Feb 19, 2024
11 changes: 11 additions & 0 deletions ramls/examples/inventory-items-and-holdings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@
],
"location": {
"permanentLocation": {
"id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
"name": "Annex",
"campusName": "City Campus",
"libraryName": "Datalogisk Institut",
"libraryCode": "DI",
"institutionName": "Københavns Universitet",
"code": "KU/CC/DI/A"
},
"temporaryLocation": {
"id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
"name": "Annex",
"campusName": "City Campus",
"libraryName": "Datalogisk Institut",
"libraryCode": "DI",
"institutionName": "Københavns Universitet",
"code": "KU/CC/DI/A"
}
Expand Down Expand Up @@ -118,23 +122,29 @@
],
"location": {
"location": {
"id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
"name": "Annex",
"campusName": "City Campus",
"libraryName": "Datalogisk Institut",
"libraryCode": "DI",
"institutionName": "Københavns Universitet",
"code": "KU/CC/DI/A"
},
"permanentLocation": {
"id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
"name": "Annex",
"campusName": "City Campus",
"libraryName": "Datalogisk Institut",
"libraryCode": "DI",
"institutionName": "Københavns Universitet",
"code": "KU/CC/DI/A"
},
"temporaryLocation": {
"id": "d9cd0bed-1b49-4b5e-a7bd-064b8d177231",
"name": "Annex",
"campusName": "City Campus",
"libraryName": "Datalogisk Institut",
"libraryCode": "DI",
"institutionName": "Københavns Universitet",
"code": "KU/CC/DI/A"
}
Expand Down Expand Up @@ -163,6 +173,7 @@
"itemDamagedStatus": "Not Damaged",
"itemDamagedStatusDate": "2020-07-28T09:34:40.562Z",
"materialType": "book",
"materialTypeId": "059f3856-2659-45aa-b35a-e0b10d63141d",
"permanentLoanType": "Can circulate",
"temporaryLoanType": "Can circulate",
"electronicAccess": [
Expand Down
52 changes: 52 additions & 0 deletions ramls/inventory-hierarchy/inventory-instance-records.json
psmagin marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
"type": "object",
"description": "Permanent shelving location in which an item resides",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -73,6 +77,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand All @@ -94,6 +102,10 @@
"type": "object",
"description": "Temporary location, shelving location, or holding which is a physical place where items are stored, or an Online location",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -106,6 +118,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The code of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand All @@ -120,6 +136,10 @@
"type": "object",
"description": "Effective location, shelving location, or holding which is a physical place where items are stored, or an Online location",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -132,6 +152,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The code of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand Down Expand Up @@ -439,6 +463,10 @@
"type": "object",
"description": "Current home location for the item",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -451,6 +479,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The code of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand All @@ -465,6 +497,10 @@
"type": "object",
"description": "Permanent shelving location in which an item resides",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -477,6 +513,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The code of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand All @@ -491,6 +531,10 @@
"type": "object",
"description": "Temporary location, shelving location, or holding which is a physical place where items are stored, or an Online location",
"properties": {
"id": {
"description": "id of this (shelf) location record as UUID.",
"type": "string"
},
"name": {
"description": "Name of the (shelf) location",
"type": "string"
Expand All @@ -503,6 +547,10 @@
"description": "The name of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"libraryCode": {
"description": "The code of the library, the third-level location unit, this (shelf) location belongs to",
"type": "string"
},
"institutionName": {
"description": "The name of the institution, the first-level location unit, this (shelf) location belongs to",
"type": "string"
Expand Down Expand Up @@ -604,6 +652,10 @@
"description": "Define what type of thing the item is",
"type": "string"
},
"materialTypeId": {
"description": "Define what type id of thing the item is",
"type": "string"
},
"permanentLoanType": {
"description": "Default loan type for a given item. Loan types are tenant-defined",
"type": "string"
Expand Down
Loading
Loading