NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

doi-service must process "relatedItems" in json #417

Open rsjoyner opened 9 months ago

rsjoyner commented 9 months ago

Checked for duplicates

No - I haven't checked

πŸ› Describe the bug

See the 2 JSON files (with TXT extension because a file with JSON extension cannot be uploaded here). The input JSON file was processed BUT the snipped was not proceed. is a new construct in the DataCite schema. See the "results" JSON file for the results of processing the input JSON.

        "relatedItems": {
            "relatedItem": {
                "relationType": "IsPublishedIn",
                "relatedItemType": "Journal",
                "relatedItemIdentifier": {
                    "relatedItemIdentifierType": "DOI",
                    "#text": "10.3847/PSJ/aced50"
                },
                "titles": {"title": "R.G. French, D. Souami, Earth-based Stellar Occultation Predictions for Jupiter, Saturn, Uranus, Neptune, Titan, and Triton: 2023–2050 "},
                "publicationYear": 2023
            }
        },

The above JSON snipped should have been included the resulting DOI metadata.

activate_REVIEW_RINGS_annex_french23_occult_edit.txt result_activate_no_review_RINGS_annex_french23.txt

πŸ•΅οΈ Expected behavior

I expected the doi-service to process the input JSON and include the JSON in the resulting output JSON (i.e., the output JSON should have included the in the DOI metadata).

πŸ“œ To Reproduce

1. 2. 3. ...

πŸ–₯ Environment Info

πŸ“š Version of Software Used

No response

🩺 Test Data / Additional context

No response

πŸ¦„ Related requirements

πŸ¦„ #xyz

βš™οΈ Engineering Details

No response