Ontology Version: 2.2.0

cacontology-us-ncmec1:NCMECIncidentTypeShape leaf node


URI

https://cacontology.projectvic.org/us/ncmec#NCMECIncidentTypeShape

Label

NCMEC Incident Type Shape

Description

Validation shape for NCMEC incident type instances. - Incident type must have a name (5-100 characters). - Incident code must be from the allowed NCMEC list.

Implementation

@prefix cacontology-us-ncmec1: <https://cacontology.projectvic.org/us/ncmec#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-us-ncmec1:NCMECIncidentTypeShape a sh:NodeShape ;
    rdfs:label "NCMEC Incident Type Shape"@en ;
    rdfs:comment "Validation shape for NCMEC incident type instances."@en ;
    sh:property [ rdfs:comment "Incident type must have a name (5-100 characters)."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ rdfs:comment "Incident code must be from the allowed NCMEC list."@en ;
            sh:datatype xsd:string ;
            sh:in ( "CST" "OE" "CSAM" "CP" "MISC" ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec1:incidentCode ] ;
    sh:targetClass cacontology-us-ncmec1:NCMECIncidentType .