Ontology Version: 2.2.0

cacontology-partnerships-shapes:PartnerRoleShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#PartnerRoleShape

Label

Partner Role Shape

Description

Enhanced validation shape for partner role instances with gUFO quality aspects.

Shape Properties

Instances of cacontology-partnerships:PartnerRole can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/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-partnerships-shapes:PartnerRoleShape a sh:NodeShape ;
    rdfs:label "Partner Role Shape"@en ;
    rdfs:comment "Enhanced validation shape for partner role instances with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Partner role label should be between 3 and 100 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 3 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Role effectiveness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasRoleEffectiveness ],
        [ sh:datatype xsd:string ;
            sh:in ( "limited" "basic" "standard" "advanced" "expert" ) ;
            sh:maxCount 1 ;
            sh:message "Capability level must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasCapabilityLevel ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Commitment level must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasCommitmentLevel ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Partner role label should be between 3 and 100 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 3 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Role effectiveness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasRoleEffectiveness ],
        [ sh:datatype xsd:string ;
            sh:in ( "limited" "basic" "standard" "advanced" "expert" ) ;
            sh:maxCount 1 ;
            sh:message "Capability level must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasCapabilityLevel ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Commitment level must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasCommitmentLevel ] ;
    sh:targetClass cacontology-partnerships:PartnerRole .