https://cacontology.projectvic.org/abduction#AlertCriteriaShape
Validation shape for alert criteria instances.
Focus nodes of this shape (cacontology-stranger:AlertCriteria) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-stranger:criteriaMet |
sh:message Alert criteria must specify if criteria is met. |
1 | 1 | xsd:boolean | |
cacontology-stranger:criteriaType |
sh:message Alert criteria must specify criteria type from the allowed list. |
1 | 1 | xsd:string |
sh:in
age_criteria, abduction_confirmed, danger_criteria, description_available, time_criteria, jurisdiction_criteria
|
cacontology-stranger:verificationLevel |
sh:message Alert criteria must specify verification level from the allowed list. |
1 | 1 | xsd:string |
sh:in
confirmed, probable, possible, unverified, disputed
|
@prefix cacontology-stranger: <https://cacontology.projectvic.org/abduction#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-stranger:AlertCriteriaShape a sh:NodeShape ;
rdfs:label "Alert Criteria Shape"@en ;
rdfs:comment "Validation shape for alert criteria instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "age_criteria" "abduction_confirmed" "danger_criteria" "description_available" "time_criteria" "jurisdiction_criteria" ) ;
sh:maxCount 1 ;
sh:message "Alert criteria must specify criteria type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-stranger:criteriaType ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Alert criteria must specify if criteria is met."@en ;
sh:minCount 1 ;
sh:path cacontology-stranger:criteriaMet ],
[ sh:datatype xsd:string ;
sh:in ( "confirmed" "probable" "possible" "unverified" "disputed" ) ;
sh:maxCount 1 ;
sh:message "Alert criteria must specify verification level from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-stranger:verificationLevel ] ;
sh:targetClass cacontology-stranger:AlertCriteria .