Skip to content

Commit

Permalink
fix: update C04 shacl
Browse files Browse the repository at this point in the history
  • Loading branch information
blushi committed Aug 29, 2023
1 parent 41c8edc commit 7b6f936
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions shacl/credit-classes/C04-ruuts-credit-class.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ regen:C04-CreditClassShape a sh:NodeShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path regen:coBenefits ;
sh:node dash:ListShape ;
sh:property [
sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ;
sh:datatype xsd:string ;
sh:minLength 1 ;
] ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path regen:geographicApplicability ;
sh:datatype xsd:string ;
Expand Down Expand Up @@ -68,14 +57,14 @@ regen:C04-CreditClassShape a sh:NodeShape ;
] ;
sh:property [
sh:path regen:creditingTerm ;
sh:node schema:activityDuration ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:lookbackPeriod ;
sh:node schema:activityDuration ;
sh:node schema:Duration ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
Expand All @@ -89,14 +78,12 @@ regen:C04-CreditClassShape a sh:NodeShape ;
] ;
sh:property [
sh:path regen:monitoringFrequency ;
sh:datatype schema:frequency ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:verificationFrequency ;
sh:node schema:frequency ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:minLength 1 ;
Expand Down Expand Up @@ -142,7 +129,7 @@ regen:BufferPoolAccountShape a sh:NodeShape ;
sh:minLength 1 ;
] ;
sh:property [
sh:path regen:walletAddress ;
sh:path regen:address ;
sh:datatype xsd:string ;
sh:minCount 1 ;
] ;
Expand All @@ -154,17 +141,12 @@ regen:BufferPoolAccountShape a sh:NodeShape ;
.

regen:BufferPoolAccountsShape sh:path regen:bufferPoolAccounts ;
sh:node dash:ItemList ;
sh:node dash:ListShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:property [
sh:path schema:itemListElement ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:property [
sh:path ( [ sh:zeroOrMorePath rdf:rest ] rdf:first ) ;
sh:node regen:BufferPoolAccountShape ;
sh:minCount 1 ;
] ;
]
.
] ;
.

0 comments on commit 7b6f936

Please sign in to comment.