https://cacontology.projectvic.org/physical/shapes#ConsentToSearchAuthorizationShape
Validation shape for consent-based search authorizations.
Instances of cacontology-physical:ConsentToSearchAuthorization can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-physical:ConsentToSearchAuthorization | ||||
| cacontology-physical:consentGiven | 0 | 1 |
xsd:boolean
|
|
| cacontology-physical:consentScope | 0 | 1 |
xsd:string
|
|
| cacontology-physical:consentType | 0 | 1 |
xsd:string
|
|
| 0 | 1 |
rdf:langString
|
||
@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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-physical-shapes:ConsentToSearchAuthorizationShape a sh:NodeShape ;
rdfs:label "Consent to Search Authorization Shape"@en ;
rdfs:comment "Validation shape for consent-based search authorizations."@en ;
sh:property [ sh:datatype rdf:langString ;
sh:maxCount 1 ;
sh:message "Consent authorization should have a label."@en ;
sh:minCount 0 ;
sh:path rdfs:label ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "May specify if consent was given."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:consentGiven ],
[ sh:datatype xsd:string ;
sh:in ( "verbal" "written" "implied" ) ;
sh:maxCount 1 ;
sh:message "Consent type must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:consentType ],
[ sh:datatype xsd:string ;
sh:in ( "vehicle_only" "device_only" "full_search" "limited" ) ;
sh:maxCount 1 ;
sh:message "Consent scope must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-physical:consentScope ] ;
sh:targetClass cacontology-physical:ConsentToSearchAuthorization .