https://cacontology.projectvic.org/temporal/shapes#PhasePerformanceMetricsShape
Validates phase performance metrics such as efficiency and completion rate.
Focus nodes of this shape (cac-core:Phase) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-temporal:phaseCompletionRate | Percentage of phase objectives completed within time period (0.0-1.0). sh:message phaseCompletionRate, when provided, must be an xsd:decimal between 0.0 and 1.0. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
1.0
|
| cacontology-temporal:phaseEfficiency | Efficiency ratio of phase (actual duration / typical duration). sh:message phaseEfficiency, when provided, must be a non-negative xsd:decimal value. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
|
@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-temporal: <https://cacontology.projectvic.org/temporal#> .
@prefix cacontology-temporal-shapes: <https://cacontology.projectvic.org/temporal/shapes#> .
@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-temporal-shapes:PhasePerformanceMetricsShape a sh:NodeShape ;
rdfs:label "Phase Performance Metrics Shape"@en ;
rdfs:comment "Validates phase performance metrics such as efficiency and completion rate."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:message "phaseEfficiency, when provided, must be a non-negative xsd:decimal value."@en ;
sh:minInclusive 0.0 ;
sh:path cacontology-temporal:phaseEfficiency ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "phaseCompletionRate, when provided, must be an xsd:decimal between 0.0 and 1.0."@en ;
sh:minInclusive 0.0 ;
sh:path cacontology-temporal:phaseCompletionRate ] ;
sh:targetClass cac-core:Phase .