Skip to content

Commit

Permalink
Use sh:in instead of sh:hasValue to avoid double validation violation
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Apr 30, 2024
1 parent 9ddc005 commit d650c19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions shacl/dev-eauto.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ ff:CitizenOwnsElectricCarShape
] ;
sh:property [
sh:path ff:hasResidence ;
sh:hasValue "Berlin" ;
sh:in ("Berlin") ;
] ;
sh:property [
sh:path ff:hasDrivingLicense ;
sh:hasValue true ;
sh:in (true) ;
] .

ff:ElectricCarShape
Expand Down
2 changes: 1 addition & 1 deletion shacl/opendva-existenzgruendungspass-thueringen.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ff:MainPersonShape a sh:NodeShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:message "Eine selbständige Tätigkeit darf noch nicht begonnen worden sein" ;
sh:hasValue false ;
sh:in (false) ;
] ;
sh:property [
sh:path ff:residesInState ;
Expand Down
4 changes: 2 additions & 2 deletions shacl/opendva-jenabonus.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ ff:MainPersonShape a sh:NodeShape ;
sh:path ff:eligibleForSocialSupport ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:hasValue true ;
sh:in (true) ;
sh:message "Eine Form von Sozialhilfe ist Voraussetzung"
] ;
sh:property [
sh:path ff:hasResidence ;
sh:hasValue "Jena" ;
sh:in ("Jena") ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:message "Der Wohnort muss Jena sein"
Expand Down

0 comments on commit d650c19

Please sign in to comment.