Ontology Version: 2.2.0

cacontology-legal-shapes:CSAMModelLawShape leaf node


URI

https://cacontology.projectvic.org/legal-harmonization/shapes#CSAMModelLawShape

Label

CSAM Model Law Shape

Description

Enhanced validation shape for CSAM model legislation with gUFO quality aspects. - Model law must have detailed description. - Legal system type for model law applicability. - Model law must have a descriptive name.

Target Classes (1)

Shape Properties

Instances of cacontology-legal:CSAMModelLaw can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:CSAMModelLaw
cacontology-legal:hasDataQuality 1 xsd:string
cacontology-legal:hasLegalEffectiveness 1 xsd:string
cacontology-legal:legalSystemType 1 xsd:string
1
1 xsd:string
1 1 xsd:string

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-legal-shapes:CSAMModelLawShape a sh:NodeShape ;
    rdfs:label "CSAM Model Law Shape"@en ;
    rdfs:comment "Enhanced validation shape for CSAM model legislation with gUFO quality aspects."@en ;
    sh:property [ sh:hasValue gufo:Kind ;
            sh:message "Must be classified as gUFO Kind"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:string ;
            sh:in ( "ineffective" "limited" "moderate" "effective" "highly_effective" ) ;
            sh:maxCount 1 ;
            sh:message "Legal effectiveness should be assessed"@en ;
            sh:path cacontology-legal:hasLegalEffectiveness ;
            sh:severity sh:Warning ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "validated" ) ;
            sh:maxCount 1 ;
            sh:message "Data quality should be assessed"@en ;
            sh:path cacontology-legal:hasDataQuality ;
            sh:severity sh:Info ],
        [ rdfs:comment "Model law must have a descriptive name."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ rdfs:comment "Model law must have detailed description."@en ;
            sh:datatype xsd:string ;
            sh:maxLength 2000 ;
            sh:minCount 1 ;
            sh:minLength 50 ;
            sh:path uco-core:description ],
        [ rdfs:comment "Legal system type for model law applicability."@en ;
            sh:datatype xsd:string ;
            sh:in ( "common_law" "civil_law" "religious_law" "mixed" "universal" ) ;
            sh:maxCount 1 ;
            sh:path cacontology-legal:legalSystemType ] ;
    sh:targetClass cacontology-legal:CSAMModelLaw .