https://cacontology.projectvic.org/undercover#DigitalIdentityShape
Validation shape for digital identity instances.
@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-undercover:DigitalIdentityShape a sh:NodeShape ;
rdfs:label "Digital Identity Shape"@en ;
rdfs:comment "Validation shape for digital identity instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 15 ;
sh:message "Digital identity may have between 0 and 15 social media profiles."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-undercover:socialMediaProfiles ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 10 ;
sh:message "Digital identity must have between 1 and 10 email accounts."@en ;
sh:minCount 1 ;
sh:minInclusive 1 ;
sh:path cacontology-undercover:emailAccounts ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1095.0 ;
sh:message "Digital history depth must be between 30 and 1095 days."@en ;
sh:minCount 0 ;
sh:minInclusive 30.0 ;
sh:path cacontology-undercover:digitalHistoryDepth ] ;
sh:targetClass cacontology-undercover:DigitalIdentity .