W3C home > Mailing lists > Public > public-shex-dev@w3.org > November 2017

Re: [shex] Constraint weight annotation

From: Dimitris Kontokostas via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Nov 2017 08:08:36 +0000
To: public-shex-dev@w3.org
Message-ID: <issue_comment.created-346273406-1511338115-sysbot+gh@w3.org>
Example we discussed yesterday to discuss how this can play in the open and if severities / constraint weights can be overriden. Assume `<Person>` is imported from an external location where we have no control over.
```
<Issue> {
    MUST :submitter @<Person>
    SHOULD :reviewer @<Person>
    MAY :merger @<Person>
}
<Person> {
    MUST: name .
    SHOULD: lastName .
    MAY: middleName .
}
```
There are many combinations of things that can fail with different severities here

-- 
GitHub Notification of comment by jimkont
Please view or discuss this issue at https://github.com/shexSpec/shex/issues/76#issuecomment-346273406 using your GitHub account
Received on Wednesday, 22 November 2017 08:08:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 11:00:16 UTC