- From: Dietrich Schulten <ds@escalon.de>
- Date: Sat, 25 Mar 2017 16:17:24 +0100
- To: public-hydra@w3.org
- Message-ID: <8f986d30-fbf8-665e-cede-cc683e9001d6@escalon.de>
Am 29.01.2017 um 20:27 schrieb Gregg Kellogg: >> On Jan 29, 2017, at 9:42 AM, Markus Lanthaler >> <markus.lanthaler@gmx.net <mailto:markus.lanthaler@gmx.net>> wrote: >> >> On 27 Jan 2017 at 15:14, Asbjørn Ulsberg wrote: >>> 2017-01-27 12:30 GMT+01:00 Antonio Garrote Hernández >>> <antoniogarrote@gmail.com <mailto:antoniogarrote@gmail.com>>: >>> >>>> I just wanted to let you know about a Clojure library for Hydra >>>> APIs I have >>>> been working on: >>>> >>>> https://github.com/antoniogarrote/levanzo >> >> Fantastic work Antonio! Thanks for sharing >> >> >>>> It also supports validation based on the declarative information in >>>> the API >>>> and mock data generation. I hope to add additional support for >>>> SHACL so it >>>> can offer more expressive validations. >>> >>> Sounds like a good plan. I think it has been discussed before that >>> SHACL should become an integrated part of Hydra, so experience in how >>> to combine Hydra and SHACL is very welcome. :) >> >> +1 > > Note that the ShEx [1] JSON variant (ShExJ) was just changed to > JSON-LD, and there are a number of implementations. ShEx handles the > same use cases as SHACL, but makes implementation much easier. > > There are a couple of places that shape matching could come in handy: > > * For validating the Hydra documentation > * As a way to specify the expected shape of a Hydra Operation > * Client-side to formulate the operation > * Server-side to validate the operation > * For performing before/after analysis of the target. (LD-Patch could > also come in handy here). > > Gregg > > [1] https://shexspec.github.io/spec > Very interesting, I'll have a look and try to find out where ShEx statements would go in a hydra document. @Gregg can you comment a bit about the relationship between SHACL and ShEx? Just two competing specs? BTW, if someone reads the primer and wonders why they didn't write it in ShExJ, there is a radio button somewhere at the bottom of the section https://shexspec.github.io/primer/index.html#validation which allows you to switch representations. Or press the J key on your keyboard :-) Best, Dietrich
Received on Saturday, 25 March 2017 15:18:00 UTC