Enhance GET, PUT and POST APIs to support Dewey Decimal Classification

Description

This is the API ticket corresponding to https://folio-org.atlassian.net/browse/MODLD-236

image-20240523-173727.png

Scope:

  1. GET, PUT and POST /resource APIs has to be enhanced so support http://bibfra.me/vocab/lite/classification in the Work section of the payload.

  2. Each Classification object should contain the following properties

    1. http://bibfra.me/vocab/marc/source  (value will be “ddc” for Dewey classification)

    2. http://bibfra.me/vocab/marc/code 

    3. http://bibfra.me/vocab/marc/itemNumber 

    4. http://bibfra.me/vocab/marc/editionNumber

    5. http://bibfra.me/vocab/marc/edition 

    6. _assigningSourceRef. Object should contain the following values.

      1. label (Label of the organization resource). Label is needed only in GET API. The value provided in label will be ignored by the PUT / POST API.

      2. id (ID of the Organization resource)

Environment

None

Potential Workaround

None

Attachments

4
  • 04 Jun 2024, 10:33 AM
  • 04 Jun 2024, 10:33 AM
  • 04 Jun 2024, 10:33 AM
  • 23 May 2024, 05:42 PM

Checklist

hide

Activity

Show:

Tetiana Kovalchuk June 4, 2024 at 11:33 AM

Tested on linked-data-quesnelia

Build version: #454

Test cases and evidences attached.

Askhat Abishev June 3, 2024 at 10:59 AM

payload example:

{ "resource": { "http://bibfra.me/vocab/lite/Work": { "http://bibfra.me/vocab/lite/classification": [ { "http://bibfra.me/vocab/marc/code": [ "code" ], "http://bibfra.me/vocab/marc/source": [ "source" ], "http://bibfra.me/vocab/marc/itemNumber": [ "item number" ], "http://bibfra.me/vocab/marc/editionNumber": [ "edition number" ], "http://bibfra.me/vocab/marc/edition": [ "edition" ], "_assigningSourceReference": [ { "id": "1" } ] } ], // other Work fields } } }
Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 22, 2024 at 3:11 PM
Updated March 4, 2025 at 7:23 PM
Resolved June 6, 2024 at 7:25 PM
TestRail: Cases
TestRail: Runs

Flag notifications