https://cacontology.projectvic.org/sentencing#ProfessionalLicenseSurrenderConditionShape
Validation shape for conditions requiring surrender of a professional license.
Instances of cacontology-sentencing:ProfessionalLicenseSurrenderCondition can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-sentencing:ProfessionalLicenseSurrenderCondition | ||||
| cacontology-sentencing:conditionAppliesToPerson | 1 |
uco-identity:Person
|
||
| cacontology-sentencing:requiresLicenseSurrender | 1 |
cacontology-registry:ProfessionalLicense
|
||
@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@prefix cacontology-sentencing: <https://cacontology.projectvic.org/sentencing#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-identity: <https://ontology.unifiedcyberontology.org/uco/identity/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-sentencing:ProfessionalLicenseSurrenderConditionShape a sh:NodeShape ;
rdfs:label "Professional License Surrender Condition Shape"@en ;
rdfs:comment "Validation shape for conditions requiring surrender of a professional license."@en ;
sh:property [ sh:class cacontology-registry:ProfessionalLicense ;
sh:message "License surrender condition must reference at least one ProfessionalLicense via requiresLicenseSurrender."@en ;
sh:minCount 1 ;
sh:path cacontology-sentencing:requiresLicenseSurrender ],
[ sh:class uco-identity:Person ;
sh:message "License surrender condition must specify the person it applies to via conditionAppliesToPerson."@en ;
sh:minCount 1 ;
sh:path cacontology-sentencing:conditionAppliesToPerson ] ;
sh:targetClass cacontology-sentencing:ProfessionalLicenseSurrenderCondition .