Ontology Version: 2.2.0

cacontology-infrastructure:AccountFreezingShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#AccountFreezingShape

Label

Account Freezing Shape

Description

Validation shape for account freezing instances.

Shape Properties

Instances of cacontology-infrastructure:AccountFreezing can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:AccountFreezing
cacontology-infrastructure:accountsFrozen 0 1 xsd:nonNegativeInteger
1 1 xsd:dateTime
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

Implementation

@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:AccountFreezingShape a sh:NodeShape ;
    rdfs:label "Account Freezing Shape"@en ;
    rdfs:comment "Validation shape for account freezing instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Account freezing must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100000 ;
            sh:message "Accounts frozen must be between 1 and 100000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-infrastructure:accountsFrozen ] ;
    sh:targetClass cacontology-infrastructure:AccountFreezing .