Ontology Version: 3.1.0

hotline:HashFeedbackActionShape leaf node


URI

https://cacontology.projectvic.org/hotlines#HashFeedbackActionShape

Label

Hash Feedback Action Shape

Description

Enhanced SHACL shape for hash feedback actions with gUFO Event validation and collaboration requirements.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (hotline:HashFeedbackAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
hotline:feedbackType The type of feedback provided for a hash submission.
sh:message A hash feedback action must specify a valid feedback type
1 *
sh:in Removed, NoAction, Duplicate, FalsePositive
hotline:referencesHash Links a hash feedback action to the hash it references.
sh:message A hash feedback action must reference at least one hash
1 * uco-observable:Hash

Implementation

@prefix hotline: <https://cacontology.projectvic.org/hotlines#> .
@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-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
hotline:HashFeedbackActionShape a sh:NodeShape ;
    rdfs:label "Hash Feedback Action Shape"@en ;
    rdfs:comment "Enhanced SHACL shape for hash feedback actions with gUFO Event validation and collaboration requirements."@en ;
    sh:property [ sh:class uco-observable:Hash ;
            sh:message "A hash feedback action must reference at least one hash"@en ;
            sh:minCount 1 ;
            sh:path hotline:referencesHash ],
        [ sh:in ( "Removed" "NoAction" "Duplicate" "FalsePositive" ) ;
            sh:message "A hash feedback action must specify a valid feedback type"@en ;
            sh:minCount 1 ;
            sh:path hotline:feedbackType ] ;
    sh:targetClass hotline:HashFeedbackAction .