Ontology Version: 3.1.0

cacontology-forensics:ScalableHashAnalysisShape leaf node


URI

https://cacontology.projectvic.org/forensics#ScalableHashAnalysisShape

Label

Scalable Hash Analysis Shape

Description

Validation shape for scalable hash analysis instances.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-forensics:ScalableHashAnalysis) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-forensics:hashDatabaseSize Size of hash database used for comparison in millions of entries.
sh:message Hash database size must be between 0.001 and 10000 million entries.
1 1 xsd:decimal
sh:minInclusive 0.001
sh:maxInclusive 10000.0
cacontology-forensics:hashMatchesFound Number of hash matches found against known illegal content databases.
sh:message Hash matches found must be between 0 and 10 million.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 10000000

Implementation

@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@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-forensics:ScalableHashAnalysisShape a sh:NodeShape ;
    rdfs:label "Scalable Hash Analysis Shape"@en ;
    rdfs:comment "Validation shape for scalable hash analysis instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000.0 ;
            sh:message "Hash database size must be between 0.001 and 10000 million entries."@en ;
            sh:minCount 1 ;
            sh:minInclusive 0.001 ;
            sh:path cacontology-forensics:hashDatabaseSize ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000000 ;
            sh:message "Hash matches found must be between 0 and 10 million."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-forensics:hashMatchesFound ] ;
    sh:targetClass cacontology-forensics:ScalableHashAnalysis .