Ontology Version: 3.1.0

cacontology-undercover:UndercoverIdentityShape leaf node


URI

https://cacontology.projectvic.org/undercover#UndercoverIdentityShape

Label

Undercover Identity Shape

Description

Validation shape for undercover identity instances.

Targets (1)

Property Constraints (5)

Focus nodes of this shape (cacontology-undercover:UndercoverIdentity) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-undercover:backstoryDepth
sh:message Undercover identity must specify backstory depth from the allowed list.
1 1 xsd:string
sh:in minimal, basic, detailed, comprehensive, extensive
cacontology-undercover:documentationLevel
sh:message Undercover identity must specify documentation level from the allowed list.
1 1 xsd:string
sh:in none, basic, standard, enhanced, complete, official
cacontology-undercover:identityComplexity
sh:message Undercover identity must specify identity complexity from the allowed list.
1 1 xsd:string
sh:in basic, intermediate, advanced, comprehensive, deep_cover
cacontology-undercover:identityLifespan
sh:message Identity lifespan must be between 1 and 1095 days (3 years).
0 1 xsd:decimal
sh:minInclusive 1.0
sh:maxInclusive 1095.0
cacontology-undercover:identityType
sh:message Undercover identity must specify identity type from the allowed list.
1 1 xsd:string
sh:in complete_fabrication, partial_legend, borrowed_identity, enhanced_real_identity, digital_only, physical_and_digital

Implementation

@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:UndercoverIdentityShape a sh:NodeShape ;
    rdfs:label "Undercover Identity Shape"@en ;
    rdfs:comment "Validation shape for undercover identity instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "complete_fabrication" "partial_legend" "borrowed_identity" "enhanced_real_identity" "digital_only" "physical_and_digital" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover identity must specify identity type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:identityType ],
        [ sh:datatype xsd:string ;
            sh:in ( "basic" "intermediate" "advanced" "comprehensive" "deep_cover" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover identity must specify identity complexity from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:identityComplexity ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "basic" "detailed" "comprehensive" "extensive" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover identity must specify backstory depth from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:backstoryDepth ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "basic" "standard" "enhanced" "complete" "official" ) ;
            sh:maxCount 1 ;
            sh:message "Undercover identity must specify documentation level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-undercover:documentationLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1095.0 ;
            sh:message "Identity lifespan must be between 1 and 1095 days (3 years)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-undercover:identityLifespan ] ;
    sh:targetClass cacontology-undercover:UndercoverIdentity .