/
MARC record validation rules - Subfield configuration
  • Ready for review
  • MARC record validation rules - Subfield configuration

    Create a local subfield

    A local subfield is any field that is not a part of the MARC bib/authority standard as defined by the Library of Congress.

    1. To create a local subfield field, use the POST /specification-storage/fields/{fieldId}/subfields

    2. The POST body must include at minimum: code and label.

    POST /specification-storage/fields/fb183a49-f958-4e2d-aef1-e8cb57b2e94b/subfields

    {   "code": "a",   "label": "OCLC control number of merged and deleted record",   "repeatable": true,   "required": true }

    Update a subfield

    1. From the GET /specification-storage/specifications/{MARC bib/authority record validation specification id}?include=all, copy the following values in that response for the subfield code you want to update: subfield id, code, repeatable, required

    2. To update the field tag, use PUT /specification-storage/subfields/{subfieldId} and the body should include at minimum these values: code and label.

    PUT /specification-storage/subfields/e2643466-44de-42e6-85bc-828de33c45f4

    {                     "code": "a",                     "label": "General note",                     "repeatable": false,                     "required": true }

    Delete a subfield code

    1. From the GET /specification-storage/specifications/{MARC bib/authority record validation specification id}?include=all, copy the subfield id

    2. Use endpoint DELETE /specification-storage/subfields/{subfieldId}

     

     

    MARC record validation rules - Overview and Field Configuration | MARC record validation rules - Indicator configuration

    Related content