Ontology Version: 3.1.0

cacontology-specialized:OngoingAbuseInvestigationShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#OngoingAbuseInvestigationShape

Label

Ongoing Abuse Investigation Shape

Description

Validation shape for ongoing abuse investigation instances.

Targets (1)

  • cacontology-specialized:OngoingAbuseInvestigation sh:targetClass

Property Constraints (2)

Focus nodes of this shape (cacontology-specialized:OngoingAbuseInvestigation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-specialized:childrenInOngoingAbuse
sh:message Children in ongoing abuse must be between 0 and 1000.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 1000
uco-core:startTime
sh:message Ongoing abuse investigation must specify start time.
1 1 xsd:dateTime

Implementation

@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@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-specialized:OngoingAbuseInvestigationShape a sh:NodeShape ;
    rdfs:label "Ongoing Abuse Investigation Shape"@en ;
    rdfs:comment "Validation shape for ongoing abuse investigation instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Ongoing abuse investigation must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000 ;
            sh:message "Children in ongoing abuse must be between 0 and 1000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-specialized:childrenInOngoingAbuse ] ;
    sh:targetClass cacontology-specialized:OngoingAbuseInvestigation .