Skip to content

Commit

Permalink
test: ensure no source has two types
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 25, 2024
1 parent 9b62e6d commit acb8005
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/core/shape/ViewValidationShape.ttl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
prefix view: <https://cube.link/view/>

Expand Down Expand Up @@ -78,6 +79,17 @@ prefix view: <https://cube.link/view/>
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:xone
(
[
sh:path rdf:type ;
sh:hasValue view:CubeSource
]
[
sh:path rdf:type ;
sh:hasValue view:LookupSource
]
)
.

<#TermSetFilter>
Expand Down

0 comments on commit acb8005

Please sign in to comment.