Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCB-29: Incorrect schematron rules for Bundle (type:External), Collection (type:External), and Product_External logical_identifiers #816

Closed
jshughes opened this issue Oct 10, 2024 · 0 comments · Fixed by #837
Assignees
Labels

Comments

@jshughes
Copy link
Collaborator

🦄 Sibling SCR

NASA-PDS/PDS4-CCB#29

💡 SCR Summary

Problem Statement

External products, namely, Product_Bundle and Product_Collection of type: External and Product_External should have different rules for creating valid URNs to be used as logical identifiers (LIDs) than standard archive products. The purpose of External products are to provide a clear way to register products that otherwise wouldn't be in 'official' archives. The current set of schematron rules for validating LIDs across External products requires the archive-wide set of rules, meaning LIDs must conform to the enumerated list of known archive institutions (e.g., urn:nasa:pds..., urn:esa:psa..., urn:jaxa:darts..., etc.). Furthermore, the LID formations should adhere to the standard bundle formations where bundles have 4 segments, collections have 5 segments, and products have 6 segments (implying Product_External should be expected to be a member of an external bundle and collection).

Requested Changes

Add additional schematron rules pertaining to Product_Bundle (type:External), Product_Collection (type:External), and Product_External to allow URNs that are valid if and only if the initial 3 segments are not on the enumerated list of approved archives (e.g., urn:nasa:pds..., urn:esa:psa..., urn:jaxa:darts..., etc.).

Bundle_Member_Entry/reference_type will need to have an additional value of 'bundle_has_external_collection' to be able to reference member collections to an external bundle.

Product_Bundle (type:External)
- must have 3 colons (i.e., 4 segments)
- must start with 'urn:'
- not on the enumerated list of approved archives (e.g., urn:nasa:pds..., urn:esa:psa..., urn:jaxa:darts..., etc.).
Product_Collection (type:External)
- must have 4 colons (i.e., 5 segments)
- must start with 'urn:'
- not on the enumerated list of approved archives (e.g., urn:nasa:pds..., urn:esa:psa..., urn:jaxa:darts..., etc.).
Product_External
- must have 5 colons (i.e., 6 segments or fewer).
- must start with 'urn:'
- not on the enumerated list of approved archives (e.g., urn:nasa:pds..., urn:esa:psa..., urn:jaxa:darts..., etc.).

Applicable Attachments

The enclosure contains the updates the 1M00 schematron SCH file to validate the Requested Changes:

aaaIM_1M00_updates_20240904.zip

Added to parent epic?

Will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏁 Done
Status: 🏁 Done
2 participants