Pascal Heus <pas...@codata.org>: Apr 08 10:32PM -0600
Olaf:
Thanks for looking into this. I find the double 'ddi' a bit odd/confusing.
I also ran this question through a couple of LLMs.
Some suggestions:
- Use application/vnd.ddialliance.* (instead of application/vnd.ddi.*)
+ This may apply to other Alliance products that do not start with DDI
(e.g. SDTL, CVs, future specs)
- Consider using parameters for the version (though it should be in the XML
as well). For example application/vnd.ddialliance.ddi-c+xml;version=2.5
- For CDI (and potentially lifecycle), keep in mind that there are other
RDF serializations (JSON-LD, turtle, N3). So, I will formalize these as
well.
+ for example application/vnd.ddilliance.cdi+json
+ I'm also still hoping someday for an official codebook JSON (this is a
barrier to adoption)
- Consider official registration with IANA
Hope this helps.
Best,
*P
Olof Olsson <bor...@gmail.com>: Apr 09 01:49PM -0700
Hi Pascal!
Good point, make sense to use application/vnd.ddialliance.*
Having a parameter for version as a recommended part is also a good point.
for cdi i think it should be ddi-cdi to bring it into line with the naming
convension for ddi-c and ddi-l.
Updated suggestion (for xml):
*application/vnd.ddialliance.ddi-c+xml
application/vnd.ddialliance.ddi-l+xml
application/vnd.ddialliance.ddi-cdi+xml*
Example with version:
*application/vnd.ddialliance.ddi-c+xml;version=2.6
application/vnd.ddialliance.ddi-l+xml;version=3.3
application/vnd.ddialliance.ddi-cdi+xml;version=1.0*
Register the prefix with IANA might be good to reserve it, will talk to TC
if this is something we should look into.
Official json schema is in the bete for ddi-l 4.0 and also possible for
ddi-cdi.
Ddi-c might get json schema in the future but I dont think there is any
concrete plans for it yet.
Best regards,
Olof
Joachim Wackerow <joachim...@googlemail.com>: Apr 09 11:01PM +0200
Hi Olof, others,
Good exchange!
Reading here about mime types, thoughts about a DDI REST API came into my
mind. I think only with a default API the vision of the use of distributed
DDI can become reality. Mime types are one step but an API seems to be also
important. Could this be another topic for the next meeting?
I have some old practical plans on a REST API in small zip files (mime
types are also mentioned). Should I send them to the list?
Cheers,
Achim
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to ddi-developer...@googlegroups.com.
[...]
If the MIME types Olof suggested for XML and Pascal extended to other file formats—I would also like to see version numbers—harvesting would become significantly easier. This would offer a straightforward way to publish metadata for a digital object without requiring a dedicated API (in this sense, I would respectfully disagree with Achim).
|
You don't often get email from pas...@codata.org.
Learn why this is important
|
I appreciate all the contributions.
Based on this, I would like first to mention some general
thoughts and suggestions.
Looking now from a high level it seems to make sense to start a combined initiative for DDI MIME types and a DDI API (possibly based on REST, OpenAPI, ...). An API would be the formal agreement between the metadata provider and the metadata user. Both sides should have a benefit from it. A standardized proposal from the DDI Alliance could form the basis of a distributed network of DDI resources. Registries will play for sure also an important role in this. But this seems to be one step further.
Such an initiative could start and follow-up in the DDI
developers meeting as Olof suggested. It would help if the goals
of such an initiative are supported by the DDI Alliance. Any more
formal steps would need the involvement of the DDI Alliance.
Goals:
Action items:
Now I would like to address some individual messages:
Knut:
I think you raise a couple of important points. The idea of an API has not to be something complicated. But any HTTP-based request and answer for DDI resources should follow some agreed rules. This would be basically the "contract" between the metadata provider and the user. OAI-PMH is a great example for this but its design was heading to publications and XML. Nevertheless ideas from OAI-PMH could be used in an approach for DDI.
Olof:
My old ideas (probably outdated) on MIME types and a RESTful service are available here: https://bitbucket.org/wackerow/restful_service/. The main suggestion from that time is visible here: https://htmlpreview.github.io/?https://bitbucket.org/wackerow/restful_service/raw/13e00b896f705e4b43a03a6eccf6fc8599f543e8/RESTService_2015-03-18/DDI_wadl.html
Pascal:
This would be great if you could contribute with your experiences to the API effort.
Paul:
Thanks a lot. This is really helpful. I was not aware that the procedure is nowadays easier.
Any thoughts?
Cheers,
Achim
--
You received this message because you are subscribed to the Google Groups "DDI Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ddi-developer...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ddi-developers/BEVP281MB359974C67BB205FF70E25EECCCB32%40BEVP281MB3599.DEUP281.PROD.OUTLOOK.COM.
Just to let everyone know this issue was filed in the TC issue tracker at our request. This is an area that TC will be working with the developers group (taking advantage of their advice and expertise) in pursuing what is needed to address this for the DDI Alliance. Olof and Oliver as well as others have also expressed interest in developing a section of implementation guides for the DDI site.Wendy
To view this discussion visit https://groups.google.com/d/msgid/ddi-developers/CAJpzfYo0_pii6GHgmCx%3D_00DPnbuRBOvaHzRHcaWnLyqOHa%3DjQ%40mail.gmail.com.
Pascal:
A shared document on the API topic for this would be great. This can be used for the preparation of the developers meeting.
All:
I sent now a suggestion re content types and API to the open call of the DDI Alliance community meeting. You should have received it if you are subscribed to the DDI users list:
Cheers;
Achim
To view this discussion visit https://groups.google.com/d/msgid/ddi-developers/CAOrpSNq%2BR_v1udL9GrVM%3Dwgbr_wnPtWwYPH9oMCU6P8T2p3jsg%40mail.gmail.com.