Ontology Version: 3.1.0

cacontology-enterprises:LorebookShape leaf node


URI

https://cacontology.projectvic.org/extremist-enterprises#LorebookShape

Label

LorebookShape

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-enterprises:Lorebook) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-enterprises:compilationComplexity Complexity level of content compilation and editing.
sh:message Compilation complexity must be valid level.
0 1 xsd:string
sh:in basic, moderate, advanced, professional
cacontology-enterprises:contentNotoriety Notoriety level of content within enterprise and broader network.
sh:message Content notoriety must be valid level.
0 1 xsd:string
sh:in low, moderate, high, notorious
cacontology-enterprises:contentVolumeItems Number of individual content items in compilation.
sh:message Lorebook must contain 1-10,000 items.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 10000

Implementation

@prefix cacontology-enterprises: <https://cacontology.projectvic.org/extremist-enterprises#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-enterprises:LorebookShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Lorebook must contain 1-10,000 items."@en ;
            sh:minInclusive 1 ;
            sh:path cacontology-enterprises:contentVolumeItems ],
        [ sh:datatype xsd:string ;
            sh:in ( "basic" "moderate" "advanced" "professional" ) ;
            sh:maxCount 1 ;
            sh:message "Compilation complexity must be valid level."@en ;
            sh:path cacontology-enterprises:compilationComplexity ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "notorious" ) ;
            sh:maxCount 1 ;
            sh:message "Content notoriety must be valid level."@en ;
            sh:path cacontology-enterprises:contentNotoriety ] ;
    sh:targetClass cacontology-enterprises:Lorebook .