Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
Core: F - Sprint 103, Prokopovych - Sprint 104
-
2
-
Prokopovych
Description
holdingsrecordssource.json is defined as:
PS C:\Temp\FOLIO\mod-inventory-storage\ramls> cat holdingsrecordssource.json { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A holdings records source", "type": "object", "properties": { "id": { "type": "string", "description": "The unique ID of the holdings records source; UUID", "$ref": "uuid.json" }, "name": { "type": "string", "description": "Name of the holdings records source" }, "source": { "enum": [ "folio", "local" ], "description": "The holdings records source" }, "metadata": { "type": "object", "$ref": "raml-util/schemas/metadata.schema", "readonly": true } }, "required": [ "name" ] }
Can you add a type property of string to the source property like so?
"source": { "type": "string", "enum": [ "folio", "local" ], "description": "The holdings records source" },
enum properties in the other JSON schemas all seem to define a type for the field as well. I'm using the type in a code generation tool that I created.
I wonder why these fields aren't just in the holdings table, but, that's another issue.
TestRail: Results
Attachments
Issue Links
- relates to
-
MODINVSTOR-542 Holdings Source: add to Accordion Administrative data in details, edit
-
- Closed
-
-
MODINVSTOR-590 Setting > Inventory > Holdings > Holdings source, predefined values (FOLIO, MARC)
-
- Closed
-