Specify the type of metadata

68 views
Skip to first unread message

Chandrika Hebbar

unread,
Jul 26, 2023, 12:20:45 PM7/26/23
to DSpace Community
Hi Team,

While creating metadata in the metadata registry, is there any way to specify the type that metadata should take (for example String, Date, Number...). There is an option to specify values in the Qualifier. Is this meant for specifying the type of metadata (If so, what are the values it can take)?


Thank you.

Regards,
Chandrika Hebbar

Fitchett, Deborah

unread,
Jul 26, 2023, 7:42:55 PM7/26/23
to Chandrika Hebbar, DSpace Community

Kia ora,

 

No, this can’t be specified in the metadata registry. The qualifier is more to clarify to humans what kind of data is intended eg dc.contributor.author vs dc.contributor.editor  or dc.identifier.isbn vs dc.identifier.doi, but there’s no validation performed on it.

 

You can define the submission form to validate specific fields based on a regular expression. There’s a little information about this in the submission form documentation at https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface

 

Deborah

 

From: dspace-c...@googlegroups.com <dspace-c...@googlegroups.com> On Behalf Of Chandrika Hebbar
Sent: Thursday, July 27, 2023 4:21 AM
To: DSpace Community <dspace-c...@googlegroups.com>
Subject: [dspace-community] Specify the type of metadata

 

You don't often get email from chandrik...@gmail.com. Learn why this is important

 

Caution: This email originated from outside our organisation. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/90173036-363b-4daa-86be-60fc259cdcefn%40googlegroups.com.




"The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system."

Chandrika Hebbar

unread,
Aug 1, 2023, 1:21:52 AM8/1/23
to DSpace Community
Hi Deborah,

It would be really helpful to have a more descriptive implementation guide on adding validation of custom metadata (like Date, DateTime, etc..) with sample XML configuration. Please share the documentation if it is present.

Regards,
Chandrika Hebbar

Chandrika Hebbar

unread,
Aug 8, 2023, 9:47:06 AM8/8/23
to DSpace Community
Hi Deborah,

Could you please provide an update on the above?

Regards,
Chandrika Hebbar

Fitchett, Deborah

unread,
Aug 8, 2023, 6:16:59 PM8/8/23
to Chandrika Hebbar, DSpace Community

Kia ora Chandrika,

 

I agree such documentation would be useful but I haven’t seen it personally. Generally if I’m looking for information I’d start by browsing the wiki. If it’s not there, then I’d do a general websearch and/or look in the mailing list archives. Otherwise it’s a matter of testing it out for myself and asking on the mailing list if I get stuck, in case anyone else can help.

 

If you’re getting into more technical questions it can be useful to ask on the dspace-tech list instead. Make sure you mention which version of DSpace you’re using in that case.

 

But bear in mind that most people on both mailing lists are just other DSpace users, just like you. Sometimes we’ll know the answer, sometimes we won’t…

Reply all
Reply to author
Forward
0 new messages