From b35f0aa672c77aca9b5490d3f3820b77029ad28d Mon Sep 17 00:00:00 2001 From: nielserik Date: Thu, 7 Aug 2025 08:33:15 +0200 Subject: [PATCH] CIRCSTORE-605 add loan type to request schema --- descriptors/ModuleDescriptor-template.json | 2 +- ramls/request.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 7bee39f3..4be0708f 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -196,7 +196,7 @@ }, { "id": "request-storage", - "version": "6.2", + "version": "6.3", "handlers": [ { "methods": ["GET"], diff --git a/ramls/request.json b/ramls/request.json index 86cb26b0..7238978f 100644 --- a/ramls/request.json +++ b/ramls/request.json @@ -151,6 +151,15 @@ "retrievalServicePointName": { "description": "Item's location primary service point name", "type": "string" + }, + "loanTypeId": { + "description": "Item's temporary loan type, if any, otherwise item's permanent loan type", + "type": "string", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "loanTypeName": { + "description": "Name of item's temporary loan type, if any, otherwise name of item's permanent loan type", + "type": "string" } }, "additionalProperties": false