rec:ExceptionEvent leaf node


URI

https://w3id.org/rec#ExceptionEvent

Label

Exception event

Superclasses (2)

Shapes (1)

Usage

Instances of rec:ExceptionEvent can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of rec:ExceptionEvent can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
rec:ExceptionEvent
rec:sourcePoint owl:ObjectProperty source point
The brick:Point that emitted this exception.
1 1 brick:Point
sh:IRI
--
rec:value owl:DatatypeProperty value
The message of this exception event.
1 1 xsd:string --
rec:Event
rec:end owl:DatatypeProperty end
Event ending timestamp.
0 1 xsd:dateTime --
rec:start owl:DatatypeProperty start
Event start timestamp.
0 1 xsd:dateTime --
rec:timestamp owl:DatatypeProperty timestamp
0 1 xsd:dateTime --

Implementation

@prefix brick: <https://brickschema.org/schema/Brick#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:ExceptionEvent a <dtmi:dtdl:class:Component>,
        rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Exception event"^^xsd:string ;
    rdfs:subClassOf rec:PointEvent ;
    sh:property [ a sh:PropertyShape ;
            sh:class brick:Point ;
            sh:description "The brick:Point that emitted this exception."^^xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "source point"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:sourcePoint ],
        [ a sh:PropertyShape ;
            sh:datatype xsd:string ;
            sh:description "The message of this exception event."^^xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "value"^^xsd:string ;
            sh:path rec:value ] .