Ontology Version: 2.2.0

cacontology-us-ncmec1:NCMECCybertipReportShape leaf node


URI

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

Label

NCMEC Cybertip Report Shape

Description

Validation shape for NCMEC Cybertip report instances. - Report description should be 10-5000 characters when specified. - Report must have exactly one NCMEC incident type. - Report name should be 5-200 characters when specified. - Report creation timestamp.

Implementation

@prefix cacontology-us-ncmec1: <https://cacontology.projectvic.org/us/ncmec#> .
@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:NCMECCybertipReportShape a sh:NodeShape ;
    rdfs:label "NCMEC Cybertip Report Shape"@en ;
    rdfs:comment "Validation shape for NCMEC Cybertip report instances."@en ;
    sh:property [ rdfs:comment "Report name should be 5-200 characters when specified."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:minCount 0 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ rdfs:comment "Report description should be 10-5000 characters when specified."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 5000 ;
            sh:minCount 0 ;
            sh:minLength 10 ;
            sh:path uco-core:description ],
        [ rdfs:comment "Report creation timestamp."@en ;
            sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:minCount 0 ;
            sh:path uco-core:createdTime ],
        [ rdfs:comment "Report must have exactly one NCMEC incident type."@en ;
            sh:class cacontology-us-ncmec1:NCMECIncidentType ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec1:hasNCMECIncidentType ] ;
    sh:targetClass cacontology-us-ncmec1:NCMECCybertipReport .