https://cacontology.projectvic.org/infrastructure#InfrastructureTakedownShape
Validation shape for infrastructure takedown instances.
Focus nodes of this shape (cacontology-infrastructure:InfrastructureTakedown) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-infrastructure:takedownDuration | Duration of takedown operation in hours. sh:message Takedown duration must be between 0.1 and 8760 hours (1 year). |
0 | 1 | xsd:decimal |
sh:minInclusive
0.1
sh:maxInclusive
8760.0
|
uco-core:endTime |
sh:message Infrastructure takedown may specify end time. |
0 | 1 | xsd:dateTime | |
uco-core:startTime |
sh:message Infrastructure takedown must specify start time. |
1 | 1 | xsd:dateTime |
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@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-infrastructure:InfrastructureTakedownShape a sh:NodeShape ;
rdfs:label "Infrastructure Takedown Shape"@en ;
rdfs:comment "Validation shape for infrastructure takedown instances."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Infrastructure takedown must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Infrastructure takedown may specify end time."@en ;
sh:minCount 0 ;
sh:path uco-core:endTime ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 8760.0 ;
sh:message "Takedown duration must be between 0.1 and 8760 hours (1 year)."@en ;
sh:minCount 0 ;
sh:minInclusive 0.1 ;
sh:path cacontology-infrastructure:takedownDuration ] ;
sh:targetClass cacontology-infrastructure:InfrastructureTakedown .