Ontology Version: 3.1.0

cacontology-grooming:OnlineToOfflineProgressionShape leaf node


URI

https://cacontology.projectvic.org/grooming#OnlineToOfflineProgressionShape

Label

Online to Offline Progression Shape

Description

Validation shape for online to offline progression instances with gUFO integration.

Property Constraints (4)

Focus nodes of this shape (cacontology-grooming:OnlineToOfflineProgression) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-grooming:progressionDuration Duration in days from initial online contact to physical meeting arrangement.
sh:message Online to offline progression duration must be between 1 and 365 days.
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 365
cacontology-grooming:progressionStages
sh:message Progression stages must be between 2 and 10 when specified.
0 1 xsd:nonNegativeInteger
sh:minInclusive 2
sh:maxInclusive 10
cacontology-grooming:transitionLikelihood
sh:message Transition likelihood must be between 0.0 and 1.0 (gUFO quality aspect)
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
gufo:hasBeginPointInXSDDateTimeStamp
sh:message Online to offline progression must have begin timestamp (gUFO temporal)
1 1 xsd:dateTimeStamp

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-grooming:OnlineToOfflineProgressionShape a sh:NodeShape ;
    rdfs:label "Online to Offline Progression Shape"@en ;
    rdfs:comment "Validation shape for online to offline progression instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Online to offline progression must have begin timestamp (gUFO temporal)"@en ;
            sh:minCount 1 ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 365 ;
            sh:message "Online to offline progression duration must be between 1 and 365 days."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-grooming:progressionDuration ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Progression stages must be between 2 and 10 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 2 ;
            sh:path cacontology-grooming:progressionStages ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Transition likelihood must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:transitionLikelihood ] ;
    sh:targetClass cacontology-grooming:OnlineToOfflineProgression .