diff --git a/ramls/loan-policy.json b/ramls/loan-policy.json index 6599c50e..c727b87c 100644 --- a/ramls/loan-policy.json +++ b/ramls/loan-policy.json @@ -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" } } }, diff --git a/ramls/loan.json b/ramls/loan.json index 136137f8..c7685b5f 100644 --- a/ramls/loan.json +++ b/ramls/loan.json @@ -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"