Ontology Version: 2.2.0

cacontology-enterprises:LorebookShape leaf node


URI

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

Label

LorebookShape

Shape Properties

Instances of cacontology-enterprises:Lorebook can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-enterprises:Lorebook
cacontology-enterprises:compilationComplexity 1 xsd:string
cacontology-enterprises:containsVictimContent 1 uco-observable:ObservableObject
cacontology-enterprises:contentNotoriety 1 xsd:string
cacontology-enterprises:contentVolumeItems 1 xsd:nonNegativeInteger

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 .