shexspec.github.io

Updating vocabulary

Vocabulary definitions are managed in vocab.csv. Add or change entries within this file. Regenerate shex.ttl, shex.jsonld, and shex.html as described below.

Building index.html, shex.jsonld and shex.ttl

All files are based on vocab.csv,. Run mk_vocab.rb to build both shex.html, shex.jsonld and shex.ttl. Open shex.html, and generate HTML to save over itself to remove ReSpec dependencies.

.htaccess entries for ShEx

These go in www.w3.org/ns/.htaccess

<Files ~ "shex.jsonld">
ForceType 'application/ld+json'
Header set Access-Control-Allow-Origin "*"
</Files>