Create a MARC authority record via quickMARC UI
Feature Overview
Catalogers need a way to create a MARC authority record via the quickMARC UI to support original cataloging workflows.
Use cases: As a cataloger, I need to be able to create new authority records so that I can:
- Create headings that more closely align to the mission/objectives of my institution (locally created/managed)
- Create headings that do not yet exist in external databases
- Create records to distribute to other libraries as part of a standard database (as the distributing agency)
- Create records to contribute to a standard/external database as part of cooperative cataloging (as the contributing agency)
- Create records for eventual replacement by external record
Requirements
- Ability to configure local authority files
- 001 prefix + starting number
- Authority file name
- Ability to create authority records for a standard file
- Ability to create new authority record via UI
- Ability to select which authority file to add the new record to (i.e., specify 001 generation instructions)
- Ability to update authority file
Additional resources:
Technical Design
Architecture
Spike: Investigate feasibility of local authority source support
Database Schema
- Add sequence_name varchar field to authority_source_file table.
- Add selectable boolean field to authority_source_file table.
- Will require to create/delete sequences in runtime (suggested format for sequence name is: hrid_authority_local_file_{prefix}_seq).
API Endpoints
Method | Path | Module | Change | Description |
---|---|---|---|---|
POST | /authority-source-files/{id}/hrid | mod-entities-links | NEW | Triggers sequence created for authority source file and returning next available HRID. |
POST | /records-editor/records | mod-quick-marc | UPDATE | Now supports Authority record creation. |
POST | /authority-source-files | mod-entities-links | UPDATE | Now could create only records with source = 'local' and specifying start number for sequence. |
PUT | /authority-source-files/{id} | mod-entities-links | DELETE | It's not possible to update a whole authority source file record. |
PATCH | /authority-source-files/{id} | mod-entities-links | UPDATE | Now it's possible to update only several fields. |
Data Flow
Development Tasks
- mod-entities-links:
- Update authority-source-files API
- Create new schema for POST request body. Only records with "local" source and one prefix could be created.
- Create new schema for PATCH request body. Only several fields could be changed in already existed file.
- Delete PUT endpoint as it is not possible to update whole record.
- Update GET endpoints to include new fields.
- Create new endpoint /authority-source-files/{id}/hrid
- Update authority-source-files API
- mod-di-converter-storage
- Create default profile for authority creation via quickMarc.
- mod-quick-marc
- Update create flow to support new Authority creation.
Additional info
POST /authority-source-files request body:
PATCH /authority-source-files/{id} request body:
POST /authority-source-files/{id}/hrid respose body:
Testing
Test Cases
- Test case 1
- Test case 2
- ...
Performance testing
Not applicable for the feature
Load testing
Not applicable for the feature???
Deployment
Deployment notes
Describe the deployment process.
Migration
Have to be done in scope of module migration.
Documentation
Provide links to or include any documentation related to the feature, such as API documentation or user guides.
Dependencies
No depencencies
Risks and Mitigations
Identify potential risks associated with the feature and describe mitigation strategies.