Ontology Version: 3.1.0

cacontology-specialized:AffiliateResourceLibraryShape leaf node


URI

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

Label

Affiliate Resource Library Shape

Description

Validation shape for affiliate resource library instances.

Targets (1)

  • cacontology-specialized:AffiliateResourceLibrary sh:targetClass

Property Constraints (1)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-specialized:resourceLibrarySize
sh:message Resource library size must be between 0 and 100000.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 100000

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:AffiliateResourceLibraryShape a sh:NodeShape ;
    rdfs:label "Affiliate Resource Library Shape"@en ;
    rdfs:comment "Validation shape for affiliate resource library instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100000 ;
            sh:message "Resource library size must be between 0 and 100000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-specialized:resourceLibrarySize ] ;
    sh:targetClass cacontology-specialized:AffiliateResourceLibrary .