Ontology Version: 2.2.0

cacontology-platforms:UserVerificationSystemShape leaf node


URI

https://cacontology.projectvic.org/platforms#UserVerificationSystemShape

Label

User Verification System Shape

Description

Validation shape for user verification system instances.

Shape Properties

Instances of cacontology-platforms:UserVerificationSystem can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-platforms:UserVerificationSystem
cacontology-platforms:ageVerificationMethod 0 1 xsd:string
cacontology-platforms:identityVerificationRequired 0 1 xsd:boolean
cacontology-platforms:verificationStrength 0 1 xsd:string

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-platforms:UserVerificationSystemShape a sh:NodeShape ;
    rdfs:label "User Verification System Shape"@en ;
    rdfs:comment "Validation shape for user verification system instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "none" "self_declaration" "credit_card" "id_verification" "parental_consent" "third_party" ) ;
            sh:maxCount 1 ;
            sh:message "Age verification method must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:ageVerificationMethod ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Identity verification requirement must be a boolean value."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:identityVerificationRequired ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "weak" "moderate" "strong" "government_id" ) ;
            sh:maxCount 1 ;
            sh:message "Verification strength must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:verificationStrength ] ;
    sh:targetClass cacontology-platforms:UserVerificationSystem .