Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ramls/loan-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
"description": "Number of items allowed",
"minimum": 1,
"maximum": 9999
},
"forUseAtLocation": {
"type": "boolean",
"description": "Indicates that loaned items must be used in the library, i.e. in a reading room"
},
"holdShelfExpiryPeriodForUseAtLocation" :{
"type": "object",
"$ref": "time-period.json",
"description": "expiration period for items on the hold shelf for use at the location"
}
}
},
Expand Down
20 changes: 20 additions & 0 deletions ramls/loan.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@
},
"additionalProperties": false
},
"forUseAtLocation": {
"description": "Status of loan/item that is to be used in the library, i.e. in a reading room",
"type": "object",
"properties": {
"status": {
"description": "Indicates if the item is currently used by or being held for the patron",
"type": "string",
"enum": [
"In use",
"Held",
"Returned"
]
},
"statusDate": {
"description": "Date and time the status was registered",
"type": "string",
"format": "date-time"
}
}
},
"loanDate": {
"description": "Date time when the loan began (typically represented according to rfc3339 section-5.6. Has not had the date-time format validation applied as was not supported at point of introduction and would now be a breaking change)",
"type": "string"
Expand Down
Loading