rec:ExceptionEvent leaf node


URI

https://w3id.org/rec#ExceptionEvent

Label

Exception event

Superclasses (2)

Targets (1)

Property Constraints (2)

Focus nodes of this shape (rec:ExceptionEvent) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:sourcePoint source point
The brick:Point that emitted this exception.
1 1 brick:Point
sh:IRI
rec:value value
The message of this exception event.
1 1 xsd:string

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 ] .