Ontology Version: 2.2.0

cacontology-platforms:LargeScalePlatformTakedownShape leaf node


URI

https://cacontology.projectvic.org/platforms#LargeScalePlatformTakedownShape

Label

Large Scale Platform Takedown Shape

Description

Validation shape for large scale platform takedown instances.

Shape Properties

Instances of cacontology-platforms:LargeScalePlatformTakedown can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@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-platforms:LargeScalePlatformTakedownShape a sh:NodeShape ;
    rdfs:label "Large Scale Platform Takedown Shape"@en ;
    rdfs:comment "Validation shape for large scale platform takedown instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "local" "national" "international" "global" ) ;
            sh:maxCount 1 ;
            sh:message "Operation scale must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:operationScale ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 200 ;
            sh:message "Countries involved must be between 1 and 200."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-platforms:countriesInvolved ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000.0 ;
            sh:message "Evidence volume must be between 0.1 and 10000 terabytes."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.1 ;
            sh:path cacontology-platforms:evidenceVolumeTerabytes ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Large scale platform takedown must have a name (5-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Large scale platform takedown must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ] ;
    sh:targetClass cacontology-platforms:LargeScalePlatformTakedown .