Ontology Version: 3.1.0

cacontology-infrastructure:AnonymityInfrastructureShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#AnonymityInfrastructureShape

Label

Anonymity Infrastructure Shape

Description

Validation shape for anonymity infrastructure instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-infrastructure:AnonymityInfrastructure) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-infrastructure:anonymityLevel Level of anonymity provided (basic, enhanced, military-grade).
sh:message Anonymity level must be from the allowed list.
0 1 xsd:string
sh:in basic, enhanced, military-grade, custom

Implementation

@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@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-infrastructure:AnonymityInfrastructureShape a sh:NodeShape ;
    rdfs:label "Anonymity Infrastructure Shape"@en ;
    rdfs:comment "Validation shape for anonymity infrastructure instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "basic" "enhanced" "military-grade" "custom" ) ;
            sh:maxCount 1 ;
            sh:message "Anonymity level must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-infrastructure:anonymityLevel ] ;
    sh:targetClass cacontology-infrastructure:AnonymityInfrastructure .