Skip to content

Commit

Permalink
Add user profile to test complied RPs
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 24, 2024
1 parent e91c6b3 commit 72af2f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datafields.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ ff:CompliedRequirementProfileShape a sh:NodeShape ;
sh:property [
sh:path ff:hasRpUri ;
sh:nodeKind sh:IRI ; # "sh:class ff:RequirementProfile ;" would be better, but would require to throw the RPs into the user profile validation because those triples are defined there, e.g.: ff:kinderzuschlag a ff:RequirementProfile
sh:minCount 1 ;
sh:maxCount 1 ;
] .

ff:hasRpUri a ff:DataField ;
Expand Down
7 changes: 7 additions & 0 deletions user-profile-examples/dev-complied-rp-user-profile.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@prefix ff: <https://foerderfunke.org/default#> .

ff:mainPerson a ff:Citizen ;
ff:hasCompliedRequirementProfile ff:compliedrequirementprofile0 .

ff:compliedrequirementprofile0 a ff:CompliedRequirementProfile ;
ff:hasRpUri ff:jenabonus .

0 comments on commit 72af2f7

Please sign in to comment.