- From: Dan Brickley <danbri@google.com>
- Date: Wed, 20 May 2020 16:09:27 +0100
- To: James Hudson <jameshudson3010@gmail.com>
- Cc: "schema. org Mailing List" <public-schemaorg@w3.org>
Received on Wednesday, 20 May 2020 15:09:53 UTC
There are a few experiments scattered around but nothing very final This is an interesting area to investigate. You might be interested in https://docs.google.com/document/d/1oWzVo_fhsUGvDqPpFEWt1boV8Dn1Xz-zOlHe9sHFKOw/edit?usp=drivesdk which looks into using ShEx inside Chrome via a JavaScript implementation. There is now recently improved JS tooling for SHACL too so the same approach could work there... Keep us posted on what you find Dan On Wed, 20 May 2020, 16:00 James Hudson, <jameshudson3010@gmail.com> wrote: > Hello, > > Let's say that I had some data like > https://schema.org/Invoice#Invoice-gen-367 > > A property on Invoice is paymentDueDate which needs to be a Date or > DateTime. > > So, for example, assigning a string like "XXXXX" to the property is not > valid. > > I could create a SHACL Shape which would produce a validation error, but I > was wondering if there were already SHACL Shapes available which validate > data instances of Schema.org classes. > > Regards, > James >
Received on Wednesday, 20 May 2020 15:09:53 UTC