- From: Adrian Pohl <pohl@hbz-nrw.de>
- Date: Mon, 24 Oct 2022 08:55:41 +0200
- To: public-schemaorg@w3.org
Hi Hugh, for [AMB] ("Allgemeines Metadatenprofil für Bildungsressourcen" which translates to "General metadata profile for educational resources") we have specified a JSON-LD data structure mainly based on schema.org. We maintain a JSON [Schema] to help implementing and validating instance data. This might help for your task. If you mean to create something similar in XML Schema you could use a JSON-Schema-to-XML-Schema converter. Or if you choose Dan's approach sending JSON-LD in a script tag over OAI PMH, the JSON Schema could also be useful. All the best Adrian [AMB] https://w3id.org/kim/amb/draft/ [Schema] https://dini-ag-kim.github.io/amb/draft/schemas/schema.json On 22.10.22 21:00, Dan Brickley wrote: > It would be best not to need to try, but if you really must go the > XML/XSD route you could look for XSD to validate: > > 1) XHTML/rdfa (or something close to html5 but XML compatible > > 2) as above but Microdata attributes instead of rdfa > > 3) as above but with json-ld in a script tag > > 4) a bit retro but RDF/XML. > > Note that none of these will do any interesting checking of the actual > Schema.org / RDF graph, so it is essentially a box-ticking exercise, eg > if the tools fail without XSD > > Hope this helps, > > Dan > > On Sat, 22 Oct 2022, 04:18 Hugh Paterson III, <sil.linguist@gmail.com > <mailto:sil.linguist@gmail.com>> wrote: > > Greetings > > We are working with OAI transmission and are thinking about using > schema.org <http://schema.org> vocabulary parts in both harvesting > and transmitting. The OAI specification dictates XML usage. We want > to validate files we harvest. I'm wondering if anyone has crafted a > xsd file to validate some or all of schema.org <http://schema.org> > terms. Does anyone know of any files in the wild or have a way to > convert the linked data files to an xsd file for validation? > > > all the best, > Hugh Paterson III >
Received on Monday, 24 October 2022 06:56:25 UTC