Open
Description
As discussed in schemaorg/schemaorg#1715.
A possibly useful feature for ShEx would be to have a more consistent way to define constraint weight annotations for e.g.
"strongly recommended", "excellent to include if you have it", "would be nice", "optional", "permitted", "mandatory", "required" etc
This could come directly in the constraint definition like
<S> {
SHOULD <p1> . ;
MAY (<p2> . ;
<p3> . );
SUPERNICETOHAVE <p4> . ;
}
of in the annotations part with options like
<S> {
<p1> . ; // sx:req my:SHOULD
<p2> . ; // sx:req "MAY"
<p3> . ; // NICETOHAVE
<p4> . ; // ss:SUPERNICETOHAVE # => ss is a predefined namespace
}