Skip to content

Commit

Permalink
Added cardinality restraint for observable:profileWebsite
Browse files Browse the repository at this point in the history
AJN: This cherry-pick ended up being a manual re-write of the
original patch Trevor authored.  Sorting confused cherry-pick pretty
thoroughly.

References:
* [OC-26] (CP-7) Create new Profile facet
* [OC-68] (CP-23) Convert current property restrictions and domain
  assertions to SHACL class shapes

(cherry picked from commit c39b34a)
  • Loading branch information
b0bkaT authored and ajnelson-nist committed Jul 29, 2021
1 parent 3415776 commit 335678f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uco-observable/observable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4380,12 +4380,12 @@ observable:ProfileFacet
sh:path observable:profileService ;
] ,
[
sh:minCount "0"^^xsd:integer ;
sh:path observable:profileLanguage ;
sh:maxCount "1"^^xsd:integer ;
sh:path observable:profileWebsite ;
] ,
[
sh:minCount "0"^^xsd:integer ;
sh:path observable:profileWebsite ;
sh:path observable:profileLanguage ;
]
;
sh:targetClass observable:ProfileFacet ;
Expand Down

0 comments on commit 335678f

Please sign in to comment.