Ontology Version: 3.1.0

cacontology-infrastructure:SubscriptionManagementShape leaf node


URI

https://cacontology.projectvic.org/infrastructure#SubscriptionManagementShape

Label

Subscription Management Shape

Description

Validation shape for subscription management instances.

Property Constraints (1)

Focus nodes of this shape (cacontology-infrastructure:SubscriptionManagement) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-infrastructure:subscriptionTiers Number of subscription tiers or access levels offered.
sh:message Subscription tiers must be between 1 and 20.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 20

Implementation

@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@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-infrastructure:SubscriptionManagementShape a sh:NodeShape ;
    rdfs:label "Subscription Management Shape"@en ;
    rdfs:comment "Validation shape for subscription management instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 20 ;
            sh:message "Subscription tiers must be between 1 and 20."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-infrastructure:subscriptionTiers ] ;
    sh:targetClass cacontology-infrastructure:SubscriptionManagement .