https://cacontology.projectvic.org/infrastructure#InfrastructureTakedownShape
Validation shape for infrastructure takedown instances.
Instances of cacontology-infrastructure:InfrastructureTakedown can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-infrastructure:InfrastructureTakedown | ||||
| cacontology-infrastructure:hasTakedownCompleteness | 1 |
xsd:double
|
||
| cacontology-infrastructure:hasTakedownEffectiveness | 1 |
xsd:double
|
||
| cacontology-infrastructure:hasTakedownSpeed | 1 |
xsd:string
|
||
| cacontology-infrastructure:takedownDuration | 0 | 1 |
xsd:decimal
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 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 .