quickMARC - MARC21 Validation
IN PROGRESS
Historical documentation
Table of Contents
NOTE: Validation rules only apply to Create/Edit/Derive via quickMARC. No impact to Data import.
Global Rules across all MARC record types
| # | MARC tag number / indicator / subfield | Action | Validation rule | UI error message or UI response | JIRA issue(s) |
|---|---|---|---|---|---|
| 1 | Add a new field > Empty MARC tag and subfield text boxes | UI response: Record is saved and the field is removed. | |||
| 2 | Add a new field >Empty subfield text box but MARC tag box is populated | Cannot save a field without a subfield | UI response: Record is updated/created and the field is removed. | ||
| 3 | Add a new field > Empty MARC tag but subfield text box has a value (example $c c2016) | Cannot save a field without a valid MARC tag | UI error message: Record cannot be saved. A MARC tag must contain three characters. | ||
| 4 | Add a new field > MARC tag is populated but subfield text box has only subfield code (example $c) | UI response: Record is saved and the field is removed. | |||
| 5 | Add a new field > MARC tag is populated but subfield text box has value but no subfield code (example c2016) | UI response: Subfield code $a is populated before the value | |||
| 6 | Saved field > Cleared MARC tag and subfield text boxes | UI response: Record is saved and the field is removed. | |||
| 7 | Saved field > MARC tag remains and subfield text box has been cleared | UI error message: Missing a subfield value for a MARC tag | |||
| 8 | Saved field >MARC tag remains and only subfield code entered (ex. $c) Assume all subfield values have been removed | Cannot save a field without a subfield value | UI response: Removes the entire field | ||
| 9 | Saved field > MARC tag remains and subfield code has been cleared but subfield value remains (ex. c2016) | non-Leader and fixed fields must have a subfield code | UI response: when only 1 subfield the record saves and populates the $a subfield code. UI response: when all the subfield codes are removed it saves the record and populates $a at the beginning of the subfield, the rest of the codes remain missing. | ||
| 10 | Saved field > MARC tag cleared but subfield text box has a value (ex. $c c2016) | Cannot save a field without a valid MARC tag | UI error message: Record cannot be saved. A MARC tag must contain three characters. | UIQM-148 | |
| 11 | Tag number | Must be 3 numbers only | UI error message: Record cannot be saved. A MARC tag must contain three characters. | ||
| 12 | Tag number | No symbols, alphabet. Just numbers. | UI error message: Invalid MARC tag. Please try again. | ||
| 13 | Indicator 1 |
| UI response: If not then auto-populate with / | ||
| 14 | Indicator 2 |
| UI response: If not then auto-populate with / | ||
| 15 | Subfield |
| UI response: Leading subfield code $a is autopopulated when adding a new field | ||
| 16 | 005 |
| UI response: I was able to add a 005 but it was greyed out, could not edit. Saving deleted it. | ||
| 17 | 008 |
| UIQM-459 - Getting issue details... STATUS | ||
| 18 |
| UI: error message Record cannot be saved with more than one 008 field | |||
| 19 | 999 f f $s $i |
| UI response: Automatically removes the duplicate 999 ff |
Bibliographic Record
| MARC field number / indicator / subfield | Validation rule | UI error message or UI response | JIRA issue(s) | |
|---|---|---|---|---|
| 1 | Leader |
| UI error message: Record cannot be saved. The Leader must contain 24 characters, including null spaces. | |
| 2 | Leader (editable positions) - invalid character entered | Must have a valid value for positions: 5, 6, 7, 8, 17, 18 and/or 19. See https://loc.gov/marc/bibliographic/bdleader.html | UI error message: Record cannot be saved. Please enter a valid Leader <<editable position number>>. Valid values are listed at https://loc.gov/marc/bibliographic/bdleader.html | |
| 3 | Leader (non-editable positions) | Only positions 5, 6, 7, 8, 17, 18 and/or 19 can be edited | UI error message: : Record cannot be saved. Please check the Leader. Only positions 5, 6, 7, 8, 17, 18 and/or 19 can be edited in the Leader. For certain positions (TBD): Upon hitting Save button then the quickMARC will automatically update to valid position value. | MODQM-225 - Getting issue details... STATUS |
| 4 | 001 |
| UI response: I was able to add a 001 but it was greyed out, could not edit. Saving deleted it. | |
| 5 | 010 |
| UI error message: Record cannot be saved with more than one 010 field. | UIQM-382 - Getting issue details... STATUS |
| 6 | 245 |
| UI error message: Record cannot be saved without field 245. UI error message: Record cannot be saved with more than one field 245. | |
| 7 | 1XX |
| UI error message: Record cannot be saved with multiple 1XXs. | |
| 8 | Subfield 9 | |||
| 9 | Subfield 0 |
Authority Record
| MARC field number / indicator / subfield | Validation rule | UI error message or UI response | JIRA issue(s) |
|---|---|---|---|
| Leader |
| UIQM-419 - Getting issue details... STATUS MODQM-229 - Getting issue details... STATUS UIQM-381 - Getting issue details... STATUS | |
| |||
| UI error message: Example - Entering an invalid Leader position 08 value. Record cannot be saved. Please enter a valid Leader 08. Valid values are listed at https://www.loc.gov/marc/authority/adleader.html | ||
| 001 |
| ||
| 010 |
| UI error message: Record cannot be saved with more than one 010 field. | |
| 010 $a |
| UI error message: 010 can only have one $a. | UIQM-395 - Getting issue details... STATUS |
| 1XX |
| UI error message: Record cannot be saved. Cannot have multiple 1XXs. |
Holdings Record
| MARC field number /Ind 1 / Ind 2 / subfield | Validation rule | UI error message or UI response | JIRA issue(s) |
|---|---|---|---|
| Leader | The Leader must contain 24 characters, including null spaces | UI error message: Record cannot be saved. The Leader must contain 24 characters, including null spaces. | MODQM-226 - Getting issue details... STATUS |
| Leader | Only positions 05, 06, 17, and 18 can be edited in the Leader | UI error message: Record cannot be saved. Please check the Leader. Only positions 5, 6, 17, 18 can be edited in the Leader. | |
| 001 |
| ||
| 004 |
| UI response: Field is greyed out, no editing allowed Removes duplicate 004 | UIQM-167 - Getting issue details... STATUS |
| 006 | No change from MARC bib validation | Note Tried to add 006 [under 852] chose s for type, the rest autopopulated with \ add 852, saved Viewing the source record I saw that only the s saved | |
| 007 | Unexpected length of the field No change from MARC bib validation | Note Tried to add 007 [under 852] choose text for type, SMD box with a \ also appeared UI response: Record was created with 007 t | |
| 008 - AcqEndDate | Unexpected length of the field. Must have four characters | UI error message: Record not saved. Please check the character length of the fixed fields. | |
| 010 | Subfield length should be more than 3 characters No change from MARC bib validation | Add 010 [under 852] \\$a 1 with adding an 852 UI Response: record saved | |
| 852 $b |
| a.) Record cannot be saved. An 852 is required. | UIQM-165 - Getting issue details... STATUS |
| 852 $b |
| UI response: Location is in a drop down menu Entered subfields manually with an incorrect location - one that wasn't listed. UI response: 852 $b contains an invalid Location code. Please try again. | |
| 852 $b |
| UI error message: Record cannot be saved. Can only have one MARC 852. |