Ontology Version: 2.2.0

hotline:HashFeedbackActionShape leaf node


URI

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

Label

Hash Feedback Action Shape

Description

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

Target Classes (1)

Shape Properties

Instances of hotline:HashFeedbackAction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

hotline:HashFeedbackAction
hotline:feedbackType 1
hotline:referencesHash 1 uco-observable:Hash

Implementation

@prefix hotline: <https://cacontology.projectvic.org/hotlines/core#> .
@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 .