# SecretEventOntology: generated by generator/ttl_export.py from jupyter-naas/abi 56f86c1be218b046068d8abf683d1ea6cd66763e
# (zen-prod-2026-11-24-1). Do not edit by hand. Source files:
#   libs/naas-abi-core/naas_abi_core/services/secret/ontologies/modules/SecretEventOntology.ttl
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix dc1: <http://purl.org/dc/terms/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix secret: <http://ontology.naas.ai/abi/secret/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

secret:SecretEventOntology a owl:Ontology ;
    abi:ontologyResource "ontologies/modules/SecretEventOntology.ttl" ;
    abi:pythonPackage "naas_abi_core.services.secret" ;
    abi:pythonResource "ontologies/modules/SecretEventOntology.py" ;
    dc11:date "2026-05-27"^^xsd:date ;
    dc1:description "Events emitted by the SecretService when secrets are written, removed, or fail to mutate. Secret values are never included in events."@en ;
    dc1:license <https://creativecommons.org/licenses/by/4.0/> ;
    dc1:title "Secret Event Ontology"@en ;
    owl:imports abi:EventService .

secret:key a owl:DatatypeProperty ;
    rdfs:label "key"@en ;
    rdfs:domain secret:SecretError,
        secret:SecretRemoved,
        secret:SecretSet ;
    rdfs:range xsd:string ;
    skos:definition "Secret key the operation targeted."@en .

secret:message a owl:DatatypeProperty ;
    rdfs:label "message"@en ;
    rdfs:domain secret:SecretError ;
    rdfs:range xsd:string ;
    skos:definition "String representation of the exception raised by the adapter."@en .

secret:operation a owl:DatatypeProperty ;
    rdfs:label "operation"@en ;
    rdfs:domain secret:SecretError ;
    rdfs:range xsd:string ;
    skos:definition "Name of the secret operation that failed (e.g. 'set', 'remove')."@en .

secret:SecretRemoved a owl:Class ;
    rdfs:label "SecretRemoved"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a secret is successfully removed."@en .

secret:SecretSet a owl:Class ;
    rdfs:label "SecretSet"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a secret is successfully written. Never carries the secret value."@en .

secret:SecretError a owl:Class ;
    rdfs:label "SecretError"@en ;
    rdfs:subClassOf abi:LogProcess ;
    skos:definition "An event recorded when a secret mutation (set/remove) raises an exception."@en .

