Ontology Version: 3.1.0

cacontology-specialized:AffiliateEngagementMetricsShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#AffiliateEngagementMetricsShape

Label

Affiliate Engagement Metrics Shape

Description

Validation shape for affiliate engagement metrics instances.

Targets (1)

  • cacontology-specialized:AffiliateEngagementMetrics sh:targetClass

Property Constraints (1)

Focus nodes of this shape (cacontology-specialized:AffiliateEngagementMetrics) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-specialized:affiliateEngagementScore
sh:message Affiliate engagement score must be between 0.0 and 1.0.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0

Implementation

@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@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-specialized:AffiliateEngagementMetricsShape a sh:NodeShape ;
    rdfs:label "Affiliate Engagement Metrics Shape"@en ;
    rdfs:comment "Validation shape for affiliate engagement metrics instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Affiliate engagement score must be between 0.0 and 1.0."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-specialized:affiliateEngagementScore ] ;
    sh:targetClass cacontology-specialized:AffiliateEngagementMetrics .