Ontology Version: 3.1.0

cacontology-us-ncmec: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 creation timestamp. - Report name should be 5-200 characters when specified.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-us-ncmec:NCMECCybertipReport) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-us-ncmec:hasNCMECIncidentType Links a NCMEC report to its incident type. Source: NCMEC Cybertip API Section B.1.1, incidentType element. 1 1 cacontology-us-ncmec:NCMECIncidentType
uco-core:createdTime 0 1 xsd:dateTime
uco-core:description 0 1 xsd:string
sh:minLength 10
sh:maxLength 5000
uco-core:name 0 1 xsd:string
sh:minLength 5
sh:maxLength 200

Implementation

@prefix cacontology-us-ncmec: <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-ncmec: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-ncmec:NCMECIncidentType ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-us-ncmec:hasNCMECIncidentType ] ;
    sh:targetClass cacontology-us-ncmec:NCMECCybertipReport .